body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f0e6fa 0%, #e1d5eb 50%, #d4c5e3 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #374151; 
    position: relative;
    overflow-x: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.shape1 {
    width: 400px;
    height: 400px;
    background: #d8b4e2; 
    top: -100px;
    left: -100px;
}

.shape2 {
    width: 500px;
    height: 500px;
    background: #bde0fe; 
    bottom: -200px;
    right: -100px;
}

.shape3 {
    width: 300px;
    height: 300px;
    background: #eebbff; 
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(116, 90, 142, 0.15);
}

.glass-interactive {
    transition: all 0.3s ease;
}

.glass-interactive:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 0 8px 32px 0 rgba(116, 90, 142, 0.25);
    transform: translateY(-2px);
}

.glass-input {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #374151; 
    transition: all 0.3s ease;
}

.glass-input::placeholder {
    color: #6b7280; 
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.4);
    border-color: #8b5cf6; 
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.glass-btn-primary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(109, 40, 217, 0.8) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.glass-btn-primary:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(109, 40, 217, 0.9) 100%);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

.glass-btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

.glass-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #4c1d95; 
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.glass-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: #8b5cf6; 
    color: #6d28d9;
}

.glass-link {
    color: #7c3aed; 
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.glass-link:hover {
    color: #5b21b6;
}

.glass-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #7c3aed;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.glass-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.glass-checkbox {
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.glass-checkbox:checked {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
}

.glass-checkbox:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.glass-checkbox:focus {
     outline: none;
     box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* Base header banner with right illustration and left color */
.header-banner {
    background-color: #FBF2E1;
    background-image: url('../recursos/lateral-derecho-cabecera-ilustracion.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 120px;
    display: flex;
    align-items: center;
    padding-left: 2rem;
}

/* SweetAlert2 Glassmorphism theme */
.swal2-popup.glass-alert {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 8px 32px 0 rgba(116, 90, 142, 0.2) !important;
    border-radius: 1rem !important;
    color: #374151 !important;
}

.swal2-confirm.glass-btn {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(109, 40, 217, 0.8) 100%) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3) !important;
}
