﻿/* 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;
    }
}



/* 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;
}

