body {
    background: linear-gradient(135deg, #644222 0%, #8b5e34 50%, #3e2a15 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header {
    background: linear-gradient(135deg, #644222 0%, #8b5e34 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-bottom: none;
}

.card-header h3 {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 24px;
}

.card-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.card-body {
    padding: 30px;
}

.form-label {
    font-weight: 500;
    color: #644222;
    margin-bottom: 8px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group-text {
    background-color: #f8f4e8;
    border: 1px solid #e0d5c1;
    color: #644222;
    border-right: none;
}

.form-control {
    border-left: none;
    border: 1px solid #e0d5c1;
    padding: 12px 15px;
}

.form-control:focus {
    border-color: #644222;
    box-shadow: 0 0 0 0.25rem rgba(100, 66, 34, 0.25);
}

.password-toggle {
    cursor: pointer;
    background-color: #f8f4e8;
    border-left: none;
}

.btn-login {
    background: linear-gradient(135deg, #644222 0%, #8b5e34 100%);
    border: none;
    color: white;
    padding: 12px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: linear-gradient(135deg, #523a1c 0%, #7a4f2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 66, 34, 0.4);
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #8b5e34;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0d5c1;
}

.divider span {
    padding: 0 10px;
    font-size: 14px;
}

.footer {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .login-card {
        border-radius: 10px;
    }
    
    .card-header {
        padding: 20px 15px;
    }
    
    .card-body {
        padding: 20px;
    }
}



/* Alert Styles */
.alert {
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-dismissible .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.alert-dismissible .btn-close:hover {
    opacity: 1;
}

/* Alert Icons */
.alert i {
    font-size: 16px;
    vertical-align: middle;
}