:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --light-bg: #ecf0f1;
    --principal1: #667eea;
    --principal2: #764ba2;
}

body {
    background: linear-gradient(135deg, var(--principal1) 0%, var(--principal2) 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    min-height: 500px;
}

.modal-bg-img {
    background: linear-gradient(135deg, var(--principal1), var(--principal2));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
}

.modal-bg-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../assets/images/img1.jpg') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.modal-bg-img .content {
    position: relative;
    z-index: 1;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color1);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.btn-login {
    background: linear-gradient(135deg, var(--principal1), var(--principal2));
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.input-group-text {
    background: var(--light-bg);
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 10px 0 0 10px;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.alert-custom {
    border-radius: 10px;
    border: none;
    display: none;
}

.preloader {
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .modal-bg-img {
        display: none;
    }
    
    .auth-box {
        margin: 20px;
    }
}

.logo-container {
    margin-bottom: 30px;
}

.logo-container img {
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}