/* ============================================================
   visa-detail.css — Trip Designer Visa Detail Page
   ============================================================ */

.vd-hero {
    position: relative;
    background: url('../../images/hero-beach.jpg') center/cover no-repeat, #0e1f5c;
    padding: 36px 0 56px;
    overflow: hidden;
}
.vd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,17,84,.82) 0%, rgba(30,64,175,.55) 50%, rgba(4,16,124,.82) 100%);
    z-index: 0;
    pointer-events: none;
}
.vd-hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 40px;
    background: #f4f6fb;
    clip-path: ellipse(70% 100% at 50% 100%);
    z-index: 1;
    pointer-events: none;
}
.vd-hero-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
.vd-hero-content { position: relative; z-index: 2; padding: 0 20px; text-align: center; }
.vd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(251,191,36,.15);
    border: 1px solid rgba(251,191,36,.4);
    color: #fcd34d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 5px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(251,191,36,.18);
}
.vd-hero-title {
    font-size: 2.1rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
    text-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.vd-hero-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.vd-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 5px;
    backdrop-filter: blur(8px);
    transition: background .2s, transform .2s;
}
.vd-hero-pill:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.vd-hero-pill i { color: #fbbf24; }

/* Body */
.vd-body { background: #f4f6fb; padding: 36px 0 48px; }
.vd-flex { display: flex; gap: 24px; align-items: flex-start; }
.vd-main { flex: 1; min-width: 0; }
.vd-sidebar { width: 300px; flex-shrink: 0; }

/* Cards */
.vd-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid #e8eaf0;
    margin-bottom: 20px;
    overflow: hidden;
}
.vd-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    background: #f8f9fc;
    border-bottom: 2px solid #e8eaf0;
    color: #1e293b;
    font-size: 14px;
    font-weight: 800;
}
.vd-card-header i { font-size: 15px; color: var(--tp, #04107C); }
.vd-card-body { padding: 20px; }
.vd-html { font-size: 15px; color: #374151; line-height: 1.8; }

/* Sidebar price card */
.vd-price-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(4,16,124,.12);
    border: 2px solid var(--tp, #04107C);
    overflow: hidden;
    position: sticky;
    top: 80px;
}
.vd-price-header { background: var(--tp, #04107C); padding: 20px; text-align: center; }
.vd-price-label {
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.vd-price-amount {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    margin: 6px 0 2px;
}
.vd-price-child { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; }
.vd-price-body { padding: 18px 20px; }
.vd-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid #f0f3fb;
    font-size: 13px;
}
.vd-price-row:last-child { border-bottom: none; }
.vd-price-row-label { color: #64748b; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.vd-price-row-label i { color: var(--tp, #04107C); }
.vd-price-row-val { font-weight: 800; color: #1e293b; }
.vd-apply-btn {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 16px;
    background: linear-gradient(135deg, var(--tp, #04107C), #1a2fa8);
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: .3px;
    transition: opacity .2s;
}
.vd-apply-btn:hover { opacity: .9; color: #fff; text-decoration: none; }

/* Back buttons bar */
.vd-back-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.vd-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all .2s;
    cursor: pointer;
    border: 1.5px solid transparent;
}
.vd-back i { font-size: .95rem; transition: transform .2s; }
.vd-back:hover { text-decoration: none; transform: translateY(-2px); }
.vd-back:hover i { transform: translateX(-3px); }

.vd-back-secondary {
    background: #fff;
    color: #64748b;
    border-color: #e2e8f0;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.vd-back-secondary:hover {
    background: #f8fafc;
    color: var(--tp, #04107C);
    border-color: var(--tp, #04107C);
    box-shadow: 0 6px 18px rgba(4,16,124,.12);
}

.vd-back-primary {
    background: linear-gradient(135deg, var(--tp, #04107C) 0%, #1e40af 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(4,16,124,.25);
}
.vd-back-primary:hover {
    background: linear-gradient(135deg, #020a5e 0%, var(--tp, #04107C) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(4,16,124,.35);
}
.vd-back-primary:hover i { transform: translateX(0) rotate(-10deg); }

/* Similar Destinations */
.vd-similar { margin-top: 16px; }
.vd-similar-head {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vd-similar-head i { color: var(--tp, #04107C); }
.vd-similar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.vd-sim-card {
    background: #fff;
    border-radius: 5px;
    border: 1.5px solid #e2e8f0;
    padding: 14px 12px;
    text-decoration: none;
    color: #374151;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    transition: all .2s;
}
.vd-sim-card:hover {
    border-color: var(--tp, #04107C);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(4,16,124,.1);
    text-decoration: none;
    color: var(--tp, #04107C);
}
.vd-sim-flag img {
    width: 48px;
    height: 32px;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.vd-sim-country {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}
.vd-sim-title {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vd-sim-price {
    font-size: 12px;
    font-weight: 800;
    color: var(--tp, #04107C);
    background: #e0e7ff;
    padding: 3px 10px;
    border-radius: 5px;
}

@media (max-width: 900px) {
    .vd-flex { flex-direction: column; }
    .vd-sidebar { width: 100%; }
    .vd-hero-title { font-size: 20px; }
    .vd-similar-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .vd-similar-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile fixed Apply Now bar */
.vd-mobile-book {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1050;
    padding: 12px 16px;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0,0,0,.12);
}
.vd-mobile-book-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--tp, #04107C), #1a2fa8);
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    border-radius: 5px;
    text-decoration: none;
    letter-spacing: .3px;
}
.vd-mobile-book-btn:hover { opacity: .9; color: #fff; text-decoration: none; }

@media (max-width: 900px) {
    .vd-body { padding-bottom: 80px; }
    .vd-price-card { position: static; }
    .vd-apply-btn { display: none; }
}
