:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --text-dark: #1a1a2e;
    --text-gray: #71717a;
    --bg-gray: #f8f9fa;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --success: #16a34a;
    --danger: #dc2626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

.booking-wrapper {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.8;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Layout 2 Kolom */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.card h2 {
    margin-top: 0;
    font-size: 1.25rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,123,255,0.1);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Total Display Box */
.total-display {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border);
}

.total-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.total-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.total-info {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.btn-confirm {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.25);
}

/* Summary Card */
.summary-card {
    position: sticky;
    top: 2rem;
}

.package-preview {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.package-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.package-info h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.package-info .duration {
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-qty {
    background: var(--primary);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.divider {
    border: 0;
    border-top: 1px dashed var(--border);
    margin: 1.25rem 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.summary-item.subtotal {
    font-weight: 600;
    color: var(--text-dark);
}

.summary-item.total {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.2rem;
    border-top: 2px solid var(--border);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.6;
    margin-top: 1.5rem;
}

.info-box i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .summary-card {
        position: static;
        order: -1;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .total-amount {
        font-size: 1.5rem;
    }
}