/* renkler */
:root {
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --ink: #0b2948;
    --success: #22c55e;
    --info: #06b6d4;
    --warning: #f59e0b;
    --primary: #6366f1;
    --danger: #ef4444;
}

.todo-card {
    background: #fff
}

.todo-list {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 30px;
    margin-right: 20px;
}

.todo-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .75rem .9rem;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    background: #fff;
}

.todo-bullet {
    width: 4px;
    align-self: stretch;
    border-radius: 8px;
    background: var(--bullet,#10b981);
    margin-right: .4rem;
}

.todo-title {
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1
}
.todo-check {
    margin-top: 14px;
}
.todo-meta {
    font-size: .875rem;
    color: var(--slate-400)
}

.todo-item.completed .todo-title {
    text-decoration: line-through;
    color: #94a3b8
}

.todo-item.completed .todo-meta {
    color: #cbd5e1
}

.badge-soft-success {
    background: rgba(34,197,94,.12);
    color: #16a34a
}

.badge-soft-primary {
    background: rgba(99,102,241,.12);
    color: #4f46e5
}

.badge-soft-warning {
    background: rgba(245,158,11,.15);
    color: #b45309
}

.badge-soft-danger {
    background: rgba(239,68,68,.15);
    color: #dc2626
}
/* renk varyantları (soldaki çizgi) */
.todo-success {
    --bullet: var(--success)
}

.todo-info {
    --bullet: var(--info)
}

.todo-warning {
    --bullet: var(--warning)
}

.todo-primary {
    --bullet: var(--primary)
}

.todo-danger {
    --bullet: var(--danger)
}
:root {
    --chip: #6366f1; /* mor chip */
    --chip-h: #5458e6;
    --cta: #138f87; /* yeşil CTA */
    --cta-h: #0f7c75;
    --ring: #c7d2fe; /* odak halkası */
    --muted: #6b7280;
}

/* kapsayıcı */
.reserve-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

/* küçük chip */
.btn-chip {
    background: var(--chip);
    color: #fff;
    border: 0;
    padding: .55rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    box-shadow: 0 8px 16px rgba(99,102,241,.18);
}

    .btn-chip:hover {
        background: var(--chip-h);
    }

    .btn-chip:focus {
        box-shadow: 0 0 0 6px var(--ring);
    }

/* büyük CTA */
.btn-cta {
    background: var(--cta);
    color: #fff;
    border: 0;
    max-width: 420px;
    height: 48px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: 0 8px 18px rgba(19,143,135,.18);
}

    .btn-cta:hover {
        background: var(--cta-h);
    }

    .btn-cta:focus {
        box-shadow: 0 0 0 6px rgba(19,143,135,.22);
    }

/* bilgilendirme yazısı */
.reserve-note {
    font-size: .9rem;
    color: var(--muted);
    text-align: center;
    line-height: 1.35;
}

/* küçük ekranlarda aralık biraz artsın */
@media (max-width: 576px) {
    .reserve-actions {
        gap: 10px;
    }
}

.xb-yacht-meta--compact {
    margin: 24px 0 32px;
    padding: 12px 0;
    gap: 24px;
}

.xb-yacht-meta--compact li {
    gap: 18px;
    padding-right: 28px;
}

@media (max-width: 767px) {
    .xb-yacht-meta--compact {
        margin: 20px 0 28px;
        gap: 16px;
    }

    .xb-yacht-meta--compact li {
        padding-right: 18px;
    }
}



/* açılır panel */
.dtp-pop {
    position: absolute;
    inset: auto auto auto 0;
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(18,38,63,.18);
    display: none;
    z-index: 3000;
    overflow: hidden;
}

.dtp-wrap {
    display: flex;
    gap: 0;
}

.dtp-cal {
    padding: 8px;
}

.dtp-times {
    width: 170px;
    border-left: 1px solid #e6e8ee;
    max-height: 320px;
    overflow: auto;
    background: #fafbfd
}

    .dtp-times .hdr {
        font-weight: 600;
        color: #0b2948;
        padding: 8px 10px;
        border-bottom: 1px solid #eef1f5;
        background: #fff
    }

.time-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

    .time-row:hover {
        background: #f0f4ff
    }

    .time-row .icon {
        width: 18px;
        text-align: center;
        opacity: .75
    }

    .time-row.disabled {
        opacity: .4;
        pointer-events: none
    }

    .time-row.active {
        background: #0ea5a5;
        color: #fff
    }

        .time-row.active .icon {
            opacity: 1
        }

.switch-row {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #eef1f5;
    background: #fff
}

.btn-outline-secondary:hover {
    background-color: #f1f5f9;
}

.btn-outline-dark:hover {
    background-color: #0f172a;
    color: #fff;
}

.borderdiv {
    border: black;
    border-width: 0.015rem;
    border-style: solid;
    /* border-color: black; */
    border-radius: 43px;
    text-align: center;
}
.rez-box1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 400px;
    text-align: center;
}

