/* Payment Elementor Integration Plugin Styles */

/* ITN Confirm Styles */
.itn-confirm-container {
    display: block;
    margin-bottom: 20px;
    text-align: right;
}

.itn-confirm-number {
    position: relative;
    padding: 7px 15px;
    display: inline-block;
    max-width: 260px;
    border: 1px solid #7da6ca;
    border-radius: 3px;
    font-family: OpenSans-Bold, sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #2e6fa9;
    text-align: center;
    line-height: 16px;
    word-break: break-word;
}

/* Trip Itinerary Widget Styles */
.payment-itinerary-widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9fbfe;
    border: 1px solid #e1e9f5;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.payment-itinerary-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2e6fa9;
    border-bottom: 1px solid #e1e9f5;
    padding-bottom: 10px;
}

.payment-itinerary-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* Flight Itinerary Styles */
.flight-details {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.flight-detail-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2e6fa9;
}

.flight-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.flight-date {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.flight-time {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.flight-airport {
    font-size: 14px;
    color: #555;
}

.flight-connection {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.flight-connection-line {
    flex: 1;
    height: 2px;
    background-color: #ddd;
    position: relative;
}

.flight-connection-line::before,
.flight-connection-line::after {
    content: '•';
    position: absolute;
    top: -7px;
    font-size: 14px;
    color: #aaa;
}

.flight-connection-line::before {
    left: 0;
}

.flight-connection-line::after {
    right: 0;
}

/* Passenger Details Styles */
.passenger-details-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 100%;
    margin-bottom: 30px;
}

.passenger-details-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.passenger-details-notice {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    background-color: #FFF9E6;
    color: #9B7B0F;
    font-size: 14px;
    line-height: 1.5;
}

.passenger-notice-icon {
    margin-right: 10px;
    font-style: normal;
}

.passenger-details-success {
    background-color: #E6F9E6;
    color: #0F9B3F;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.passenger-details-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.passenger-section-heading {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
}

.passenger-section-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.passenger-details-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 15px;
}

.passenger-details-field {
    flex: 1;
    min-width: 250px;
    padding: 0 10px;
    margin-bottom: 15px;
}

.passenger-details-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.field-label {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    color: #666;
    margin-right: 5px;
    font-weight: normal;
}

.passenger-details-field input,
.passenger-details-field select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.phone-input-wrapper {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.country-code {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background-color: #f5f5f5;
    border-right: 1px solid #ddd;
    cursor: pointer;
}

.flag {
    margin-right: 5px;
}

.arrow {
    font-size: 10px;
    color: #999;
}

.phone-input-wrapper input {
    border: none;
    flex: 1;
}

.passenger-details-submit {
    margin-top: 20px;
}

.passenger-details-button {
    background-color: #2e6fa9;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.passenger-details-button:hover {
    background-color: #255a8c;
}

/* Passenger Details Display Styles */
.payment-passenger-details-display {
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.passenger-info-section, 
.passenger-contact-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

.passenger-info-section h4, 
.passenger-contact-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 8px;
}

.passenger-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.info-row {
    margin-bottom: 8px;
}

.info-label {
    font-weight: 600;
    color: #555;
}

.info-value {
    margin-left: 5px;
}

/* Trip Information Section Styles */
.trip-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e1e9f5;
}

.trip-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trip-section-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2e6fa9;
}

.trip-item {
    margin-bottom: 5px;
}

.trip-item-label {
    font-weight: 600;
    color: #444;
}

/* Responsive Styles */
/* Responsive Styles */
@media (max-width: 767px) {
    /* Maintain horizontal layout for flight routes */
    .flight-route {
        flex-direction: row; /* Keep horizontal layout */
        flex-wrap: nowrap; /* Prevent wrapping */
        margin-bottom: 15px;
    }
    
    /* Adjust spacing and sizing for smaller screens */
    .flight-connection {
        padding: 0 10px; /* Slightly reduce padding */
    }
    
    /* Keep connection line horizontal */
    .flight-connection-line {
        height: 2px;
        width: 100%;
    }
    
    /* Keep points on line properly positioned */
    .flight-stop-point {
        top: -5px; /* Keep vertical position */
    }
    
    /* Adjust departure/arrival info for smaller screens */
    .flight-departure, .flight-arrival {
        min-width: 60px; /* Ensure minimum width */
    }
    
    /* Adjust font sizes for better mobile display */
    .flight-time {
        font-size: 16px; /* Slightly smaller time display */
    }
    
    .flight-airport {
        font-size: 12px; /* Slightly smaller airport code */
    }
    
    /* Adjust tooltip position for mobile */
    .flight-stop-tooltip {
        bottom: 18px; 
        min-width: 150px; /* Smaller tooltip width */
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Keep these unrelated styles */
    .passenger-details-row {
        flex-direction: column;
    }
    
    .passenger-details-field {
        min-width: 100%;
    }
    .flight-connection-line::before,
.flight-connection-line::after {
    display: none;
}
}