/* Compact Umrah Booking Form */
.umrah-quick-booking {
    padding: 40px 0;
    background-color: rgb(250, 249, 249);
    font-family: 'Montserrat', sans-serif;
}

.booking-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Compact Header */
.booking-header-compact {
    text-align: center;
    margin-bottom: 25px;
}

.badge-sm {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #5170FF;
    background: rgba(81, 112, 255, 0.08);
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.title-sm {
    font-size: 42px;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
}

.title-sm .primary {
    color: #5170FF;
}

.title-sm .secondary {
    color: #FD8F50;
}

/* Compact Form Card */
.form-card-compact {
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f8;
}

/* 4 Column Row */
.row-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

/* Field Group */
.field-group {
    position: relative;
}

.field-group input,
.field-group select {
    width: 100%;
    height: 48px;
    padding: 0 15px 0 40px;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    color: #1e293b;
    background: #f8faff;
    border: 1px solid #eef2f8;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.field-group select {
    appearance: none;
    cursor: pointer;
    padding-right: 30px;
}

.field-group input:focus,
.field-group select:focus {
    outline: none;
    border-color: #5170FF;
    background: white;
    box-shadow: 0 3px 10px rgba(81, 112, 255, 0.1);
}

.field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #5170FF;
    font-size: 16px;
    pointer-events: none;
    opacity: 0.7;
}

/* Passenger Field Specific */
.passenger-compact {
    position: relative;
}

.passenger-compact input {
    cursor: pointer;
    background: #f8faff;
}

/* Compact Passenger Dropdown */
.passenger-dropdown-compact {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 220px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eef2f8;
    padding: 12px;
    z-index: 100;
    display: none;
}

.passenger-dropdown-compact.show {
    display: block;
}

.compact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eef2f8;
}

.compact-row:last-child {
    border-bottom: none;
}

.compact-row span {
    font-size: 12px;
    font-weight: 500;
    color: #1e293b;
}

.compact-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.compact-counter button {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 1px solid #eef2f8;
    background: white;
    color: #5170FF;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.compact-counter button:hover {
    background: #5170FF;
    color: white;
    border-color: #5170FF;
}

.compact-counter span {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

/* Submit Row */
.submit-row-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.btn-submit-compact {
    background: linear-gradient(135deg, #5170FF, #3a5ae0);
    width: 100%;
    display: flex;
    justify-content: center;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(81, 112, 255, 0.2);
}

.btn-submit-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(81, 112, 255, 0.3);
}

.btn-submit-compact i {
    font-size: 16px;
}

.trust-badge-compact {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #5a6a7e;
}

.trust-badge-compact i {
    color: #5170FF;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .row-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .booking-wrapper {
        padding: 0 15px;
    }

    .form-card-compact {
        padding: 20px;
    }

    .row-4col {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .title-sm {
        font-size: 24px;
    }

    .submit-row-compact {
        flex-direction: column;
        gap: 15px;
    }

    .btn-submit-compact {
        width: 100%;
        justify-content: center;
    }

    .passenger-dropdown-compact {
        width: 100%;
    }
}

* Success Message Styles */ .submission-success-message {
    margin-top: 20px;
    padding: 0;
    animation: slideDown 0.5s ease-out;
}

.success-message-content {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 12px;
    padding: 2px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 12px;
}

.success-icon {
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.success-text {
    color: white;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Add a subtle fade-out animation when removing */
.submission-success-message {
    transition: opacity 0.5s ease-out;
}

/* Responsive styles for success message */
@media (max-width: 768px) {
    .success-message-content {
        padding: 14px 20px;
    }

    .success-icon {
        font-size: 24px;
    }

    .success-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .success-message-content {
        padding: 12px 16px;
    }

    .success-icon {
        font-size: 20px;
    }

    .success-text {
        font-size: 13px;
    }
}

