  body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    font-family: "New Black", sans-serif;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-card {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 1px solid #2b2b2b;
}

.login-header {
    background: #242526;
    padding: 40px 30px;
    text-align: center;
    color: #f2f2f2;
    border-bottom: 1px solid #2b2b2b;
}

.login-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #4da3ff;
}

.login-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #f2f2f2;
}

.login-header p {
    margin: 10px 0 0 0;
    opacity: 0.8;
    font-size: 0.95rem;
    color: #c6c8ca;
}

.login-body {
    padding: 40px 30px;
    background: #1e1e1e;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating > .form-control {
    background-color: #1c1c1c;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 1rem 0.75rem;
    height: calc(3.5rem + 2px);
    color: #f1f1f1;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    background-color: #262626;
    border-color: #4da3ff;
    box-shadow: 0 0 0 0.2rem rgba(77, 163, 255, 0.25);
    color: #f1f1f1;
}

.form-floating > label {
    padding: 1rem 0.75rem;
    color: #c6c8ca;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #4da3ff;
}

.btn-login {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #4099ff, #73b4ff);
    color: white;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 153, 255, 0.4);
}

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

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.alert {
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.alert-error {
    background-color: #3d1f1f;
    color: #ff6b6b;
    border: 1px solid #5a2828;
}

.alert-success {
    background-color: #1f3d1f;
    color: #6bff6b;
    border: 1px solid #285a28;
}

.alert-warning {
    background-color: #3d3d1f;
    color: #ffff6b;
    border: 1px solid #5a5a28;
}

.alert-info {
    background-color: #1f2d3d;
    color: #6bb6ff;
    border: 1px solid #28425a;
}

.form-check {
    margin-bottom: 20px;
}

.form-check-input {
    background-color: #1c1c1c;
    border: 1px solid #444;
}

.form-check-input:checked {
    background-color: #4da3ff;
    border-color: #4da3ff;
}

.form-check-label {
    color: #c6c8ca;
    font-size: 0.9rem;
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #4da3ff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #73b4ff;
    text-decoration: underline;
}

.password-toggle {
    cursor: pointer;
    color: #c6c8ca;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #4da3ff;
}

.position-relative {
    position: relative;
}
.mfa-qr-code{
    max-width: 300px;
    margin: auto;
    display: block;
}