/* Booking Card Redesign CSS */

:root {
    --primary-gold: #d4a853;
    --bg-light: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --radius-lg: 16px;
    --radius-md: 12px;
}

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    background-color: var(--bg-light);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 300px;
    background-image: url('https://images.unsplash.com/photo-1539650116455-251d9a0446b5?q=80&w=1000&auto=format&fit=crop');
    /* Pyramids placeholder */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: -60px;
    /* Overlap effect */
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    transform: translateY(-20px);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 5px;
}

.success-icon-anim {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* Booking Card */
.booking-confirmation-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.card-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-navy);
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.status-badge.success {
    background: #d1fae5;
    color: #065f46;
}

/* Grid Layout */
.booking-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item {
    background: #f8fafc;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.detail-item.full-width {
    grid-column: span 2;
}

.detail-item .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.detail-item .value {
    font-weight: 600;
    color: var(--text-primary);
}

.detail-item .value.price {
    color: #10b981;
    font-size: 1.1rem;
}

/* Action Buttons */
.action-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    background: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-action:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.dropdown-menu {
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: var(--primary-gold);
}

/* What's Next */
.whats-next-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.whats-next-section h3 {
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.step-text {
    font-weight: 500;
}

/* Nav & Trust */
.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.btn-primary.full-width,
.btn-secondary.full-width {
    width: 100%;
    justify-content: center;
}

.trust-section {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.8;
}

.payment-icons {
    margin-top: 5px;
    font-weight: 600;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 90%;
    width: 350px;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.copy-link-box {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

.copy-link-box input {
    flex: 1;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
}

.copy-link-box button {
    padding: 8px 15px;
    background: var(--primary-navy);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}