:root {
    --primary-color: #0056b3;
    --secondary-color: #007bff;
    --dark-color: #212529;
    --gray-color: #6c757d;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-container {
    max-width: 500px;
    margin: 1rem auto;
}

.auth-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
}

.tab-link {
    padding: 0.8rem 1.2rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--gray-color);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.tab-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.badge.status-pendiente-de-pago {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.badge.status-verificando-pago {
    background-color: #17a2b8 !important;
}

.badge.status-completada {
    background-color: #28a745 !important;
}

.badge.status-cancelada {
    background-color: #dc3545 !important;
}

.main-footer .logo-footer {
    font-size: 1.5rem;
    font-weight: 700;
}

.main-footer a.text-reset {
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer a.text-reset:hover {
    text-decoration: underline;
    color: var(--secondary-color) !important;
}

.modal {
    position: fixed !important;
}

#holiday-alert-bar {
    width: 100%;
    background: #ffc107;
    color: #212529;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

#holiday-alert-bar.show {
    max-height: 400px;
    padding-top: 12px;
    padding-bottom: 12px;
}

#holiday-alert-bar.alert-danger-mode {
    background: #dc3545;
    color: #fff;
}
#holiday-alert-bar.alert-danger-mode #holiday-title {
    background: rgba(0, 0, 0, 0.25) !important;
}
#holiday-alert-bar.alert-danger-mode #holiday-date {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

#holiday-message {
    display: inline-block;
}

#holiday-date {
    display: inline-block;
    background: rgba(0, 0, 0, 0.06);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 991px) {
    #holiday-alert-bar.show {
        padding: 15px;
    }

    #holiday-message {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        width: 100%;
    }

    #holiday-date {
        display: inline-block;
        font-size: 13px;
        white-space: normal;
        background: rgba(255, 255, 255, 0.4);
        padding: 4px 10px;
        margin-top: 2px;
    }
}

.img-thumbnail,
.img-fluid,
#viewComprobanteModal img,
#userDetailsModal img,
#imagePreviewModal img,
.user-photo,
.comprobante-preview img,
.modal-body img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    
    -webkit-font-smoothing: subpixel-antialiased;
}

.img-thumbnail {
    will-change: transform;
}