@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9fafb; /* Light minimalist background */
    min-height: 100vh;
    color: #374151; 
    position: relative;
    overflow-x: hidden;
}

/* Hide old shapes from glassmorphism */
.bg-shape {
    display: none;
}

/* Keep class names but redefine as flat minimalist cards */
.glass-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

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

.glass-interactive:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.glass-input {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151; 
    transition: all 0.3s ease;
}

.glass-input::placeholder {
    color: #9ca3af; 
}

.glass-input:focus {
    outline: none;
    border-color: #263684; 
    box-shadow: 0 0 0 3px rgba(38, 54, 132, 0.2);
}

.glass-btn-primary {
    background-color: #263684;
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(38, 54, 132, 0.2);
    text-shadow: none;
    transition: all 0.3s ease;
}

.glass-btn-primary:hover {
    background-color: #1a2560;
    box-shadow: 0 6px 12px rgba(38, 54, 132, 0.3);
    transform: translateY(-1px);
}

.glass-btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(38, 54, 132, 0.2);
}

.glass-btn-secondary {
    background: #ffffff;
    color: #8b1455; 
    border: 1px solid #8b1455;
    transition: all 0.3s ease;
}

.glass-btn-secondary:hover {
    background: #8b1455;
    color: #ffffff;
}

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

.glass-link:hover {
    color: #6a0f41;
}

.glass-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #8b1455;
    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: #ffffff;
    border: 2px solid #d1d5db;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

.glass-checkbox:focus {
     outline: none;
     box-shadow: 0 0 0 3px rgba(38, 54, 132, 0.2);
}

/* Base header banner with right illustration and left color */
.header-banner {
    background-color: #ffffff;
    border-bottom: 2px solid #f0ac07; /* Ocre accent */
    min-height: 100px;
    display: flex;
    align-items: center;
    padding-left: 2rem;
}

/* SweetAlert2 Flat Minimalist theme */
.swal2-popup.glass-alert {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.75rem !important;
    color: #374151 !important;
}

.swal2-confirm.glass-btn {
    background-color: #263684 !important;
    color: white !important;
    border: none !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 6px rgba(38, 54, 132, 0.2) !important;
}

/* Language Toggle Slider */
.lang-toggle {
    display: flex;
    align-items: center;
    background: #e5e7eb;
    border-radius: 20px;
    padding: 2px;
    width: 60px;
    height: 30px;
    position: relative;
    cursor: pointer;
}
.lang-toggle a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: absolute;
    z-index: 10;
}
.lang-toggle-text {
    width: 50%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #6b7280;
    z-index: 1;
}
.lang-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #263684;
}
.lang-toggle.en-active .lang-toggle-slider {
    transform: translateX(0);
}
.lang-toggle.en-active .lang-toggle-slider::after {
    content: 'EN';
}
.lang-toggle.es-active .lang-toggle-slider {
    transform: translateX(30px);
}
.lang-toggle.es-active .lang-toggle-slider::after {
    content: 'ES';
}
