:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --primary-color: #00ff88;
    --secondary-color: #ffd700;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --mega-color: #209869;
    --quina-color: #260085;
    --loto-color: #930089;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Background Effects */
.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -50px;
    left: -50px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Loader Container */
.loader-container {
    text-align: center;
    z-index: 10;
    transition: opacity 0.8s ease-out;
}

.logo-wrapper {
    margin-bottom: 40px;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* Loading Bar */
.loading-bar-container {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--primary-color);
}

.status-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    min-height: 1.2em;
}

/* Main Content (Hidden initially) */
.content-hidden {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    animation: slideUp 0.8s forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.glass-card h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.subtitle {
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 2.5rem;
    text-align: left;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, background 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.feature-item .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cta-button {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    font-family: var(--font-main);
    flex: 1;
}

.cta-button.primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #000;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.cta-button:hover {
    transform: scale(1.05);
}

.cta-button.primary:hover {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.cta-button.secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Results Dashboard */
.dashboard-hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in;
    width: 100%;
    max-height: 100vh;
    flex-direction: column;
    padding: 2rem;
    max-width: 1200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
}

.back-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    cursor: pointer;
    margin-right: 20px;
    transition: color 0.2s;
    font-family: var(--font-main);
}

.back-btn:hover {
    color: var(--primary-color);
}

/* Search Contest */
.search-contest {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-contest select,
.search-contest input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

.search-contest select {
    min-width: 150px;
}

/* Estilos para as opções do select - CORRIGIDO */
.search-contest select option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px;
}

.search-contest input {
    width: 120px;
}

.search-contest button {
    background: var(--primary-color);
    border: none;
    color: #000;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-contest button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.search-contest button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    padding-bottom: 2rem;
}

.lottery-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    transition: transform 0.3s;
}

.lottery-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lottery-name {
    font-size: 1.4rem;
    font-weight: 700;
}

.contest-info {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

.numbers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Next Contest Info */
.next-contest {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.next-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.next-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.prize-estimate {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    padding: 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
}

.prize-estimate.accumulated {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 100, 0, 0.2));
    color: #ffd700;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
}

/* Error Card */
.error-card {
    opacity: 0.6;
}

/* Lottery Specific Colors */
.mega-sena .lottery-name {
    color: var(--mega-color);
}

.mega-sena .ball {
    background: var(--mega-color);
    color: #fff;
}

.quina .lottery-name {
    color: var(--quina-color);
}

.quina .ball {
    background: var(--quina-color);
    color: #fff;
}

.lotofacil .lottery-name {
    color: var(--loto-color);
}

.lotofacil .ball {
    background: var(--loto-color);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    .dashboard-hidden {
        padding: 1rem;
        max-height: none;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-contest {
        width: 100%;
        flex-direction: column;
    }

    .search-contest select,
    .search-contest input,
    .search-contest button {
        width: 100%;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .brand-name {
        font-size: 2.5rem;
    }

    .glass-card {
        padding: 2rem;
    }

    .ball {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
    }

    .lottery-name {
        font-size: 1.2rem;
    }

    .ball {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #fff;
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#modalContest {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.modal-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-section h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: left;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.info-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

.highlight-box {
    background: rgba(0, 255, 136, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.prize-value {
    color: var(--secondary-color);
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

/* Show All Button */
.show-all-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.show-all-btn:hover {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #fff;
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#modalContest {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.modal-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-section h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: left;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.info-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

.highlight-box {
    background: rgba(0, 255, 136, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.prize-value {
    color: var(--secondary-color);
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

/* Show All Button */
.show-all-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.show-all-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}


/* Modal Navigation */
.modal-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
    transform: none;
}

/* Upload Area Styles */
.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.05);
}

.image-preview-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#imagePreview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.remove-image {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.remove-image:hover {
    transform: scale(1.1);
    background: #cc0000;
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-color);
    opacity: 1;
}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #fff;
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#modalContest {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.modal-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-section h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: left;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.info-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

.highlight-box {
    background: rgba(0, 255, 136, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.prize-value {
    color: var(--secondary-color);
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

/* Show All Button */
.show-all-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.show-all-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}


/* Modal Navigation */
.modal-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
    transform: none;
}

/* Upload Area Styles */
.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.05);
}

.image-preview-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#imagePreview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.remove-image {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.remove-image:hover {
    transform: scale(1.1);
    background: #cc0000;
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* User Controls */
.user-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.login-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-name {
    color: var(--primary-color);
    font-weight: 500;
}

.logout-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px;
}

.logout-btn:hover {
    color: #ff4444;
}

/* Auth Modal Styles */
.auth-card {
    max-width: 400px;
    padding: 2rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
}

.auth-tab.active {
    color: #fff;
    font-weight: 600;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.auth-form {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.full-width {
    width: 100%;
    margin-top: 1rem;
}

.text-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin: 1rem auto 0;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

.text-link:hover {
    color: #fff;
    text-decoration: underline;
}

.auth-status {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.auth-status.success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.auth-status.error {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .user-controls {
        top: 10px;
        right: 10px;
    }

    .login-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}