﻿/* ========================= BASE STYLES ========================= */
body {
  
}

.tour-card {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin: 10px 0;
    background: #fff;
    box-shadow: 0 6px 12px -4px rgba(0,0,0,.25);
    transition: all .3s ease;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
}

.tour-img {
    flex: 0 0 30%;
    max-width: 30%;
    min-width: 180px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}

    .tour-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        transition: transform .3s ease;
    }

        .tour-img img:hover {
            transform: scale(1.05);
        }

.tour-right {
    flex: 1 1 70%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.tour-top-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.tour-content {
    flex: 1;
    min-width: 200px;
}

.tour-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
    align-items: center;
}

.tag {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 30px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

    .tag:first-child {
        background: #fff;
        color: #8A38F5;
        border-color: #8A38F5;
    }

    .tag.secondary {
        background: #fff;
        color: #1ABC9C;
        border-color: #1ABC9C;
        text-transform: none !important;
    }

.tour-header a {
    color: inherit;
    text-decoration: none;
    word-break: break-word;
    display: inline-block;
}

.tour-info {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0;
}

    .tour-info i {
        color: #9ca3af;
    }
.sticky-zone {
    position: sticky;
    top: 60px;
    z-index: 1000;
    background: #23395d !important;
    padding: 8px 12px;
    font-weight: 700;
}
.departure-section h4 {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 4px;
}

.dates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    align-items: center;
}

.date-box {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    width: 60px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    background: #f9fafb;
}

.month {
    color: #6B7582 !important;
}

.date-box.more-dates {
    width: 60px !important;
    height50px;
    text-align: center;
    color: #1193d4;
    margin: 0;
    padding: 0 4px;
    height: 50px;
}

/* actions */
.tour-actions {
    flex: 0 0 130px;
    max-width: 130px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    box-sizing: border-box;
    padding-left: 12px;
    position: relative;
}

    .tour-actions::before {
        content: "";
        position: absolute;
        left: -10px;
        top: 10%;
        bottom: 10%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, #d1d5db 10%, #9ca3af 50%, #d1d5db 90%, transparent);
    }

.tour-price {
    font-size: 14px;
    font-weight: 800;
    color: #1193d4;
    margin-bottom: 5px;
}

.tour-subtext {
    font-size: 11px;
    color: #617c89;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tour-action-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.btn-primary, .btn-outline {
    display: inline-block;
    width: 120px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    padding: 6px 0;
    transition: .2s;
}

.btn-primary {
    background: #25335d;
    color: #fff;
}

    .btn-primary:hover {
        background: #1b2647;
    }

.btn-outline {
    border: 1px solid #25335d;
    color: #25335d;
    background: #fff;
}

    .btn-outline:hover {
        background: #25335d;
        color: #fff;
    }

/* action row */
.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.action-left, .action-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-item {
    font-size: 11px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

    .action-item:hover {
        color: #007aff;
    }
.icon-preview {
    position: fixed;
    display: none;
    z-index: 9999;
    background: rgba(255,255,255,0.98);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    pointer-events: none;
}

    .icon-preview img {
        width: 180px;
        height: auto;
        display: block;
        border-radius: 4px;
    }

.icon-hover {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    line-height: 1;
}

    .icon-hover i {
        font-size: 16px;
    }

@media (max-width:992px) {
    .sticky-zone {
        position: sticky;
        top: 12px;
        padding: 10px 14px;
        background: #23395d !important;
        background: #23395d !important;
        font-size: 16px;
        font-weight: 700;
        z-index: 1000;
    }

    .tour-card {
        flex-direction: column;
    }

    .tour-img {
        width: 100%;
        height: 200px;
        border-radius: 12px 12px 0 0;
    }

    .tour-right {
        width: 100%;
        padding: 10px 12px 14px;
    }

    .tour-actions {
        align-items: flex-end;
        text-align: left;
        max-width: 100%;
        padding-left: 0;
    }

        .tour-actions::before {
            display: none;
        }
}

@media (max-width:576px) {
    .sticky-zone {
        position: sticky;
        top: 5px;
        z-index: 1000;
        background: #23395d !important;
        padding: 6px 10px;
        font-size: 14px;
        font-weight: 700;
    }

    .tour-img {
        height: 160px;
    }

    .tour-header h3 {
        font-size: 14px;
    }

    .tour-info {
        font-size: 11px;
    }

    .tour-price {
        text-align: center;
    }

    .tour-actions {
        align-items: center;
        text-align: center;
    }

    .tour-action-buttons {
        width: 100%;
        align-items: stretch;
    }
}

@media (max-width: 767px) {
    /* Only sticky zone */
    .sticky-zone {
        position: sticky;
        top: 8px;
        z-index: 1000;
        background: #23395d !important;
        padding: 8px 12px;
        font-size: 15px;
        font-weight: 700;
    }

    .tour-card {
        flex-direction: column;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 12px;
        margin: 12px 0;
        overflow: hidden;
    }

    .tour-img {
        width: 100%;
        max-width: 100%;
        height: 200px;
        border-radius: 12px 12px 0 0;
        padding: 0;
    }

        .tour-img img {
            border-radius: 12px 12px 0 0;
            object-fit: cover;
            width: 100%;
            height: 100%;
        }

    .tour-right {
        width: 100%;
        padding: 12px 16px;
        box-sizing: border-box;
    }

    .tour-top-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    .tour-header h3,
    .tour-header a {
        font-size: 14px;
        font-weight: 700;
        color: #111827;
        margin: 6px 0;
    }

    .tour-tags {
        margin-bottom: 6px;
    }

    .tour-info {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 12px;
        color: #6b7280;
        margin: 6px 0 10px;
    }

    .tour-actions {
        width: 100%;
        text-align: center;
        align-items: center;
        border-top: 1px solid #e5e7eb;
        margin-top: 10px;
        padding-top: 10px;
    }

    .tour-price {
        font-size: 15px;
        font-weight: 800;
        color: #1193d4;
        text-align: right;
        width: 100%;
        margin-top: 6px;
    }

    .tour-subtext {
        font-size: 10px;
        color: #617c89;
        text-align: right;
        margin-top: 4px;
    }

    .tour-action-buttons {
        width: 100%;
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        margin-top: 8px;
    }
        .tour-action-buttons a {
            width: 100% !important;
            font-size: 12px;
            padding: 10px 0;
        }
    .action-row {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 10px;
        border-top: 1px solid #e5e7eb;
        margin-top: 12px;
        padding-top: 12px;
    }

    .action-left,
    .action-right {
        justify-content: center;
        width: 100%;
        gap: 12px;
    }

    .action-item i {
        font-size: 13px;
    }

    .action-item {
        font-size: 11px;
        color: #6b7280;
    }
    .departure-section {
        display: none;
    }

    .tour-tags .tag {
        font-size: 10px;
        padding: 2px 6px;
    }

    .icon-hover i {
        font-size: 14px;
    }
}

.tour-section-title {
    margin-top: 30px;
    margin-bottom: 10px;
}

.zone-title {
    background: #23395d !important;
    padding: 10px 16px;
    border-radius: 6px;
    color: white;
    font-weight: 700;
    display: inline-block;
    width: 100%;
    text-align: center;
    z-index: 000000 !important;
}

.header-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    color: #23395d;
}

.subheader-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #23395d;
    border-bottom: 1px solid #23395d;
}

.no-tours-message {
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.popup-box {
    background: #f7f7f7 !important;
    padding: 20px;
    width: 350px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

input#ucTourLinkDelhi2_btnPanelSendEmail {
    background: #f7f7f7 !important;
    color: black;
    text-align: right !important;
    border: 1px solid black;
}




