/**
 * Elephanta Modern Booking UI - Retrofitted for Original CSS
 */

:root {
    --ele-primary: #bd0f0f;
    --ele-primary-hover: #9c0c0c;
    --ele-text-dark: #1a171b;
    --ele-text-muted: #a7a7a7;
    --ele-transition: all 0.3s ease;
}

/* Sticky Mobile Footer (Retrofitted for original Red) */
.sticky-booking-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 12px 20px;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid var(--ele-primary);
}

.footer-action-btn {
    background: var(--ele-primary) !important;
    color: white !important;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

@media (max-width: 767px) {
    .sticky-booking-footer.show {
        display: flex;
    }
}

/* Urgency Badge (Uses original Red) */
.badge-urgency {
    background: var(--ele-primary);
    color: white;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    border-radius: 2px;
}

/* Stepper UI (Retrofitted for original Red) */
.booking-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step-item {
    text-align: center;
    flex: 1;
}

.step-icon {
    width: 32px;
    height: 32px;
    background: #f1f1f1;
    border-radius: 50%;
    margin: 0 auto 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
}

.step-item.active .step-icon {
    background: var(--ele-primary);
    color: white;
}

.step-item.active .step-text {
    color: var(--ele-primary);
    font-weight: 600;
    font-size: 12px;
}

/* Lift Effect (Subtle) */
.hover-lift:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    transform: translateY(-2px);
    transition: var(--ele-transition);
}

/* OTP Modal */
.otp-auth-modal .modal-content {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

.otp-input-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.otp-digit {
    height: 54px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border-radius: 8px;
}

/* Premium Modify Booking Sidebar */
.modify-booking-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--ele-transition);
}

.modify-booking-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.modify-header {
    background: var(--ele-text-dark);
    color: white;
    padding: 15px 20px;
}

.modify-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modify-body {
    padding: 20px;
}

/* Luxury Spinner Controls */
.luxury-spinner-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--ele-text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.luxury-spinner {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #eee;
    margin-bottom: 15px;
}

.spinner-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
    color: var(--ele-text-dark);
    cursor: pointer;
    transition: var(--ele-transition);
    border: 1px solid #eee;
    user-select: none;
}

.spinner-btn:hover {
    background: var(--ele-primary);
    color: white;
    border-color: var(--ele-primary);
}

.spinner-value {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    border: none;
    background: transparent;
    width: 100%;
}

.spinner-value:focus {
    outline: none;
}

.update-search-btn {
    width: 100%;
    background: var(--ele-primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: var(--ele-transition);
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(189, 15, 15, 0.2);
}

.update-search-btn:hover {
    background: var(--ele-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 15, 15, 0.3);
}

.update-search-btn i {
    margin-right: 8px;
}

/* 2-Column Booking Layout */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

@media (min-width: 992px) {
    .booking-grid {
        grid-template-columns: 350px 1fr;
    }
}

/* Trust Badges & Labels */
.trust-banner {
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #cc0000;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.trust-banner h6 {
    color: #cc0000;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 15px;
}

.trust-banner p {
    font-size: 13.5px;
    color: #444;
    margin: 0;
    line-height: 1.5;
}

.trust-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.trust-badge i {
    font-size: 20px;
    color: #28a745;
}

/* Review Dates UI */
.review-stay-summary {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 20px;
}

.date-pick-field {
    margin-bottom: 20px;
}

.date-pick-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

.date-pick-field .date-input-wrapper {
    position: relative;
}

.date-pick-field i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
}

.date-pick-field input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 15px;
    background: #fdfdfd;
}

.intro-text-block {
    margin-bottom: 30px;
}

.intro-text-block h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--ele-text-dark);
    margin-bottom: 12px;
}

.intro-text-block p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}
