:root {
    --tb-primary: #0f8b8d;
    --tb-primary-dark: #0b6d6e;
    --tb-secondary: #1a2b4c;
    --tb-accent: #f2a541;
    --tb-success: #2e7d32;
    --tb-radius: 16px;
    --tb-radius-sm: 10px;
    --tb-shadow: 0 8px 24px rgba(26, 43, 76, 0.12);
}

.tb-widget {
    font-family: 'Poppins', sans-serif;
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--tb-radius);
    box-shadow: var(--tb-shadow);
    padding: 28px;
    color: var(--tb-secondary);
}

.tb-widget * { box-sizing: border-box; }

.tb-journey-toggle {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
    font-weight: 500;
}

.tb-journey-toggle label { display: flex; align-items: center; gap: 6px; cursor: pointer; }

.tb-field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.tb-field { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; }

.tb-field label { font-size: 13px; font-weight: 600; color: var(--tb-secondary); }
.tb-field label i { color: var(--tb-primary); width: 16px; }

.tb-field input,
.tb-field select,
.tb-field textarea {
    border: 1.5px solid #e2e6ea;
    border-radius: var(--tb-radius-sm);
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .15s ease;
}

.tb-field input:focus,
.tb-field select:focus,
.tb-field textarea:focus {
    outline: none;
    border-color: var(--tb-primary);
}

.tb-btn {
    border: none;
    border-radius: var(--tb-radius-sm);
    padding: 13px 22px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .1s ease, opacity .15s ease;
}

.tb-btn:hover { opacity: .92; }
.tb-btn:active { transform: scale(0.98); }

.tb-btn-primary { background: var(--tb-primary); color: #fff; width: 100%; justify-content: center; }
.tb-btn-success { background: var(--tb-success); color: #fff; width: 100%; justify-content: center; margin-top: 10px; }

.tb-quote-result {
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--tb-radius-sm);
    background: #f4faf9;
    border: 1.5px solid var(--tb-primary);
}

.tb-quote-result .tb-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--tb-primary-dark);
}

.tb-quote-result .tb-pickup-note {
    margin-top: 6px;
    font-size: 13px;
    color: var(--tb-secondary);
}

.tb-quote-error {
    color: #b3261e;
    font-weight: 500;
}

.tb-booking-form {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1.5px dashed #e2e6ea;
}

.tb-booking-form h3 { margin: 0 0 14px; color: var(--tb-secondary); }

.tb-total-box {
    background: var(--tb-accent);
    color: var(--tb-secondary);
    border-radius: var(--tb-radius-sm);
    padding: 12px 16px;
    font-weight: 700;
    margin: 14px 0 6px;
}

.tb-form-message { margin-top: 10px; font-weight: 500; }
.tb-form-message.tb-ok { color: var(--tb-success); }
.tb-form-message.tb-err { color: #b3261e; }

@media (max-width: 560px) {
    .tb-widget { padding: 18px; }
    .tb-field-row { flex-direction: column; }
}

/* Ozel hizmetler (gunluk tur / munferit transfer) */
.tb-hizmet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    font-family: 'Poppins', sans-serif;
}

.tb-hizmet-card {
    background: #fff;
    border-radius: var(--tb-radius);
    box-shadow: var(--tb-shadow);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tb-hizmet-card img { width: 100%; height: 140px; object-fit: cover; border-radius: var(--tb-radius-sm); }
.tb-hizmet-card h4 { margin: 0; color: var(--tb-secondary); }
.tb-hizmet-card p { margin: 0; font-size: 13px; color: #555; flex-grow: 1; }
.tb-hizmet-price { font-weight: 700; color: var(--tb-primary-dark); }

.tb-hizmet-modal { margin-top: 24px; }
.tb-hizmet-loading { font-family: 'Poppins', sans-serif; color: #777; }

/* Dil secici */
.tb-lang-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 12px;
}

.tb-lang-link {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--tb-secondary);
    padding: 4px 9px;
    border-radius: 6px;
    border: 1.5px solid #e2e6ea;
}

.tb-lang-link:hover { border-color: var(--tb-primary); }

.tb-lang-link.tb-lang-active {
    background: var(--tb-primary);
    color: #fff;
    border-color: var(--tb-primary);
}

/* Telefon ulke kodu secici (intl-tel-input yerine - sade ve saglam) */
.tb-phone-group { display: flex; gap: 8px; }
.tb-phone-group select { flex: 0 0 90px; }
.tb-phone-group input { flex: 1 1 auto; }

/* Ekstra secenekler */
.tb-extras-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fafbfc;
    border: 1.5px solid #e2e6ea;
    border-radius: var(--tb-radius-sm);
    padding: 10px 14px;
}

.tb-extras-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.tb-extras-list input[type="checkbox"] { width: auto; }

.tb-field-hint {
    font-size: 12px;
    color: #777;
    margin: 4px 0 0;
}

.tb-terms-box {
    font-size: 12px;
    color: #555;
    background: #fafbfc;
    border: 1px solid #e2e6ea;
    border-radius: var(--tb-radius-sm);
    padding: 8px 12px;
    margin: 10px 0 6px;
}
.tb-terms-box summary { cursor: pointer; font-weight: 600; color: var(--tb-secondary); }
.tb-terms-box p { margin: 8px 0 0; line-height: 1.5; }

.tb-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 10px;
    cursor: pointer;
}
.tb-terms-check input { margin-top: 3px; }

.tb-mybookings { font-family: 'Poppins', sans-serif; }
.tb-booking-card {
    background: #fafbfc;
    border: 1px solid #e2e6ea;
    border-radius: var(--tb-radius-sm);
    padding: 14px 16px;
    margin-bottom: 12px;
}
.tb-booking-card > div { margin: 6px 0 10px; color: #555; font-size: 14px; }
.tb-booking-card .tb-btn { display: inline-flex; width: auto; margin-right: 8px; }

.tb-hotel-input-row { display: flex; gap: 8px; }
.tb-hotel-input-row input { flex: 1 1 auto; }

.tb-map-btn {
    flex: 0 0 auto;
    border: 1.5px solid #e2e6ea;
    background: #fff;
    border-radius: var(--tb-radius-sm);
    color: var(--tb-primary);
    width: 42px;
    cursor: pointer;
    font-size: 16px;
}

.tb-map-btn:hover { border-color: var(--tb-primary); background: #f4faf9; }
