* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos del loading */
#custom-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#custom-loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo-estatico {
    width: 80px;
    height: auto;
    animation: fadeIn 0.5s ease;
}

.puntos {
    width: 150px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-container h1 {
    font-size: 24px;
    color: #1a3a53;
    font-weight: 600;
    margin: 0;
    animation: fadeInUp 0.6s ease;
}

.loading-container p {
    font-size: 14px;
    color: #5f7f9a;
    margin: 0;
    animation: fadeInUp 0.6s ease 0.1s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

body.loading-active {
    overflow: hidden;
}

.form-disabled {
    pointer-events: none;
    opacity: 0.6;
}

.submit-button {
    transition: all 0.2s ease;
}

.submit-button:active {
    transform: scale(0.97);
}