body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    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);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    transition: all 0.3s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.login-header i {
    font-size: 3.5rem;
    transition: all 0.3s ease;
}

.login-header h1 {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.login-header p {
    color: #666;
    font-size: 1rem;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    padding: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.alert {
    border-radius: 15px;
    border: none;
}

.loading-spinner {
    display: none;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.toggle-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.toggle-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.info-box {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-box i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.phone-example {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
    text-align: center;
}

/* Clases para mostrar/ocultar elementos según modo */
.mode-cliente .admin-only {
    display: none !important;
}

.mode-admin .cliente-only {
    display: none !important;
}

/* Animaciones */
.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
