/* General Reset */
body, h1, p, a {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; /* Playful and readable font */
    color: #333; /* Neutral text color */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    background-color: #f9fbfd; /* Light pastel background */
    padding: 20px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow */
    border-bottom: 2px solid #e0e7ff; /* Soft border accent */
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Ensure responsive design */
}

/* Logo Column */
.logo-col img {
    max-width: 120px;
    height: auto;
    border-radius: 5px; /* Slight rounding for a friendly look */
}

/* Title Column */
.title-col {
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.header-title h1 {
    font-size: 1.8em;
    font-weight: bold;
    color: #0056b3; /* Friendly blue */
}

.subtitle {
    font-size: 1em;
    color: #6c757d; /* Subtle text color */
    font-style: italic;
    margin-top: 5px;
}

/* Authentication Column */
.auth-col {
    text-align: right;
}

.auth-message p {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 5px;
}

.auth-controls a {
    font-size: 0.9em;
    color: #0056b3;
    margin-right: 10px;
}

/* Common Styles for Auth Links */
.auth-link {
    display: inline-block;
    padding: 10px 25px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none; /* Remove underline */
    border-radius: 30px; /* Fully rounded button */
    text-align: center;
    transition: all 0.3s ease-in-out; /* Smooth hover and focus effects */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    margin: 5px; /* Add space between links if needed */
}

/* Login Button */
.auth-link.login {
    color: #fff;
    background-color: #007bff; /* Primary blue for Login */
}

.auth-link.login:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-3px); /* Subtle lift effect */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* More shadow on hover */
}

.auth-link.login:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.4); /* Blue focus ring */
}

.auth-link.login:active {
    background-color: #004085; /* Even darker blue for active state */
    transform: translateY(1px); /* Slight press effect */
}

/* Logout Button */
.auth-link.logout {
    color: #fff;
    background-color: #dc3545; /* Red for Logout */
}

.auth-link.logout:hover {
    background-color: #b02a37; /* Darker red on hover */
    transform: translateY(-3px); /* Subtle lift effect */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* More shadow on hover */
}

.auth-link.logout:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.4); /* Red focus ring */
}

.auth-link.logout:active {
    background-color: #841f29; /* Even darker red for active state */
    transform: translateY(1px); /* Slight press effect */
}


.btn-modern {
    display: inline-block;
    padding: 8px 15px;
    font-size: 0.9em;
    color: #fff;
    background-color: #007bff; /* Light blue button */
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-modern:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.btn-premium {
    background-color: #28a745; /* Green for premium users */
}

.btn-guest {
    background-color: #ffc107; /* Yellow for guest users */
}

/* Navigation Links */
.nav-links {
    margin-top: 15px;
    background-color: #e0e7ff; /* Light accent background */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.nav-links a {
    font-size: 0.9em;
    color: #0056b3;
    margin: 0 10px;
}

.nav-links a:hover {
    color: #007bff;
}

/* Add styles for the dropdown menu */
.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    min-width: 160px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    color: #333;
}

.dropdown-item:hover {
    background-color: #ddd;
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-row {
        flex-direction: column;
    }

    .auth-col {
        text-align: center;
        margin-top: 10px;
    }

    .nav-links {
        text-align: center;
    }
}
