.portal-home-title {
    background-color: #01c4b3;
    padding: 20px;
}

    .portal-home-title h1,
    .portal-home-title h3 {
        color: #ffffff;
    }

.footer {
    position: fixed;
    bottom: 5px;
    width: 100%;
    height: 110px;
    font-size: .7rem;
    background: #000028 !important;
    color: #fff;
    padding: 1rem 1.5rem 1rem;
}

/* Footer institucional */
.footer-sbs {
    background-color: #000028;
    color: #ffffff;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 3px solid #01c4b3;
}

.footer-content {
    text-align: center;
}

.footer-text {
    margin: 0;
    font-size: 0.875rem;
    color: #ffffff;
    opacity: 0.9;
}

/* Asegurar que el body tenga espacio para el footer */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

/* Responsive para el footer */
@media (max-width: 768px) {
    .footer-sbs {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }

    .footer-text {
        font-size: 0.75rem;
        padding: 0 1rem;
    }
}

/* Estilos para mensajes de error de validación */
.alert-danger {
    background-color: #fff5f5;
    border-color: #ff4444;
    color: #721c24;
}

.alert-danger .bi-exclamation-triangle-fill {
    color: #ff4444;
}

.alert-danger ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.alert-danger ul li {
    margin-bottom: 0.25rem;
    color: #721c24;
}

.alert-danger strong {
    color: #721c24;
    font-size: 1.1rem;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-success .bi-check-circle-fill {
    color: #28a745;
}

/* Campos de texto en mayúsculas */
.text-uppercase {
    text-transform: uppercase !important;
}

/* Placeholder en mayúsculas también */
.text-uppercase::placeholder {
    text-transform: uppercase;
    opacity: 0.6;
}

/* Indicador visual sutil para campos uppercase */
.text-uppercase:focus {
    border-color: #01c4b3;
    box-shadow: 0 0 0 0.2rem rgba(1, 196, 179, 0.15);
}

/* Progress Overlay - Loading mientras se registra la solicitud */
.progress-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.progress-overlay.active {
    display: flex;
}

.progress-container {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.progress-icon {
    font-size: 4rem;
    color: #01c4b3;
    margin-bottom: 1.5rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.progress-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000028;
    margin-bottom: 0.5rem;
}

.progress-message {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.progress-bar-wrapper {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #01c4b3 0%, #00a89a 50%, #01c4b3 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progressAnimation 2s linear infinite;
    width: 0%;
    transition: width 0.3s ease-out;
}

.progress-steps {
    font-size: 0.875rem;
    color: #999;
    margin-top: 1rem;
}

.progress-step {
    margin: 0.5rem 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.progress-step.active {
    opacity: 1;
    color: #01c4b3;
    font-weight: 600;
}

.progress-step.completed {
    opacity: 1;
    color: #28a745;
}

.progress-step .step-icon {
    margin-right: 0.5rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes progressAnimation {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive para Progress Overlay */
@media (max-width: 768px) {
    .progress-container {
        padding: 2rem 1.5rem;
        width: 85%;
    }

    .progress-icon {
        font-size: 3rem;
    }

    .progress-title {
        font-size: 1.25rem;
    }

    .progress-message {
        font-size: 0.9rem;
    }
}
