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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #e8edf5 0%, #d5dce6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ============================================
   LOGIN CONTAINER
   ============================================ */
.login-container {
    width: 100%;
    max-width: 440px;
}

.login-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    transition: transform 0.2s;
}

.login-card:hover {
    transform: translateY(-4px);
}

/* ============================================
   BRAND
   ============================================ */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2332;
    letter-spacing: -0.5px;
}

.brand h1 span {
    color: #1a73e8;
}

.login-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 4px;
}

.subtitle {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 28px;
}

/* ============================================
   FORM
   ============================================ */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #2d3748;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: #fafbfc;
    color: #1a2332;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a73e8;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.10);
}

.form-group input::placeholder {
    color: #a0aec0;
}

/* Password toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.1rem;
    color: #a0aec0;
    transition: color 0.2s;
    user-select: none;
}

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

/* ============================================
   SUBMIT BUTTON
   ============================================ */
.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.25);
    margin-top: 8px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 115, 232, 0.35);
}

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

.btn-icon {
    transition: transform 0.3s;
}

.login-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ============================================
   FOOTER LINKS
   ============================================ */
.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

.form-footer a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

.form-footer span {
    color: #a0aec0;
    margin: 0 8px;
}

/* ============================================
   SECURITY BADGE
   ============================================ */
.security-badge {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
    text-align: center;
    font-size: 0.8rem;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.security-badge span {
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
    .login-card {
        padding: 28px 20px;
    }
    .brand h1 {
        font-size: 1.5rem;
    }
}
