/* login.min.css | Rev.01.0 | 2026-01-05 */
/* Theme CLM: #0D3B66 (dark blue) + #F4D35E (gold) + #8A9A5B (sage green) */

body {
    background: linear-gradient(135deg, #0D3B66 0%, #1A5F7A 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    max-width: 450px;
    width: 100%;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(13, 59, 102, 0.2);
    overflow: hidden;
}

.login-header {
    background: white;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.logo-badge {
    width: 80px;
    height: 80px;
    background: #F4D35E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.login-header h1 {
    color: #0D3B66;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
}

.login-header p {
    color: #555;
    font-size: 15px;
    margin: 0;
    opacity: 0.8;
}

.login-content {
    padding: 40px 30px;
}

.form-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #0D3B66;
    box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
    outline: none;
}

.input-group {
    display: flex;
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-right: none;
    padding: 0 15px;
    color: #666;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.form-control {
    border-radius: 0 10px 10px 0 !important;
    border-left: none !important;
}

.btn-login {
    background: linear-gradient(135deg, #0D3B66, #1A5F7A);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 59, 102, 0.2);
}

.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 15px;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.login-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.login-footer a {
    color: #0D3B66;
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Responsif */
@media (max-width: 576px) {
    .login-card {
        border-radius: 15px;
    }
    .login-header {
        padding: 25px 20px;
    }
    .login-content {
        padding: 30px 20px;
    }
    .logo-badge {
        width: 70px;
        height: 70px;
    }
}