/* Generals
-------------------------------------------------- */

.loading {
    max-width: 35px !important;
}

.filter-invert {
    filter: invert(0.8);
}

i.fa.fa-info {
    padding: 5px 10px;
    background: rgba(1, 98, 202, 0.1);
    border-radius: 15px;
}

.checklist li i.fa.fa-info {
    margin-right: 0;
    font-size: 16px;
    width: auto;
    height: 27px;
}

a.color-white:hover {
    color: var(--white-color);
}

.ios {
    font-size: 18px !important;
    padding-top: 12px !important;
    text-align: left !important;
}

/* Video Modal
-------------------------------------------------- */

/* Ensures the video fits the modal with no borders */
#videoModal .video-container {
    position: relative;
    width: 100%;
    padding-top: calc((848 / 672) * 100%); /* Maintains a scaled-down aspect ratio */
    overflow: hidden;
    background: black; /* Ensures the background fills all potential gaps */
    margin: 0 auto;
}

#videoModal .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Make the video fill the container without borders */
}

#videoModal .modal-dialog {
    max-width: 30%;
}

/* Optional: Style modal footer for text alignment */
#videoModal .modal-footer {
    background-color: #f8f9fa; /* Light gray footer background */
    text-align: center;
    padding: 10px;
    font-size: 1rem;
}

/* Custom close button positioned in the top-right corner */
#videoModal .custom-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1051; /* Ensure it stays above modal content */
    background-color: transparent;
    border: none;
    font-size: 1.25rem;
    padding: 0;
    cursor: pointer;
}

#videoModal .custom-close:hover {
    color: red; /* Optional: Change color on hover */
    opacity: 0.75;
}

/* Renovacion Modal
-------------------------------------------------- */
.modal-Gama {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

/* Contenido */
.modal-content-Gama {
    background: #fff;
    margin: 8% auto;
    padding: 20px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    font-family: Arial, sans-serif;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

/* Botón cerrar */
.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

    .close:hover {
        color: #333;
    }

/* Pasos */
.steps-Gama {
    margin: 20px 0;
    text-align: left;
}

.step-Gama {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.circle-Gama {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #023979;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 18px;
}

.text-Gama h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.text-Gama p {
    margin: 5px 0 0;
    color: #555;
}

/* Botones */
.btn-Gama {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 15px;
    background: #4ea2d3;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}

    .btn-Gama:hover {
        background: #0056b3;
    }

.btn-primary-Gama {
    margin-top: 20px;
    padding: 10px 20px;
    background: #023979;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

    .btn-primary-Gama:hover {
        background: #218838;
    }

/* Texto final */
.final-text-Gama {
    margin-top: 15px;
    font-weight: bold;
    color: #444;
}

/* Animación */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Overrides
-------------------------------------------------- */
.datepicker .table-condensed {
    border: none;
}

#loader .modal-content {
    background: none !important;
    color: white !important;
    border: none !important;
}

#loader .modal-content p {
    color: white;
    font-size: 18px;
}

.logo-style {
    width: 150px;
}

.background-image {
    background-position: bottom;
}

.widget_banner {
    background-color: var(--title-color);
    position: relative;
    padding: 35px 20px;
}

.widget-banner .th-btn {
    margin-top: 0px;
}

.widget_banner .widget_title {
    color: var(--white-color);
    line-height: 34px;
    padding-bottom: 0px;
    margin-bottom: 30px;
    border-bottom: 0px solid rgba(255, 255, 255, 0.1);
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    display: inline-block;
}

.header-layout8 .main-menu > ul > li {
    margin: 0px 11px;
}

.header-layout8 .header-logo {
    padding: 15px 50px 15px 50px;
}

.header-layout8 .menu-area {
    padding: 0px 30px !important
}


.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px; /* espacio entre whatsapp y scroll-top */
    z-index: 1000;
}

/* Estilo del botón de WhatsApp */
.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

    .whatsapp-btn:hover {
        transform: scale(1.1);
    }

    .whatsapp-btn img {
        width: 35px;
        height: 35px;
    }

/* Ajustes del scroll-top (para que tenga mismo tamaño) */
.scroll-top {
    position: static;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

    .scroll-top:after {
        font-size: 20px;
        color: var(--theme-color);
        left: 0;
        top: 0;
        line-height: 60px;
        height: 60px;
        width: 60px;
    }


/* Switch Wraps
-------------------------------------------------- */
.switch-wrap {
    padding-top: 16px;
}

.switch-wrap p, .switch-wrap span {
    margin-bottom: 0;
    font-weight: 500;
}

.switch-wrap .primary-switch {
    padding-top: 7px;
}

/* Grid Containers
-------------------------------------------------- */
.grid-container {
    display: grid;
    grid-template-columns: 33% 33% auto;
    grid-gap: 10px;
}

.grid-container-viajeroExterior {
    display: grid;
    grid-template-columns: 25% 25% 25% auto;
    grid-gap: 10px;
}

.grid-container .first-two-columns {
    grid-column: 1 / 3;
}

.grid-container .last-two-columns {
    grid-column: 2 / 4;
}

.pricing .grid-container {
    grid-template-columns: auto auto;
    grid-gap: 3px;
    padding: 0 20px;
    font-size: 15px;
}

.pricing .grid-container-head {
    padding-top: 10px;
}

.pricing .grid-container-head h5 {
    font-size: 16px;
    font-weight: 400;
    padding-bottom: 5px;
}

#formTarjeta .grid-container {
    grid-template-columns: auto auto;
}

.formUsuarios .grid-container {
    grid-template-columns: 70%;
    justify-content: center;
}

/* Daterangepicker
-------------------------------------------------- */

.daterangepicker .drp-calendar {
    max-width: none;
}

/* Price Card
-------------------------------------------------- */
.price-card:hover {
    transform: scale(1.02);
    -webkit-transition: transform 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out;
}

/*Project Card
--------------------------------------------------- */

.project-card.style-2.clickable-card .online-tag {
    opacity: 1;
    padding: 2px 40px;
    position: absolute;
    right: -35px;
    transform: rotate(40deg);
    top: 33px;
    z-index: 1;
    background: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--title-font);
    color: var(--theme-color);
}


/* Tag Current Price
-------------------------------------------------- */
h5.prima {
    font-size: 16px;
    padding: 5px 15px 7px 28px;
}

h5.prima span {
    color: var(--body-color);
}

/* Form Pago
-------------------------------------------------- */

.form-section .summary ul {
    list-style: none;
}

.form-section .summary ul li {
    line-height: 35px;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--title-font);
    color: var(--title-color);
}

.form-section .summary .prima b {
    color: var(--theme-color);
    font-size: 30pt;
}

#formTarjeta button.th-btn {
    padding: 15px 30px;
}

/* Mobile
-------------------------------------------------- */
@media (max-width: 768px) {

    .grid-container, .grid-container-2 {
        display: grid;
        grid-template-columns: auto;
        grid-gap: 10px;
    }

    .grid-container-viajeroExterior {
        display: grid;
        grid-template-columns: auto;
        grid-gap: 10px;
    }

    .header-layout8 .header-logo {
        padding: 0px 100px 0px 15px;
    }

    .flex-xs-wrap {
        flex-wrap: wrap;
    }

    .justify-content-xs-center {
        justify-content: center !important;
    }

    .checklist li i.fa.fa-info {
        margin-left: 10px;
        margin-top: 0;
    }

    #videoModal .modal-dialog {
        max-width: 100%;
    }
}