/**
 * Upgraded Package Tour Frontend CSS
 */

/* Tour Booking Form */
.upt-booking-form {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 3px;
}

.upt-booking-form h3 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.upt-form-row {
    margin-bottom: 15px;
}

.upt-form-row:after {
    content: "";
    display: table;
    clear: both;
}

.upt-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.upt-form-row select,
.upt-form-row input[type="text"],
.upt-form-row input[type="date"],
.upt-form-row input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    height: auto;
    max-width: 100%;
    background-color: #fff;
    color: #333;
    -webkit-appearance: menulist;
    appearance: menulist;
    min-height: 42px;
}

.upt-hotel-select,
.upt-date-picker {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
}

.upt-hotel-select option {
    padding: 5px;
    background-color: #fff;
    color: #333;
}

/* Destinations */
.upt-destination-block {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
}

.upt-destination-block h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Add-ons */
.upt-addons-block {
    margin-top: 20px;
}

.upt-addon-item {
    margin-bottom: 0;
}

/* Price Display */
.upt-price-calculator {
    margin: 20px 0;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 3px;
}

.upt-price-breakdown {
    margin-top: 10px;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.upt-hotel-details, 
.upt-addons-price-section {
    margin-bottom: 10px;
}

.upt-hotel-details p,
.upt-addons-price-section p {
    margin: 3px 0;
}

.upt-price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 3px 0;
    border-bottom: 1px dashed #eee;
}

.upt-price-item:last-child {
    border-bottom: none;
}

.upt-total-price {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    font-weight: 700;
    font-size: 16px;
}

/* Validation Messages */
.upt-validation-error {
    color: #b32d2e;
    background-color: #fef7f7;
    border: 1px solid #fde2e2;
    padding: 10px;
    margin: 10px 0;
    border-radius: 3px;
}

.upt-validation-success {
    color: #0f834d;
    background-color: #ecf7ed;
    border: 1px solid #c9e6ca;
    padding: 10px;
    margin: 10px 0;
    border-radius: 3px;
}

.upt-booking-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.upt-booking-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #023867;
    margin-bottom: 15px;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    padding: 25px 0 0;
}

.upt-booking-title-separator {
    border-bottom: 2px solid #023867;
    margin-bottom: 20px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.upt-form-group {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.upt-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 16px;
    color: #333;
}

.upt-hotel-select,
.upt-date-picker {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
}

.upt-number-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
}

.upt-addons-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.upt-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 2px;
}

.upt-checkbox-label input {
    margin-right: 8px;
}

.upt-booking-details {
    margin-top: 5px;
    border-radius: 0;
    padding: 0;
}

.upt-booking-details h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
    text-align: left;
    font-weight: 500;
}

.upt-payment-options-container {
    margin: 20px 0 15px;
}

.upt-payment-option-buttons {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
}

.upt-payment-option-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.upt-full-payment {
    border-radius: 4px 0 0 4px;
    background-color: #003366;
    color: white;
}

.upt-full-payment.active {
    background-color: #003366;
    color: white;
}

.upt-deposit-payment {
    border-radius: 0 4px 4px 0;
    background-color: #f5f5f5;
    color: #555;
}

.upt-deposit-payment.active {
    background-color: #003366;
    color: white;
}

.upt-payment-option-btn input {
    position: absolute;
    opacity: 0;
}

.single_add_to_cart_button {
    width: 100%;
    padding: 15px !important;
    font-size: 16px !important;
    text-transform: uppercase;
    font-weight: 500 !important;
    background-color: #023867 !important;
    color: white !important;
    font-family: 'Poppins', sans-serif !important;
    border: none !important;
    border-radius: 4px !important;
    display: block;
    margin: 0 auto !important;
    text-align: center;
    margin-left: 0 !important;
}

.upt-form-group:last-of-type {
    margin-bottom: 4px;
    padding-bottom: 4px;
}

/* Custom Datepicker Styling */
.ui-datepicker {
    width: 100%;
    max-width: 300px;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: 10px 0;
    background: #003366;
    color: white;
    border: none;
    border-radius: 0;
}

.ui-datepicker .ui-datepicker-title {
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev {
    left: 8px;
}

.ui-datepicker .ui-datepicker-next {
    right: 8px;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: 50%;
    margin-top: -8px;
    filter: brightness(0) invert(1);
}

.ui-datepicker table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
    margin: 0;
}

.ui-datepicker th {
    padding: 10px 0;
    text-align: center;
    font-weight: 500;
    border: 0;
    width: 14.28%;
}

.ui-datepicker td {
    border: 1px solid #e5e5e5;
    padding: 0;
    text-align: center;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: block;
    padding: 8px 0;
    text-align: center;
    text-decoration: none;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
    border: none;
    background: #003366;
    color: white;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight {
    background: #003366;
    color: white;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    background: #003366;
    color: white;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover {
    background: #003366;
    color: white;
}

.ui-datepicker .ui-datepicker-unselectable .ui-state-default {
    background: white;
    color: #2b2b2b;
} 