body {
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
}

.fade-in {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.12);
}

.splash-btn {
    background: linear-gradient(60deg, #bb0811 1%, #001c64 100%);
    color: #fff;
    border-radius: 1.2rem;
    font-weight: bold;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px #bb081122;
}

.splash-btn:hover {
    background: linear-gradient(90deg, #a1060e 60%, #002b99 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px #001c6444;
}

.splash-search {
    background: #fff;
    border: 2px solid #e3eaff;
    border-radius: 1.2rem;
    font-size: 1.1rem;
    color: #1a2340;
    padding: 0.9rem 1.2rem;
    outline: none;
    box-shadow: 0 2px 8px #001c6412;
    transition: border 0.2s, box-shadow 0.2s;
    caret-color: #bb0811;
}

.splash-search:focus {
    border-color: #bb0811;
    box-shadow: 0 4px 16px #bb081133;
    background: #f7fafd;
}

.splash-search::placeholder {
    color: #8a99b3;
    opacity: 1;
}

.splash-select {
    box-shadow: 0 1px 6px #001c6411;
    border-radius: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.97);
    color: #1a2340;
    border: 1.5px solid #e3eaff;
    outline: none;
    font-size: 1rem;
    padding: 0.6rem 2.2rem 0.6rem 2.2rem;
    width: 100%;
}

.splash-select:focus {
    border-color: #ffa400;
    box-shadow: 0 4px 16px #ffa40033;
}

.important-text {
    color: #bb0811;
    font-weight: bold;
}

.social-icons a {
    margin-right: 0.7rem;
    color: rgb(0 28 100 / var(--tw-text-opacity, 1));
    font-size: 1.5rem;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #ffa400;
}

/* --- Glass Button Style with Color Dots --- */
.glass-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.35);
    border: 1.5px solid #e3eaff;
    color: #001c64;
    border-radius: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 24px 0 rgba(0, 28, 100, 0.10), 0 1.5px 8px #bb081122;
    backdrop-filter: blur(6px);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
    overflow: hidden;
    z-index: 1;
}

.glass-btn:hover,
.glass-btn:focus {
    background: rgba(255, 255, 255, 0.55);
    color: #bb0811;
    box-shadow: 0 8px 32px 0 rgba(0, 28, 100, 0.18), 0 2px 12px #ffa40033;
    transform: translateY(-2px) scale(1.04);
}

.glass-btn::before,
.glass-btn::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.glass-btn::before {
    width: 32px;
    height: 32px;
    background: #bb0811;
    top: -10px;
    left: -10px;
}

.glass-btn::after {
    width: 24px;
    height: 24px;
    background: #ffa400;
    bottom: -8px;
    right: -8px;
}

.alert-warning {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #fffbe6 60%, #ffe4b3 100%);
    color: #bb0811;
    border: 1.5px solid #ffa400;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 2px 8px #ffa40022;
    margin-bottom: 1rem;
}

.alert-warning i {
    font-size: 1.4rem;
}

.glass-aviso {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid #ffa400;
    border-radius: 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    color: #bb0811;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px #ffa40022;
    margin-bottom: 1.5rem;
}

.glass-aviso i {
    font-size: 1.5rem;
}

.alert-important {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.92);
    border-left: 6px solid #ffa400;
    border-radius: 1.2rem;
    font-weight: 500;
    font-size: 1rem;
    color: #bb0811;
    padding: 1.1rem 1.5rem 1.1rem 1.2rem;
    box-shadow: 0 4px 24px 0 rgba(0, 28, 100, 0.08), 0 1.5px 8px #ffa40022;
    margin-bottom: 1.5rem;
    gap: 0.7rem;
    position: relative;
}

.alert-important i {
    font-size: 1.6rem;
    color: #ffa400;
    margin-top: 0.1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px #ffa40033);
}

