/**
 * Sistem Pendataan Pemuda Kabupaten Sragen
 * Authentication & Login Stylesheet
 */

body.auth-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
}

.login-card {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    background: #ffffff;
}

.login-header {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    padding: 2.5rem 2rem 2rem;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.brand-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.auth-form-control {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.auth-form-control:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.auth-input-group-text {
    border-radius: 0.75rem;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    color: #64748b;
}

.auth-btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: none;
    border-radius: 0.75rem;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.2s ease;
}

.auth-btn-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.3);
    color: #ffffff;
}

.auth-toggle-password {
    border: 1.5px solid #e2e8f0;
    border-left: none;
    border-radius: 0 0.75rem 0.75rem 0;
}

.demo-credentials {
    background-color: #f8fafc;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px dashed #cbd5e1;
    font-size: 0.85rem;
}

@media (max-width: 575.98px) {
    .login-header {
        padding: 2rem 1.25rem 1.5rem;
    }

    .brand-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }

    .auth-form-control,
    .auth-input-group-text,
    .auth-toggle-password {
        font-size: 16px !important;
        min-height: 48px;
    }

    .auth-btn-primary {
        min-height: 48px;
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }
}
