* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #2D1B1B 0%, #4A2C2A 50%, #6B3E3E 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
    position: relative;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.login-container {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 10;
}

.login-card {
    background: rgba(45, 27, 27, 0.95);
    border: 2px solid #FFD700;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.1);
}

/* Header Section */
.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.logo-container i {
    font-size: 2.5rem;
    color: #2D1B1B;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.login-subtitle {
    color: rgba(255, 215, 0, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 165, 0, 0.2);
    border: 1px solid #FFD700;
    border-radius: 25px;
    padding: 8px 16px;
    margin-top: 15px;
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge i {
    margin-right: 8px;
    font-size: 0.8rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    color: #FFD700;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: #F5F5DC;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    color: #F5F5DC;
}

.form-control::placeholder {
    color: rgba(245, 245, 220, 0.5);
}

/* Button Styles */
.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 12px;
    color: #2D1B1B;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

/* Alert Styles */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
    border: 1px solid;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #FFB3BA;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #B3FFB3;
}

/* Credentials Info */
.credentials-info {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.credentials-info h6 {
    color: #FFD700;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.credential-item {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
    color: rgba(245, 245, 220, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Back Link */
.back-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.back-link a {
    color: rgba(255, 215, 0, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link a:hover {
    color: #FFD700;
}

/* Input Icons */
.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 215, 0, 0.6);
    font-size: 1rem;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        padding: 30px 25px;
        margin: 10px;
    }
    
    .login-title {
        font-size: 1.8rem;
    }
    
    .btn-login {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn-login {
    background: rgba(255, 215, 0, 0.5);
}