/* ============================================
   AUTH PAGES - MODERN CLEAN DESIGN
   Used by: login.html, register.html
   Minimalist, friendly, spacious layout
   ============================================ */

/* Import Montserrat if not already loaded */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* === BASE LAYOUT === */
.auth-wrapper {
    min-height: 100vh;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 420px;
    padding: 3rem 2rem;
}

/* === LOGO & HEADER === */
.auth-logo {
    max-width: 180px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}

.auth-site-name {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin: 0 0 2rem 0;
    letter-spacing: 0.5px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h1 {
    font-size: 1.625rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.auth-header p {
    color: #6b7280;
    font-size: 0.9375rem;
    font-weight: 400;
}

/* === FORM STYLES === */
.auth-form .form-label {
    display: none;
}

.auth-form .form-control {
    padding: 1.125rem 1.25rem;
    font-size: 1.0625rem;
    border-radius: 12px;
    border: none;
    background: #F5F5F5;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.auth-form .form-control::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.auth-form .form-control:focus {
    background: #F0F0F0;
    box-shadow: 0 0 0 3px rgba(11, 156, 172, 0.1);
    outline: none;
}

.auth-form .mb-3 {
    margin-bottom: 1rem !important;
}

.auth-form .input-group {
    position: relative;
}

.auth-form .input-group-text {
    display: none;
}

.auth-form .btn-primary {
    padding: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: #1F4866;
    border: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.auth-form .btn-primary:hover {
    background: #153A57;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 72, 102, 0.2);
}

.auth-form .btn-outline-secondary {
    display: none;
}

/* === PASSWORD FIELD === */

.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #1a1a1a;
}

/* === FOOTER === */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
}

.auth-footer p {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 400;
}

.auth-footer a {
    color: #0b9cac;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: #097885;
}

/* === BACK LINK === */
.auth-back-link {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: color 0.2s ease;
}

.auth-back-link:hover {
    color: #0b9cac;
}

/* === RESPONSIVE === */
@media (max-width: 576px) {
    .auth-card {
        padding: 2.5rem 1.5rem;
        max-width: 100%;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .auth-logo {
        max-width: 150px;
    }
}

