/* Semak Tempahan - Prefixed with asme-st- */

.asme-st-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Page Title */
.asme-st-page-title {
    font-size: 24px;
    font-weight: 900;
    color: #333;
    margin-bottom: 30px;
    margin-top: 30px;
}

/* Two Column Wrapper */
.asme-st-main-wrapper {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 20px;
    align-items: flex-start;
}

/* LEFT COLUMN */
.asme-st-left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Package Card */
.asme-st-package-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
}

/* Package Header - Label, Title, and Duration in one row */
.asme-st-package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.asme-st-package-header-left {
    flex: 1;
}

.asme-st-package-label {
    display: block;
    font-size: 10px;
    color: #333;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.asme-st-package-title {
    ont-size: 24px!important;
    font-weight: bold!important;
    color: #333;
    margin: 0;
}

/* Package Duration Badge - Now in header */
.asme-st-package-header .asme-st-package-duration {
    background: #E5E7EB;
  color: #333;
  padding: 0 25px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-left: 15px;
  flex-shrink: 0;
}

/* Flight Info Grid */
.asme-st-flight-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.asme-st-info-item.border {
    border-right: 1px solid #e0e0e0;
    width: 95%;
}

.asme-st-info-item.padding-bottom {
    padding-bottom: 15px;
}

.asme-st-flight-info-grid:last-child {
    margin-bottom: 0;
}

.asme-st-info-item {
    display: flex;
    flex-direction: column;
}

.asme-st-info-label {
    display: block;
    font-size: 10px;
    color: #333;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.asme-st-info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Airline Logo */
.asme-st-airline-logo {
    max-height: 40px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.asme-st-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* .asme-st-package-duration {
    background: #007cba;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.asme-st-price-summary {
    text-align: right;
} */

/* .asme-st-price-item {
    margin-bottom: 5px;
    color: #666;
}

.asme-st-total-price {
    margin: 10px 0;
    color: #333;
    font-size: 16px;
} */

/* .asme-st-deposit-info {
    margin-top: 15px;
} */

/* .asme-st-deposit-label {
    display: block;
    color: #007cba;
    font-size: 12px;
    margin-bottom: 5px;
} */

/* .asme-st-deposit-amount {
    font-size: 18px;
    font-weight: bold;
    color: #333;
} */

.asme-st-flight-details-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.asme-st-flight-details-card h2 {
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 900;
}

.asme-st-info-item label {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 900;
}

.asme-st-info-item div {
    font-size: 18px;
    color: #333;
    font-weight: 400;
}

.asme-st-passengers-section {
    margin-bottom: 30px;
}

.asme-st-passengers-section h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 900;
}

.asme-st-package-card {
    box-shadow: 0 6px 10px -2px #d0d0d0;
}

.asme-st-passenger-display-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 6px 10px -2px #d0d0d0;
    padding: 20px;
    margin-bottom: 15px;
}

.asme-st-passenger-card-title {
    font-size: 16px;
    font-weight: 900;
    color: #333;
    margin: 0 0 15px 0;
}

.asme-st-primary-contact-section {
    margin-bottom: 15px;
}

.asme-st-passenger-info-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 0;
}

.asme-st-separator {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 15px 0;
}

.asme-st-passenger-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 15px;
}

.asme-st-passenger-info-grid:last-child {
    margin-bottom: 0;
}

.asme-st-info-item-small {
    max-width: 150px;
}

.asme-st-terms-section {
    background: white;
    border-radius: 8px;
    margin-bottom: 30px;
}

.asme-st-terms-section h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 900;
}

.asme-st-terms-section h4 {
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: bold;
}

.asme-st-terms-content p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #555;
    text-align: justify;
}

.asme-st-terms-checkbox {
    margin-top: 20px;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.asme-st-terms-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.asme-st-terms-checkbox label {
    font-size: 14px;
    color: #007cba;
    cursor: pointer;
    line-height: 1.4;
}

.asme-st-form-actions {
    text-align: center;
    margin-top: 40px;
}

/* .asme-st-submit-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    transition: background 0.2s;
}

.asme-st-submit-btn:hover:not(:disabled) {
    background: #005a8b;
}

.asme-st-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
} */

/* RIGHT COLUMN: Price Summary */
.asme-st-right-column {
    position: sticky;
    top: 20px;
}

.asme-st-price-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 6px 10px -2px #d0d0d0;
    border-radius: 8px;
    padding: 25px;
    width: 100%;
}

.asme-st-package-duration {
    background: #f5f5f5;
    color: #666;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 20px;
}

/* Price Summary */
.asme-st-price-summary {
    width: 100%;
}

.asme-st-price-item {
    margin-bottom: 8px;
    /* padding: 8px 0; */
    text-align:right;
}

.asme-st-passenger-count {
    display: block;
    color: #666;
    font-size: 14px;
    font-weight: 900;
}

/* Total Price */
.asme-st-total-price {
    /* margin: 20px 0; */
    padding: 15px 0;
    /* border-top: 1px solid #e0e0e0; */
    border-bottom: 1px solid #e0e0e0;
    text-align:right;
}

.asme-st-total-label {
    display: block;
    font-size: 13px;
    color: #0ea5e9;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.asme-st-total-amount {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Deposit Info */
.asme-st-deposit-info {
    margin: 20px 0;
    text-align: right;
}

.asme-st-deposit-label {
    display: block;
    color: #0ea5e9;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.asme-st-deposit-amount {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* Submit Button - Highest Specificity to Override Elementor */
[type="submit"].asme-st-submit-btn,
button[type="submit"].asme-st-submit-btn,
button.asme-st-submit-btn {
    background: #008EEC !important;
    background-color: #008EEC !important;
    color: #ffffff !important;
    border: none !important;
    border-style: none !important;
    padding: 20px 24px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-top: 20px !important;
    width: 100% !important;
    transition: all 0.2s !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    box-sizing: border-box !important;
    display: block !important;
    text-align: center !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    white-space: nowrap !important;
}

[type="submit"].asme-st-submit-btn:hover,
button[type="submit"].asme-st-submit-btn:hover,
button.asme-st-submit-btn:hover {
    background: #0284c7 !important;
    background-color: #0284c7 !important;
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.3) !important;
    transform: translateY(-1px) !important;
}

[type="submit"].asme-st-submit-btn:active,
button[type="submit"].asme-st-submit-btn:active,
button.asme-st-submit-btn:active {
    transform: translateY(0) !important;
}

/* Styling for the error message text */
label.error {
    color: red !important;
    font-size: 12px !important;
    margin-top: 5px !important;
}

@media (max-width: 768px) {
    .asme-st-booking-header {
        flex-direction: column;
        gap: 20px;
    }

    .asme-st-flight-info-grid,
    .asme-st-passenger-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .asme-st-terms-checkbox {
        flex-direction: column;
        gap: 10px;
    }

    .asme-st-container {
        padding: 15px;
    }

    .asme-st-page-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .asme-st-package-card,
    .asme-st-passenger-card,
    .asme-st-price-card {
        padding: 20px;
    }
}

@media (max-width: 1200px) {
    .asme-st-main-wrapper {
        grid-template-columns: 60% 35%;
        gap: 5%;
    }
}

@media (max-width: 992px) {
    .asme-st-main-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .asme-st-left-column {
        position: static;
        order: 1; 
    }
    
    .asme-st-right-column {
        position: static;
        order: 2;
    }

    .asme-st-price-card {
        width: 100%;
    }
}