/* Best of Seville Tour - Frontend Styles */
/* Color Corporativo: #54D693 */

.bost-booking-form-wrapper {
    max-width: 1300px;
    margin: auto;
    padding: 0 0px;
}

.bost-booking-form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.bost-form-header {
    background: linear-gradient(135deg, #54D693 0%, #3bc078 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.bost-form-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: bold;
}

.bost-form-header h2 i {
    margin-right: 10px;
}

.bost-form-header p {
    margin: 0;
    opacity: 0.9;
}

.bost-form-step {
    padding: 30px;
    display: none;
}

.bost-form-step.bost-step-active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bost-form-step h3 {
    margin: 0 0 25px 0;
    font-size: 22px;
    color: #333;
    border-bottom: 2px solid #54D693;
    padding-bottom: 10px;
}

.bost-form-step h3 i {
    margin-right: 10px;
    color: #54D693;
}

.bost-form-group {
    margin-bottom: 20px;
}

.bost-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.bost-form-group label i {
    margin-right: 8px;
    color: #54D693;
    width: 20px;
    text-align: center;
}

.bost-form-group input[type="text"],
.bost-form-group input[type="email"],
.bost-form-group input[type="tel"],
.bost-form-group input[type="date"],
.bost-form-group input[type="number"],
.bost-form-group textarea,
.bost-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.bost-form-group input:focus,
.bost-form-group textarea:focus,
.bost-form-group select:focus {
    outline: none;
    border-color: #54D693;
    box-shadow: 0 0 0 3px rgba(84, 214, 147, 0.1);
}

.bost-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.bost-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .bost-form-row {
        grid-template-columns: 1fr;
    }
}

/* Custom Calendar Widget */
#bost-calendar-widget {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.bost-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #54D693;
}

.bost-calendar-header h4 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.bost-calendar-nav {
    display: flex;
    gap: 10px;
}

.bost-calendar-nav button {
    background: #54D693;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.bost-calendar-nav button:hover {
    background: #3bc078;
    transform: scale(1.1);
}

.bost-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.bost-calendar-day-name {
    text-align: center;
    font-weight: 600;
    color: #666;
    padding: 10px 5px;
    font-size: 14px;
}

.bost-calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.bost-calendar-date {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.bost-calendar-date:not(.disabled):not(.other-month):hover {
    background: rgba(84, 214, 147, 0.8);
    border-color: #54D693;
}

.bost-calendar-date.selected {
    background: #54D693;
    color: white;
    font-weight: bold;
}

.bost-calendar-date.today {
    border-color: #54D693;
    font-weight: bold;
}

.bost-calendar-date.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.bost-calendar-date.other-month {
    color: #ddd;
    cursor: default;
}

/* Time Slots */
.bost-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.bost-time-slot {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.bost-time-slot:hover {
    border-color: #54D693;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(84, 214, 147, 0.2);
}

.bost-time-slot.selected {
    background: #54D693;
    border-color: #54D693;
    color: white;
}

.bost-time-slot-time {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.bost-time-slot-time i {
    margin-right: 8px;
    font-size: 20px;
}

.bost-time-slot-language {
    font-size: 18px;
    margin-bottom: 5px;
}

.bost-time-slot-spots {
    font-size: 14px;
    opacity: 0.8;
}

.bost-time-slot.selected .bost-time-slot-spots {
    opacity: 1;
}

.bost-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.bost-loading i {
    margin-right: 10px;
    font-size: 20px;
}

/* Booking Summary */
.bost-booking-summary {
    background: #f8f9fa;
    border-left: 4px solid #54D693;
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
}

.bost-booking-summary h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.bost-booking-summary h4 i {
    margin-right: 8px;
    color: #54D693;
}

.bost-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.bost-summary-item:last-child {
    border-bottom: none;
}

.bost-summary-label {
    font-weight: 600;
    color: #666;
}

.bost-summary-label i {
    margin-right: 8px;
    color: #54D693;
}

.bost-summary-value {
    font-weight: bold;
    color: #333;
}

/* Terms */
.bost-terms {
    margin: 20px 0;
}

.bost-terms label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.bost-terms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Form Actions */
.bost-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.bost-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.bost-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bost-btn-primary {
    background: #54D693;
    color: white;
}

.bost-btn-primary:hover:not(:disabled) {
    background: #3bc078;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(84, 214, 147, 0.3);
}

.bost-btn-secondary {
    background: #6c757d;
    color: white;
}

.bost-btn-secondary:hover {
    background: #5a6268;
}

.bost-btn-success {
    background: #54D693;
    color: white;
    font-size: 18px;
}

.bost-btn-success:hover {
    background: #3bc078;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(84, 214, 147, 0.3);
}

/* Messages */
#bost-messages {
    margin: 20px 30px 0;
}

.bost-message {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bost-message-success {
    background: #d4f4e2;
    color: #155724;
    border: 1px solid #b8edce;
}

.bost-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.bost-message-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Success Screen */
.bost-success-message {
    text-align: center;
    padding: 40px 20px;
}

.bost-success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    color: #54D693;
}

.bost-success-message h3 {
    color: #54D693;
    font-size: 28px;
    margin-bottom: 20px;
}

.bost-booking-code {
    background: #f8f9fa;
    border: 2px dashed #54D693;
    padding: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #54D693;
    letter-spacing: 2px;
    margin: 20px 0;
    border-radius: 5px;
}

.bost-success-message p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
}

/* Loading Spinner */
.bost-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #54D693;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .bost-booking-form-wrapper {
        margin: 20px auto;
        padding: 0 10px;
    }
    
    .bost-form-step {
        padding: 20px;
    }
    
    .bost-form-header {
        padding: 20px;
    }
    
    .bost-form-header h2 {
        font-size: 24px;
    }
    
    .bost-time-slots {
        grid-template-columns: 1fr;
    }
    
    .bost-form-actions {
        flex-direction: column;
    }
    
    .bost-btn {
        justify-content: center;
    }
    
    .bost-calendar-dates {
        gap: 3px;
    }
    
    .bost-calendar-date {
        font-size: 14px;
    }
}
.bost-calendar-date.available-date {
    background: #54D693 !important;
    color: white !important;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(84, 214, 147, 0.3);
}

.bost-calendar-date.unavailable-date {
    background: #f5f5f5 !important;
    color: #999 !important;
    opacity: 0.6;
}

.bost-calendar-date.available-date:hover {
    background: #45b377 !important;
    transform: scale(1.05);
}
/* Día seleccionado - Cambiar color */
.bost-calendar-date.selected {
    background: #ff6b35 !important; /* Naranja */
    color: white !important;
    border: 3px solid #e55a2b !important;
    font-weight: bold;
    transform: scale(1.1);
    z-index: 10;
}

/* Hover del día seleccionado */
.bost-calendar-date.selected:hover {
    background: #e55a2b !important;
    transform: scale(1.15);
}