/* Yeni Rezervasyon Sayfası Tasarımı */
:root {
    --primary-color: #f47d23;
    /* EasyCar turuncusu */
    --secondary-color: #2c3e50;
    --bg-light: #f8f9fa;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 6px;
}

.checkout-container {
    background-color: var(--bg-light);
    padding: 40px 0;
    font-family: 'Inter', sans-serif;
}

/* Adım Göstergesi */
.booking-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

.booking-steps li {
    display: flex;
    align-items: center;
    color: #ccc;
    font-weight: 600;
    margin: 0 15px;
}

.booking-steps li.active {
    color: var(--primary-color);
}

.booking-steps li i {
    margin-right: 8px;
}

/* Kart Tasarımları */
.rn-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.rn-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

/* Araç Özeti Kartı */
.selected-car-card {
    display: block;
}

.car-thumb {
    max-width: 250px;
}

.car-info h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

/* Sigorta ve Ekstra Kartları */
.option-item {
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-item:hover {
    border-color: var(--primary-color);
    background: #fffdfb;
}

.option-item.selected {
    border-color: var(--primary-color);
    background: #fff9f4;
}

.option-info {
    flex: 1;
}

.option-name {
    font-weight: 600;
    font-size: 1rem;
    display: block;
    color: var(--secondary-color);
}

.option-desc {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
    display: block;
}

.option-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 6px;
    display: block;
}

/* Ekstralar için görsel stili */
.extra .extra-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.extra .extra-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sigorta Grid Yapısı */
.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.insurance-square {
    position: relative;
    border-radius: var(--border-radius);
    padding: 0;
    margin-bottom: 0;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--secondary-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.insurance-square.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.insurance-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    transition: all 0.3s;
}

.insurance-square.selected .insurance-overlay {
    background: linear-gradient(to top, rgba(244, 125, 35) 0%, rgba(244, 125, 35, 0.5) 100%);
}

.insurance-content {
    position: relative;
    z-index: 2;
    padding: 15px;
    color: #fff;
    width: 100%;
}

.insurance-square .option-name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.insurance-square .option-desc {
    color: #f1f1f1;
    font-size: 0.85rem;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.insurance-square .option-price {
    font-size: 1.1rem;
    margin-top: 0;
    color: #fff;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.25rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.insurance-square.selected .check-icon {
    color: #fff;
    opacity: 1;
}

/* Adet Seçici */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Sağ Panel (Summary) */
.summary-panel {
    position: sticky;
    top: 100px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.summary-total {
    border-top: 2px solid #eee;
    margin-top: 15px;
    padding-top: 15px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-confirm {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: transform 0.2s;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 125, 35, 0.3);
}

/* Editable Date Form Styles */
.rn-card .rn-icon-input {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fdfdfd;
}

.rn-card .rn-icon-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.rn-card .rn-icon-input input,
.rn-card .rn-icon-input select {
    padding-left: 45px !important;
    height: 50px;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    font-size: 14px;
}

.rn-time-select-checkout {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.btn-orange {
    background-color: #f47d23 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 700;
}

.btn-orange:hover {
    background-color: #e06d12 !important;
    color: #fff !important;
}

.border-right {
    border-right: 1px solid #eee;
}

@media (max-width: 768px) {
    .border-right {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}