/* Cart Page Styles */
.cart-container {
    min-height: calc(100vh - 140px);
    background-color: #f5f5f5;
    padding: 2rem 0;
    margin-top: 70px;
}

.cart-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

/* Cart Items Section */
.cart-items-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.cart-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 600;
}

.cart-items {
    margin-bottom: 2rem;
}

/* Cart Item Card */
.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.cart-item-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #666;
    font-size: 0.9rem;
}

.cart-item-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e88e5;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #4caf50;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.remove-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.remove-btn:hover {
    color: #f44336;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-cart h3 {
    color: #666;
    margin-bottom: 1rem;
}

.empty-cart .btn {
    background: #1e88e5;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.empty-cart .btn:hover {
    background: #1976d2;
    transform: translateY(-2px);
}

/* Suggestions Section */
.suggestions-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.suggestions-section h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.suggestions-subtitle {
    color: #666;
    margin-bottom: 1.5rem;
}

.suggested-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.suggested-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.suggested-item:hover {
    border-color: #1e88e5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.suggested-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.suggested-item-location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.suggested-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e88e5;
    margin-bottom: 0.5rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.6rem;
    background: #1e88e5;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: #1976d2;
}

/* Order Summary */
.order-summary {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.summary-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Form Controls */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #1e88e5;
}

.duration-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

/* Coupon Section */
.coupon-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.coupon-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #333;
}

.coupon-input {
    display: flex;
    gap: 0.5rem;
}

.coupon-input input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.apply-btn {
    padding: 0.6rem 1.5rem;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.apply-btn:hover {
    background: #ee2e45;
}

/* Price Details */
.price-details {
    margin-bottom: 1.5rem;
}

.price-details h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #333;
}

.price-row.discount {
    color: #4caf50;
}

.coupon-discount {
    color: #ff4757;
    cursor: pointer;
}

.total-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

/* Place Order Button */
.place-order-btn {
    width: 100%;
    padding: 1rem;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.place-order-btn:hover {
    background: #ee2e45;
    transform: translateY(-2px);
}

/* Social Cause */
.social-cause {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.social-cause input[type="checkbox"] {
    margin-top: 0.2rem;
}

.social-cause label {
    flex: 1;
    cursor: pointer;
}

.social-cause small {
    color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .cart-container {
        padding: 1rem 0;
    }
    
    .cart-items-section,
    .summary-card {
        padding: 1rem;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .suggested-items {
        grid-template-columns: 1fr;
    }
    
    .duration-input {
        grid-template-columns: 2fr 1fr;
    }
}

/* Success Animation */
@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-animation {
    animation: successPulse 0.5s ease-in-out;
}
/* Booking Success Modal Styles with bk- prefix */

/* Modal Overlay */
.bk-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    animation: bk-fadeIn 0.3s ease;
}

.bk-modal-overlay.bk-show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content */
.bk-modal-content {
    background: white;
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: bk-slideIn 0.4s ease;
    overflow: hidden;
}

/* Modal Header */
.bk-modal-header {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.bk-success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bk-scaleIn 0.5s ease 0.3s both;
}

.bk-success-icon i {
    color: #4caf50;
    background: white;
    border-radius: 50%;
    padding: 0.5rem;
}

.bk-modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bk-order-id {
    font-size: 1rem;
    opacity: 0.9;
}

.bk-order-id span {
    font-weight: 600;
    color: #fff;
}

/* Modal Body */
.bk-modal-body {
    padding: 2rem;
}

.bk-success-message {
    background: #f0f8ff;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bk-success-message i {
    font-size: 2rem;
    color: #1e88e5;
}

.bk-success-message p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* Contact Info */
.bk-contact-info {
    margin-bottom: 2rem;
}

.bk-contact-info h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bk-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bk-contact-info li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    border-bottom: 1px solid #eee;
}

.bk-contact-info li:last-child {
    border-bottom: none;
}

.bk-contact-info li i {
    color: #1e88e5;
    width: 20px;
}

/* Modal Actions */
.bk-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.bk-modal-actions .bk-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.bk-modal-actions .bk-primary-btn {
    background: #1e88e5;
    color: white;
}

.bk-modal-actions .bk-primary-btn:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.bk-modal-actions .bk-secondary-btn {
    background: #f5f5f5;
    color: #333;
}

.bk-modal-actions .bk-secondary-btn:hover {
    background: #e0e0e0;
}

/* Animations */
@keyframes bk-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bk-slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bk-scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Loading state for place order button */
.place-order-btn.bk-loading {
    position: relative;
    color: transparent;
}

.place-order-btn.bk-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: bk-spinner 0.8s linear infinite;
}

@keyframes bk-spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design for Modal */
@media (max-width: 600px) {
    .bk-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .bk-modal-header {
        padding: 1.5rem;
    }
    
    .bk-success-icon {
        font-size: 3rem;
    }
    
    .bk-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .bk-modal-body {
        padding: 1.5rem;
    }
    
    .bk-modal-actions {
        flex-direction: column;
    }
    
    .bk-modal-actions .bk-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Customer Information Section Styles */
.customer-info-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.customer-info-section h4 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.customer-info-section .form-group {
    margin-bottom: 1rem;
}

.customer-info-section .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.customer-info-section .form-control:focus {
    outline: none;
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.customer-info-section .form-control::placeholder {
    color: #999;
}

/* Validation styles */
.customer-info-section .form-control.error {
    border-color: #f44336;
}

.customer-info-section .form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.error-message {
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Required field indicator */
.customer-info-section .form-control[required]::placeholder::after {
    content: " *";
    color: #f44336;
}