/* ============================================
   BOOKING MODALS STYLESHEET
   ============================================ */

/* Save & Continue Later Modal */
.save-email-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.save-email-modal.show {
    display: flex !important;
}

.save-email-content {
    background: #2b2b2b;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    border: 2px solid #ff6347;
    animation: modalZoom 0.3s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.save-email-content h3 {
    color: #ff6347;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.save-email-content p {
    color: #ccc;
    margin-bottom: 20px;
}

.save-email-input {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    border: 2px solid #444;
    border-radius: 10px;
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    margin-bottom: 20px;
}

.save-email-input:focus {
    outline: none;
    border-color: #ff6347;
    box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.1);
}

.save-email-actions {
    display: flex;
    gap: 10px;
}

.save-email-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send-link {
    background: linear-gradient(135deg, #ff6347, #ff4500);
    color: white;
}

.btn-send-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 99, 71, 0.4);
}

.btn-cancel-save {
    background: #444;
    color: white;
}

.btn-cancel-save:hover {
    background: #555;
}

/* Manage Booking Modal */
.manage-booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.manage-booking-modal.show {
    display: flex !important;
}

.manage-booking-content {
    background: #2b2b2b;
    padding: 40px;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    border: 2px solid #ff6347;
    margin: 20px auto;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.manage-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #444;
}

.manage-booking-header h3 {
    color: #ff6347;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.5rem;
}

.close-modal-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal-btn:hover {
    color: #ff6347;
    background: rgba(255, 99, 71, 0.1);
}

.booking-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.action-card {
    background: #1a1a1a;
    padding: 25px 20px;
    border-radius: 15px;
    border: 2px solid #444;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-card:hover {
    border-color: #ff6347;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 99, 71, 0.3);
    background: #222;
}

.action-card i {
    font-size: 2.5rem;
    color: #ff6347;
    margin-bottom: 10px;
}

.action-card h4 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.action-card p {
    color: #999;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Fee Structure */
.fee-structure {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #333;
}

.fee-structure h4 {
    color: #ff6347;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #333;
    color: #ccc;
}

.fee-item:last-child {
    border-bottom: none;
}

.fee-item .fee-amount {
    color: #ff6347;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Refund Policy */
.refund-policy {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #333;
}

.refund-policy h4 {
    color: #ff6347;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refund-tier {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #222;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.refund-tier:hover {
    background: #292929;
}

.refund-tier .tier-icon {
    font-size: 1.8rem;
    min-width: 30px;
}

.refund-tier .tier-info {
    flex: 1;
}

.refund-tier .tier-label {
    color: white;
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 1rem;
}

.refund-tier .tier-desc {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.3;
}

.refund-tier .tier-amount {
    color: #4CAF50;
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 70px;
    text-align: right;
}

/* Cart Abandonment Banner */
.abandonment-banner {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6347, #ff4500);
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-width: 600px;
    width: 90%;
    transition: bottom 0.5s ease;
}

.abandonment-banner.show {
    bottom: 0;
}

.abandonment-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.abandonment-icon {
    font-size: 2rem;
}

.abandonment-text {
    flex: 1;
}

.abandonment-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.abandonment-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.abandonment-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.abandonment-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Auto-save Indicator */
.auto-save-indicator {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #1a1a1a;
    color: #4CAF50;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid #4CAF50;
    font-size: 0.85rem;
    display: none;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    animation: slideInLeft 0.3s ease;
}

.auto-save-indicator.show {
    display: flex;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Modal Scroll */
.manage-booking-content::-webkit-scrollbar {
    width: 8px;
}

.manage-booking-content::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.manage-booking-content::-webkit-scrollbar-thumb {
    background: #ff6347;
    border-radius: 10px;
}

.manage-booking-content::-webkit-scrollbar-thumb:hover {
    background: #ff4500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-actions-grid {
        grid-template-columns: 1fr;
    }

    .manage-booking-content {
        padding: 25px 20px;
        width: 95%;
    }

    .abandonment-banner {
        width: 95%;
        padding: 15px 20px;
    }

    .abandonment-content {
        gap: 10px;
    }

    .abandonment-icon {
        font-size: 1.5rem;
    }

    .abandonment-text h4 {
        font-size: 1rem;
    }

    .abandonment-text p {
        font-size: 0.85rem;
    }
}