﻿/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

/* ===== CONTAINER ===== */
.auth-container {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f4c3a 0%, #1B4332 50%, #16a34a 100%);
}

/* ===== CARD ===== */
.auth-card {
    width: 440px;
    background: white;
    padding: 44px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ===== TITLE ===== */
.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #1B4332;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 28px;
}

/* ===== INPUT GROUP ===== */
.input-group {
    margin-bottom: 18px;
}

    .input-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 6px;
    }

    .input-group input {
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
        font-size: 14px;
        outline: none;
        transition: all 0.2s ease;
        background: #fafafa;
        box-sizing: border-box;
    }

        .input-group input:focus {
            border-color: #1B4332;
            background: white;
            box-shadow: 0 0 0 3px rgba(27,67,50,0.08);
        }

/* ===== BUTTON ===== */
.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #1B4332 0%, #15803d 100%);
    color: white;
    padding: 13px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

    .auth-btn:hover {
        background: #0f4c3a;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(27,67,50,0.3);
    }

    .auth-btn:active {
        transform: translateY(0);
    }

    .auth-btn:disabled {
        background: #9ca3af;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* ===== LINKS ===== */
.auth-card p {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.auth-card a {
    color: #1B4332;
    font-weight: 600;
    text-decoration: none;
}

    .auth-card a:hover {
        text-decoration: underline;
    }

/* ===== PASSWORD FIELDS ANIMATION ===== */
#passwordFields {
    animation: fadeIn 0.4s ease;
}

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

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