.alert-important span {
    color: #bb0811;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

#toast-mensaje {
    min-width: 260px;
    max-width: 350px;
    padding: 1rem 1.5rem 1rem 1.5rem;
    border-radius: 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 24px 0 rgba(0, 28, 100, 0.10), 0 1.5px 8px #bb081122;
    transition: opacity 0.5s, transform 0.5s;
    opacity: 0.98;
    display: none;
    z-index: 9999;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
}

#toast-mensaje.success {
    background: #e6ffed;
    color: #1a7f37;
    border: 2px solid #4ade80;
}

#toast-mensaje.error {
    background: #fff0f0;
    color: #bb0811;
    border: 2px solid #ffa400;
}

#toast-mensaje.show {
    display: block;
    animation: toastIn 0.5s;
}

#toast-mensaje .close-toast {
    position: absolute;
    top: 0.5rem;
    right: 0.8rem;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

#toast-mensaje .close-toast:hover {
    opacity: 1;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 0.98;
        transform: translateY(0) scale(1);
    }
}

.glass-alert {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 1.2rem;
    border: 1.5px solid #e3eaff;
    box-shadow: 0 4px 24px 0 rgba(0, 28, 100, 0.10);
    color: #001c64;
    font-weight: 500;
    font-size: 1rem;
    padding: 1.1rem 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.glass-alert-icon {
    color: #ffa400;
    font-size: 1.7rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px #ffa40033);
    display: flex;
    align-items: center;
}

.glass-alert b {
    color: #bb0811;
    font-weight: 700;
}

.glass-info {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-left: 6px solid #ffa400;
    color: #bb0811;
}

.glass-info-icon {
    color: #ffa400;
    font-size: 1.5rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px #ffa40033);
    display: flex;
    align-items: center;
}

.glass-info b {
    color: #001c64;
    font-weight: 700;
}

.mes-banner {
    background: transparent;
    color: #001c64;
    font-weight: 600;
    font-size: 1rem;
    z-index: 1000;
}

@media (max-width: 640px) {
    .mes-banner {
        font-size: 0.95rem;
        padding: 0.6rem 0.5rem;
    }
}

/* Para que el contenido no quede oculto debajo del banner */
.main-content-with-banner {
    margin-top: 56px;
}

.importante-aviso {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border-left: 8px solid #001c64;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px 0 rgba(0, 28, 100, 0.10);
    color: #1a2340;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    margin-bottom: 1.5rem;
}

.importante-aviso .text-base {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.importante-aviso img {
    margin-right: 0.5rem;
}

.glass-aviso-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-left: 6px solid #001c64;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px 0 rgba(0, 28, 100, 0.10);
    color: #001c64;
    font-weight: 500;
    font-size: 1rem;
    padding: 1rem 1.2rem;
    letter-spacing: 0.01em;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.glass-aviso-icon {
    color: #ffa400;
    font-size: 1.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px #ffa40033);
    display: flex;
    align-items: center;
}

.glass-aviso-panel b {
    color: #bb0811;
    font-weight: 700;
}

@media (max-width: 640px) {
    .glass-aviso-panel {
        font-size: 0.98rem;
        padding: 0.8rem 0.7rem;
    }
}

.splash-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    min-height: 180px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10001;
}

.splash-loader-drops {
    display: flex;
    gap: 1.5rem;
}

.splash-loader-drop:nth-child(2) {
    background: linear-gradient(135deg, #001c64 60%, #ffa400 100%);
    animation-delay: 0.3s;
}

.splash-loader-drop:nth-child(3) {
    background: linear-gradient(135deg, #ffa400 60%, #bb0811 100%);
    animation-delay: 0.6s;
}

.splash-loader-drop {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #bb0811 60%, #001c64 100%);
    opacity: 0.18;
    animation: splashDropAnim 1.2s infinite alternate;
}

@keyframes splashDropAnim {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.18;
    }

    100% {
        transform: scale(1.25) translateY(-12px);
        opacity: 0.32;
    }
}