:root {
    /* Modern Color Palette */
    --primary-color: #035b9d;
    /* Blue #035b9d */
    --primary-light: #047acc;
    --primary-dark: #024272;

    --secondary-color: #00bfa5;
    /* Teal Accent */

    --background-color: #f8f9fa;
    /* Light Gray Background */
    --surface-color: #ffffff;

    --text-primary: #1a1a1a;
    --text-secondary: #5f6368;

    --error-color: #d32f2f;
    --success-color: #388e3c;
    --info-color: #1976d2;
    --warning-color: #f57c00;
    --vip-color: #FFD700;

    --error-bg: #ffebee;
    --success-bg: #e8f5e9;
    --info-bg: #e3f2fd;
    --warning-bg: #fff3cd;
    --vip-bg: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);

    --error-border: #ef9a9a;
    --success-border: #c8e6c9;
    --info-border: #90caf9;
    --warning-border: #ffeeba;
    --vip-border: #FFD700;

    /* Spacing & Layout */
    --border-radius: 16px;
    /* Dofter corners */
    --spacing-unit: 8px;

    /* Shadows (Soft & Diffused) */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 0.95rem;
    /* Slightly larger for readability */
    -webkit-font-smoothing: antialiased;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-unit);
    font-weight: 700;
    letter-spacing: -0.02em;
    /* Tighten headings */
}

h1 {
    font-size: 1.75rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 800;
}

h4 {
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.main-content {
    flex: 1;
    padding-top: 1rem;
}

/* Navigation - Glassmorphism */
nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 3px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Reduced gap for single line */
}

.auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--primary-color);
}

.active-link {
    background: rgba(3, 91, 157, 0.08);
    /* Light blue bg */
    padding: 6px 16px;
    border-radius: 50px;
}

/* Navigation Styles - Removed conflicting mobile column layout */
.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Modern Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid transparent;
    background: #f0f2f5;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(98, 0, 234, 0.1);
}