/* Kutular */
.rez-item1 {
    padding: 12px;
    border-bottom: 1px solid #ccc;
}

    .rez-item1:nth-child(2n) {
        border-left: 1px solid #ccc;
    }

/* Satırlar */
.rez-row1 {
    padding: 12px;
    display: flex;
    flex-direction: column; /* başlığı üstte, içeriği altta tut */
    align-items: flex-start; /* başlığı sola hizala */
    gap: 6px;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

/* Artı/eksi ve sayı satırı */
.rez-controls1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Label */
.form-label1 {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

/* Select & Input */
select, input {
    padding: 6px;
    border: 1px solid #aaa;
    border-radius: 4px;
}

/* Artı / Eksi butonları */
.btn1 {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    border: 1px solid #888;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
}

    .btn1:hover {
        background: #eee;
    }

/* Gizli input (sayı tutan) */
.counter1 {
    width: 40px;
    text-align: center;
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 4px;
}
/* --- MOBİL DÜZEN (≤576px) --- */
@media (max-width: 576px) {
    /* Kutuyu tek sütun yap */
    .rez-box1 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px;
        border-radius: 12px;
        overflow: visible; /* popup taşarsa görünsün */
    }

        /* Eski grid/dikey çizgileri iptal */
        .rez-box1 > .rez-item1,
        .rez-box1 > .rez-row1 {
            width: 100% !important;
            border-left: none !important;
            border-right: none !important;
            margin-bottom: 12px;
        }

            .rez-box1 > .rez-item1:nth-child(2n) {
                border-left: none !important;
            }

    /* Alanlar tam genişlik */
    #DepartureId,
    #startDateTimeDetail {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* --- Picker konum/ölçü --- */
    #rezPickerHost {
        position: relative;
    }
    /* popup'a referans */

    /* Açılır paneli ankora sabitle, tam genişlik aç */
    #rezPicker.dtp-pop {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        z-index: 1000;
        border-radius: 12px;
    }

    /* İç düzen: takvim + saatler alt alta */
    #rezPicker .dtp-wrap {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    #rezPicker .dtp-cal {
        width: 100%;
    }

    #rezPicker .dtp-times {
        width: 100%;
        max-height: 200px; /* liste taşarsa scroll */
        overflow-y: auto;
    }

    #rezPicker .switch-row {
        padding: 8px 12px;
    }

    /* Sayı artır/azalt satırını rahatlat */
    .rez-controls1 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 8px;
    }

        .rez-controls1 .btn1 {
            padding: 0px 4px;
        }
    .rez-row1 .form-label1 {
        font-size: 14px;
        margin-bottom: 6px;
        display: block;
    }
}

/* Bazı picker kütüphaneleri sağa taşıyabiliyor; emniyet sibobu */
#rezPicker.dtp-pop[data-placement="right"] {
    left: 0 !important;
    right: 0 !important;
}
/* Sekmeler yan yana */
#servicesCollapse .nav-tabs {
    display: flex !important;
    flex-wrap: nowrap; /* alt alta düşmesin */
    justify-content: flex-start; /* sola yasla, istersen center yapabilirsin */
    border-bottom: 2px solid #eaeaea;
}

    /* Tek tek itemler yan yana gelsin */
#servicesCollapse .nav-tabs .nav-item {
    display: inline-block;
    margin-right: 20px;
}

    /* Link stilleri */
#servicesCollapse .nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    background: none !important;
    color: #444;
    font-weight: 600;
    padding: 8px 12px;
}

#servicesCollapse .nav-tabs .nav-link.active {
    border-color: #2196f3; /* aktif alt çizgi */
    color: #2196f3 !important;
}
.tab-pane {
    background-color: #f9f9f9;
}

/* Product Detail Page Styles moved from _ProductsDetailPartial.cshtml */

.product-location-map-wrapper {
    margin-top: 20px;
}

#product-location-map {
    height: 280px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 1.4rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #fbbf24;
}

