/* Explain: Styles for the booking interface, including calendar, form, and info sections. */
/* --------------------------------------------------
   Hizmetimiz sayfası iç bağlantısı
-------------------------------------------------- */
.repair-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.repair-link:hover {
    text-decoration: underline;
}

/* --------------------------------------------------
   Randevum — bilgi notları
-------------------------------------------------- */
.booking-note {
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.booking-note--strong {
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(242, 106, 33, 0.22);
    border-radius: 12px;
    background: rgba(242, 106, 33, 0.07);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

/* --------------------------------------------------
   Randevu takvimi
-------------------------------------------------- */
.booking-card {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(31, 36, 48, 0.06);
}

.booking-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.booking-title i {
    color: var(--primary-color);
}

.booking-hint {
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.booking-dates {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-bottom: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.booking-date {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 54px;
    padding: 9px 4px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #f8f6f1;
    color: var(--text-color);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.booking-date__wd {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
}

.booking-date__dd {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.booking-date.is-active {
    border-color: rgba(242, 106, 33, 0.55);
    background: rgba(242, 106, 33, 0.14);
    color: var(--primary-color);
}

.booking-date.is-active .booking-date__wd {
    color: var(--primary-color);
}

.booking-date.is-closed {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: line-through;
}

.booking-selected {
    margin-top: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
}

.booking-times {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.booking-times .booking-empty {
    grid-column: 1 / -1;
}

.booking-slot {
    padding: 11px 6px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #ffffff;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.booking-slot.is-active {
    border-color: rgba(242, 106, 33, 0.55);
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;
}

.booking-slot.is-taken {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f1ec;
    text-decoration: line-through;
}

.booking-slot.is-past {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f3f1ec;
}

.booking-empty {
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

/* --------------------------------------------------
   Randevu formu
-------------------------------------------------- */
.booking-form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(31, 36, 48, 0.06);
}

.booking-summary {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary-color);
}

.booking-form__row {
    display: grid;
    gap: 6px;
}

.booking-form label {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-muted);
}

.booking-form label .opt {
    font-weight: 500;
    opacity: 0.7;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #f8f6f1;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: rgba(138, 133, 120, 0.7);
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: rgba(242, 106, 33, 0.55);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.13);
}

.booking-form textarea {
    min-height: 76px;
    resize: vertical;
}

.booking-status {
    font-size: 0.82rem;
    color: #dc2626;
}

.booking-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(234, 88, 12, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.booking-submit:hover {
    transform: translateY(-1px);
}

.booking-submit:disabled {
    opacity: 0.65;
    cursor: progress;
    transform: none;
}

/* --------------------------------------------------
   Randevu onayı
-------------------------------------------------- */
.booking-success {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 22px 16px;
    border: 1px solid rgba(30, 180, 85, 0.35);
    border-radius: 18px;
    background: rgba(30, 180, 85, 0.07);
    text-align: center;
}

.booking-success__icon {
    font-size: 2.2rem;
    color: #1eb455;
}

.booking-success__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.booking-success__text {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-color);
}

.booking-success__btn {
    margin-top: 6px;
    padding: 11px 22px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.booking-success__btn:hover {
    background: rgba(31, 36, 48, 0.05);
}

/* --------------------------------------------------
   Bilgi kutuları + tahmini fiyat listesi
-------------------------------------------------- */
.booking-info {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(31, 36, 48, 0.06);
}

.booking-info__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-color);
}

.booking-info__title i {
    color: var(--primary-color);
}

.booking-hours {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.booking-hours li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #f8f6f1;
    font-size: 0.85rem;
    color: var(--text-color);
}

.booking-hours strong {
    font-family: var(--font-heading);
    font-weight: 700;
}

.price-table {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #f8f6f1;
}

.price-row__name {
    flex: 1;
    min-width: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    word-break: break-word;
}

.price-row__value {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}