/* Login — Mobile First */
.login-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #101E30 0%, #1a2744 100%);
    padding: 20px;
    gap: 32px;
}

.login-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #101E30;
    margin-bottom: 4px;
}

.login-header p {
    color: #666;
    font-size: 13px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
    -webkit-appearance: none;
}

.form-group input:focus {
    border-color: #F8AB16;
}

.password-wrapper {
    position: relative;
}

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

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 6px 8px;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.password-toggle:hover {
    opacity: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    width: 100%;
    background: #F8AB16;
    color: #101E30;
}

.btn-primary:hover {
    background: #e89a0c;
}

.login-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    letter-spacing: 1px;
}

.login-footer img {
    max-width: 120px;
    height: auto;
}

/* Flash Messages */
.flash-messages { margin-bottom: 16px; }
.flash { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 8px; }
.flash-error { background: #fee; color: #c33; border: 1px solid #fcc; }
.flash-success { background: #efe; color: #363; border: 1px solid #cfc; }

/* Desktop */
@media (min-width: 480px) {
    .login-card {
        padding: 44px 36px;
        border-radius: 16px;
    }

    .login-header h1 {
        font-size: 28px;
    }

    .login-footer img {
        max-width: 140px;
    }
}