/* Boat Specifications Alignment Fix */
.xb-yacht-ser-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 40px;
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
}

.xb-yacht-ser-details li {
    width: 50% !important;
    display: flex !important;
    align-items: center;
    margin-bottom: 12px;
    padding-left: 0;
}

.xb-yacht-ser-details li span:first-child {
    width: 180px !important;
    min-width: 180px !important;
    white-space: nowrap;
    display: inline-block;
    color: #0b2948; /* --ink color */
    font-weight: 600;
    margin-right: 10px;
}

.xb-yacht-ser-details li span:last-child {
    color: #546b85;
    font-weight: 500;
    flex: 1;
}
.location-list {
    display: flex;
    justify-content: center; /* ortala */
    align-items: center;
    flex-wrap: wrap; /* taşarsa alta geçsin */
    gap: 25px; /* aralık */
    margin-top: 15px;
}

.location-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #0b2948;
}

    .location-item i {
        color: #d4af37; /* harita rengi uyumlu altın tonu */
        margin-right: 8px;
        font-size: 15px;
    }

.yacht-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 50px;
    margin-top: 20px;
}

    /* her bilgi bloğu */
    .yacht-spec-grid li {
        padding: 14px 18px;
        background: #f9fbfd;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        transition: .2s ease;
    }

        /* hover çok hafif premium etki */
        .yacht-spec-grid li:hover {
            background: #f1f6fb;
        }

    /* başlık */
    .yacht-spec-grid .spec-label {
        font-size: 13px;
        font-weight: 600;
        color: #0b2948;
        opacity: .75;
        margin-bottom: 6px;
        letter-spacing: .3px;
    }

    /* değer */
    .yacht-spec-grid .spec-value {
        font-size: 16px;
        font-weight: 600;
        color: #1c1c1c;
        line-height: 1.3;
    }

.review-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    background: #fff;
}

.review-score {
    width: 150px;
    min-width: 150px;
    text-align: center;
    padding-right: 18px;
    border-right: 1px solid rgba(0,0,0,.08);
}

.score-number {
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: #0b2948;
}

.score-stars {
    justify-content: center;
    gap: 4px;
    margin: 8px 0 6px;
}

.score-count {
    font-size: 14px;
    color: #6b7280;
}

.review-subtext {
    color: #6b7280;
    font-size: 14px;
}

.review-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 4px;
}

.review-item .comment_author_thumbnail img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-top .xb-review-star {
    margin-left: 12px; /* ekstra boşluk */
}


.review-score {
    width: auto;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding-right: 0;
    padding-bottom: 14px;
    margin-bottom: 8px;
    text-align: left;
}

.score-stars {
    justify-content: flex-start;
}

.xb-review-star {
    right: -41px !important;
    padding: 0px 15px !important;
}
/* =========================
   TABLET (992px altı)
========================= */
@media (max-width: 992px) {

    /* Spec grid 2 kolon */
    .yacht-spec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 25px;
    }

    /* Review summary dikey */
    .review-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-score {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(0,0,0,.08);
        padding-bottom: 14px;
        margin-bottom: 10px;
        text-align: left;
    }

    .score-stars {
        justify-content: flex-start;
    }

    /* İsim + yıldız alt alta */
    .review-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

        .review-top .xb-review-star {
            margin-left: 0;
        }

    /* Location daha sıkı */
    .location-list {
        gap: 18px;
    }
}


/* =========================
   MOBILE (576px altı)
========================= */
@media (max-width: 576px) {

    /* Spec grid tek kolon */
    .yacht-spec-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

        .yacht-spec-grid li {
            padding: 12px 14px;
        }

    /* Location ortalı ve küçük */
    .location-list {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .location-item {
        font-size: 14px;
    }

    /* Review header küçült */
    .score-number {
        font-size: 34px;
    }

    .review-summary {
        padding: 14px 16px;
    }

    /* Avatar küçült */
    .review-item .comment_author_thumbnail img {
        width: 40px;
        height: 40px;
    }

    /* Comment padding azalt */
    .review-item {
        padding: 12px 0;
    }

    /* Yorum yaz kartı sıkı */
    .card-body {
        padding: 16px;
    }
}
					
@media (max-width: 767px) {
    .xb-yacht-ser-details li {
        width: 100% !important;
    }

    .xb-yacht-ser-details li span:first-child {
        width: 140px !important;
        min-width: 140px !important;
    }
}
