/* custom */
.promotion-carousel .owl-nav.disabled {
    display: block;
}

.dx-texteditor-buttons-container
    > .dx-button.dx-button-has-icon:not(.dx-button-has-text)
    > .dx-button-content {
    display: flex;
    align-items: center;
}
/* custom */


/* sidebar */
.foregin-visa-detail-sidebar {
    height: 100%;
    width: 100%;
    position: fixed;
    justify-content: end;
    align-items: end;
    top: 0;
    right: 0;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999999999999999999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
}

.foregin-visa-detail-sidebar.open {
    transform: translateX(0);
}

.foregin-visa-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
    z-index: 999999999;
    pointer-events: none;
}

.foregin-visa-detail-sidebar.open + .foregin-visa-detail-overlay {
    opacity: 1;
    pointer-events: all;
}

#foreginVisaDetailContent {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.04);
}

#foreginVisaDetailContentHeader p {
    line-height: 20px;
    font-size: 15px;
}

#foreginVisaDetailContent::-webkit-scrollbar {
    width: 6px;
}

#foreginVisaDetailContent::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#foreginVisaDetailContent::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#foreginVisaDetailContent::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.foregin-visa-card-clickable {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 8px;
}

.foregin-visa-card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* skeleton */

:root {
    --loading-grey: #ededed;
}

.card-loading-foregin-visa-deteail {
    margin: 15px 0px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(8, 21, 66, 0.05);
    border: 1px solid rgba(127, 137, 150, 0.1);
}

.image img {
    display: block;
    width: 100%;
    height: inherit;
    object-fit: cover;
}

.content {
    padding: 1rem 0.8rem;
}

h4 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    line-height: 1.5rem;
}

.description-foregin-visa {
    font-size: 1rem;
    line-height: 1.4rem;
}

.loading .image,
.loading h4,
.loading .description-foregin-visa,
.loading .description-foregin-visa-detail-header {
    background-color: var(--loading-grey);
    background: linear-gradient(
            100deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 60%
        )
        var(--loading-grey);
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: 0.5s loading ease-in-out infinite;
}

@keyframes loading {
    to {
        background-position-x: -20%;
    }
}

.loading h4 {
    min-height: 3rem;
    border-radius: 4px;
    animation-delay: 0.06s;
}

.loading .description-foregin-visa {
    min-height: 22rem;
    border-radius: 4px;
    animation-delay: 0.06s;
}

.loading .description-foregin-visa-detail-header {
    min-height: 9rem;
    border-radius: 4px;
    animation-delay: 0.06s;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    .foregin-visa-nav-container {
        margin: 20px 0px;
    }

    .foregin-visa-row {
        grid-template-columns: repeat(1, 1fr);
    }

    .foregin-visa-card-box-details {
        width: 120px;
        height: 90px;
        margin-right: 7px;
    }

    .header-detail {
        align-items: center;
        padding-bottom: 0px;
    }

    .foregin-visa-card span {
        font-size: 16px;
    }

    .title-foregin-visa {
        height: auto;
    }

    .foregin-visa-card-box {
        height: 100px;
    }

    #foregin-visaDetailHeader p {
        font-size: 13px;
    }

    .foregin-visa-contact-content h1 {
        font-size: 22px;
    }

    .foregin-visa-contact-content span {
        font-size: 16px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .foregin-visa-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .foregin-visa-card-box {
        height: 130px;
    }
}

.voucher-card {
    max-width: 400px;
    transition: box-shadow 0.3s ease;
}
.voucher-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-text {
    border-radius: 5px;
    position: relative;
    background-color: #e9e9e9;
    transition: background-color 0.2s ease;
}
.copy-text:hover {
    background-color: #e9ecef;
}

.copy-text .copy-input {
    border: none;
    background: transparent;
    font-weight: 500;
    color: #333;
    padding: 0px;
    pointer-events: none;
}

.btn-coupon {
    padding: 5px 10px;
}

.text-success-message {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}