/* Force all text inputs and textareas to display in uppercase */
input[type="text"],
input[type="search"],
input[type="tel"],
input:not([type]),
textarea {
    text-transform: uppercase;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    /* Pill shape */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    line-height: 1;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(3, 91, 157, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(3, 91, 157, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: var(--success-bg);
    color: var(--success-color);
    border: 1px solid var(--success-border);
}

.alert-info {
    background-color: var(--info-bg);
    color: var(--info-color);
    border: 1px solid var(--info-border);
}

.alert-warning {
    background-color: var(--warning-bg);
    color: #856404;
    border: 1px solid var(--warning-border);
}

.alert-danger {
    background-color: var(--error-bg);
    color: var(--error-color);
    border: 1px solid var(--error-border);
}

.alert-vip {
    background: var(--vip-bg);
    color: #000;
    border: 2px solid var(--vip-border);
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

/* Card Styles */
.card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
    padding-bottom: 9px;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, #888888, #e0e0e0) 1;
    transition: transform var(--transition-normal);
}

.card:hover .card-image {
    transform: scale(1.05);
}

/* Hero Section (Polished) */
/* Hero Section (Premium Glassmorphism) */
.hero-section {
    position: relative;
    padding: 20px 20px 60px 20px;
    /* Increased bottom padding for more space below box */
    background-color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    /* Reduced from 380px */
    text-align: center;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url('../uploads/Capa.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(15px);
    opacity: 0.7;
    z-index: -1;
}

.hero-container-wide {
    max-width: 1560px !important;
    /* 130% of 1200px */
    width: 98% !important;
    margin: 0 auto;
    padding: 0 !important;
}

/* Removed blue overlay to show background image clearly */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero-content-box {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.02);
    /* Multi-transparent tint */
    backdrop-filter: blur(2px);
    /* Reduced blur for better visibility of background */
    -webkit-backdrop-filter: blur(2px);
    padding: 15px 30px;
    /* Reduced vertical from 20px */
    border-radius: 32px;
    /* Slightly softer corners */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Stronger glass edge */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    /* Refined glass shadow */
    max-width: 1560px !important;
    width: 100% !important;
    margin: 0 auto !important;
    /* Force center */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center children horizontally */
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Optional Pattern Overlay */
/* Title and Subtitle inside Hero Box */
.hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-title-inner {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
    /* Slightly smaller clamp min */
    font-weight: 900;
    margin: 10px 0 !important;
    /* Consistent margin */
    letter-spacing: -0.05em;
    color: white;
    text-transform: none;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    text-align: center !important;
    width: 100%;
    display: block;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    color: white;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 20px 15px 30px 15px;
        /* Reduced mobile padding */
        min-height: 160px;
        /* Very compact mobile hero */
    }

    .hero-section::before {
        filter: none;
        opacity: 1;
    }

    .hero-content-box {
        padding: 15px 15px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* Hero Steps (1-2-3) */
.hero-steps {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.step-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.step-item:nth-child(2) {
    background: rgba(255, 255, 255, 0.25);
    /* Lighter center step like the image */
}

@media (max-width: 768px) {
    .step-item {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* Details Page */
.details-grid {
    display: block;
    /* Stacked by default */
}

/* Sponsor Sidebar */
.sponsors-bar {
    width: 100%;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.sponsor-list {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.sponsor-box {
    width: 100px;
    /* Slightly smaller for better fit */
    height: 100px;
    background: white;
    border-radius: 50%;
    /* Circle sponsors looks modern */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid white;
    transition: var(--transition-normal);
}

.sponsor-box:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.sponsor-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: white;
}

@media (min-width: 768px) {
    .details-grid {
        gap: 30px;
    }
}

/* Posts Grid - Responsive Auto-Fill */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 1rem;
}

/* Mobile Override - Force 2 Columns (Better Legibility) */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .posts-grid .card h3 {
        font-size: 0.85rem !important;
        margin: 6px 0 !important;
    }
}

.posts-grid .card {
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    /* Remove fixed height */
}

/* Card Title - Allow up to 3 lines now that description is gone */
.posts-grid .card h3 {
    font-size: 0.75rem !important;
    margin: 8px 0 !important;
    line-height: 1.4 !important;
    font-weight: 700;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    padding: 0;
    text-align: center;
}

/* Hide description - ONLY TITLES */
.posts-grid .card p,
.posts-grid .card>div:last-child>div:last-child {
    display: none !important;
}

.posts-grid .card>div:last-child {
    padding: 0 0 8px 0 !important;
    text-align: center;
    width: 100%;
}

/* Mostrar proporção original da imagem */
.posts-grid .card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transition: transform var(--transition-normal);
}

/* Featured Stylings */
.card.featured {
    border: 2px solid #FFD700;
}

.posts-grid .featured-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #000;
    color: #FFD700;
    font-size: 0.7rem;
    font-weight: 800;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 0;
    border: 1px solid #FFD700;
}

/* Lightbox Modal */
/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

/* Search Bar Polish */
.search-container {
    background: white !important;
    padding: 16px !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    margin-top: -1rem !important;
    margin-bottom: 2rem !important;
    display: flex;
    align-items: center;
}



.search-container input {
    border-radius: 50px !important;
    padding-left: 20px !important;
    border: 1px solid #eee !important;
    background: #f9f9f9 !important;
    transition: all 0.3s ease;
}

.search-container input:focus {
    background: white !important;
    box-shadow: 0 4px 12px rgba(98, 0, 234, 0.1) !important;
    border-color: var(--primary-color) !important;
}

.search-container button {
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(98, 0, 234, 0.3) !important;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

/* Category Filters */
.filters-wrapper {
    position: relative;
    max-width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.category-filters {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
    /* Left align on mobile */
}

.category-filters::-webkit-scrollbar {
    display: none;
}

/* Reformatted Filter Pills */
.filter-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background-color: white;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(98, 0, 234, 0.25);
    border-color: transparent;
}

@media (min-width: 768px) {
    .category-filters {
        justify-content: center;
    }
}

/* Featured Sponsor Large */
.featured-sponsor {
    width: 100% !important;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    margin: 0 auto !important;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* Pagination */
.pagination-container {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    background: white;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.pagination {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    background-color: white;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.pagination-btn:hover:not(.pagination-disabled):not(.pagination-active) {
    background-color: #f0f0f0;
    color: var(--primary-color);
    transform: translateY(-2px);
    border-color: rgba(98, 0, 234, 0.2);
}

.pagination-active {
    background-color: var(--primary-color);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(98, 0, 234, 0.3);
    pointer-events: none;
}

.pagination-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

/* Admin Layout */
.admin-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

.admin-sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-content {
    flex: 1;
    padding: 2rem;
    background: #f8f9fa;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-secondary);
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s;
    border-left: none;
    /* Removed border */
}

.admin-nav-item:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--primary-color);
    transform: translateX(4px);
}

.admin-nav-item.active {
    background: rgba(98, 0, 234, 0.08);
    /* Light Purple */
    color: var(--primary-color);
}

.admin-nav-item .icon {
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Admin Mobile */
@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .admin-nav-item {
        white-space: nowrap;
        padding: 10px 16px;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .admin-nav-item.active {
        background: var(--primary-color);
        color: white;
    }

    .admin-content {
        padding: 1rem;
    }
}

/* Mobile Scroll Hint - Animated */
.mobile-scroll-hint {
    display: none;
}

/* Forced Override for Featured Sponsor Width */
.featured-sponsor {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 200px;
    background: white;
}

.featured-sponsor img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
}

/* Floating Action Button (FAB) */
.fab-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    border: 2px solid white;
}

.fab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    background-color: #00897b;
    /* Darker teal */
    color: white;
}

/* Hide FAB on Desktop if Header Link is present */
@media (min-width: 769px) {
    .fab-btn {
        display: none;
    }

}

/* Authentication Pages Styles (Login, Register, Verify) */
.auth-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    color: white;
    position: relative;
    animation: fadeInScale 0.6s ease-out;
}

.auth-card h2 {
    color: white !important;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.auth-card .form-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.auth-card .form-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.auth-card .form-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.auth-card .form-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1) !important;
}

.auth-card .alert {
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.auth-card .alert-info {
    background: rgba(3, 91, 157, 0.2);
    border: 1px solid rgba(3, 91, 157, 0.3);
    color: #e3f2fd;
}

.auth-card a {
    color: white;
    text-decoration: underline;
    opacity: 0.8;
}

.auth-card a:hover {
    opacity: 1;
}

.close-auth {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none !important;
}

.close-auth:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}