.authPage {
    min-height: calc(100vh - 90px);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.authContainer {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #eaeaea;
}

.authTabs {
    display: flex;
    margin-bottom: 28px;
    border-bottom: 1px solid #eaeaea;
}

.tab {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.tab.active {
    color: #5d5fef;
    border-bottom-color: #5d5fef;
}

.tab:hover:not(.active) {
    color: #1a1a1a;
}

.formGroup {
    margin-bottom: 20px;
}

.formLabel {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}


.btnSubmit {
    width: 100%;
    padding: 14px;
    background: #5d5fef;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btnSubmit:hover {
    background: #4c4ed6;
    transform: translateY(-1px);
}

.authFooter {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #666;
}

.authFooter a {
    color: #5d5fef;
    text-decoration: none;
    font-weight: 500;
}

.authFooter a:hover {
    color: #4c4ed6;
}

.message {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.message.error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.formWrapper {
    display: none;
}

.formWrapper.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .authContainer {
        padding: 24px;
        border-radius: 16px;
    }
    .tab {
        font-size: 15px;
        padding: 10px 12px;
    }
}