/* 门票预订页面样式 */
.booking-container {
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 预订步骤导航 */
.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.booking-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 33.333%;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.step-text {
    color: #666;
    font-size: 16px;
    transition: all 0.3s;
}

.step.active .step-number {
    background-color: #c0932b;
    color: white;
}

.step.active .step-text {
    color: #c0932b;
    font-weight: bold;
}

.step.completed .step-number {
    background-color: #4CAF50;
    color: white;
}

/* 预订内容区域 */
.booking-step-content {
    display: none;
}

.booking-step-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 日期选择 */
.date-selection {
    margin-bottom: 40px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.section-title {
    color: #333;
    margin-bottom: 20px;
    font-size: 22px;
    border-bottom: 2px solid #c0932b;
    padding-bottom: 10px;
}

.date-picker {
    max-width: 400px;
    margin: 0 auto;
}

.month-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.month-nav {
    background-color: #c0932b;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.month-nav:hover {
    background-color: #a17a23;
}

.calendar {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #f1f1f1;
}

.weekdays div {
    text-align: center;
    padding: 10px;
    font-weight: bold;
    color: #666;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #eee;
}

.day {
    text-align: center;
    padding: 10px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.day:hover:not(.empty):not(.past) {
    background-color: #f0e6d2;
}

.day.empty {
    background-color: #f9f9f9;
    cursor: default;
}

.day.past {
    color: #ccc;
    cursor: not-allowed;
}

.day.selected {
    background-color: #c0932b;
    color: white;
}

.selected-date {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    color: #333;
}

.selected-date span {
    font-weight: bold;
    color: #c0932b;
}

/* 票种选择 */
.ticket-selection {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.ticket-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.ticket-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ticket-info h3 {
    margin: 0 0 5px 0;
    color: #333;
}

.ticket-price {
    font-size: 18px;
    font-weight: bold;
    color: #c0932b;
    margin: 5px 0;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 5px;
}

.ticket-desc {
    color: #666;
    margin: 5px 0 0 0;
    font-size: 14px;
}

.ticket-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background-color: #c0932b;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.quantity-btn:hover {
    background-color: #a17a23;
}

.quantity-btn.minus {
    border-radius: 3px 0 0 3px;
}

.quantity-btn.plus {
    border-radius: 0 3px 3px 0;
}

.ticket-quantity input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
}

.seat-map-container {
    text-align: center;
    margin-bottom: 30px;
}

.seat-map-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.seat-map-btn:hover {
    background-color: #555;
}

.order-summary {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.summary-item:last-child {
    margin-bottom: 0;
    font-weight: bold;
    color: #c0932b;
    font-size: 18px;
}

.next-step {
    text-align: center;
    margin-top: 30px;
}

.next-btn, .submit-btn {
    background-color: #c0932b;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.next-btn:hover, .submit-btn:hover {
    background-color: #a17a23;
}

.back-btn {
    background-color: #666;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.back-btn:hover {
    background-color: #555;
}

/* 联系人表单 */
.contact-form {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.required {
    color: #e74c3c;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-tip {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* 确认订单 */
.order-details {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.order-details h3 {
    color: #333;
    margin: 20px 0 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.order-details h3:first-child {
    margin-top: 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
}

.payment-options {
    margin-top: 20px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 5px;
}

.agreement {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.agreement a {
    color: #c0932b;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}

.final-price {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    color: #c0932b;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 20px;
    border-radius: 5px;
    max-width: 800px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #333;
}

.seat-map-image {
    width: 100%;
    height: auto;
    margin-top: 15px;
}

.terms-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.terms-content h4 {
    margin: 20px 0 10px;
    color: #333;
}

.terms-content h4:first-child {
    margin-top: 0;
}

.terms-content ol {
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 10px;
}

/* 成功弹窗 */
.success-content {
    text-align: center;
    padding: 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.success-buttons {
    margin-top: 30px;
}

.success-buttons button {
    background-color: #c0932b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.success-buttons button:hover {
    background-color: #a17a23;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ticket-option {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ticket-quantity {
        margin-top: 15px;
        align-self: flex-end;
    }
    
    .step-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-btn, .next-btn, .submit-btn {
        width: 100%;
    }
}