/* ==================== 预约演示弹窗样式 ==================== */

/* 弹窗背景遮罩 */
.reservation-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1005;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* PC端大弹窗 */
.reservation-modal-content.pc {
    width: 100%;
    max-width: 900px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: reservationModalShow 0.4s ease-out;
}

/* 移动端小弹窗 */
.reservation-modal-content.mobile {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: reservationModalShow 0.4s ease-out;
}

@keyframes reservationModalShow {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 左侧内容区域 */
.reservation-modal-left {
    flex: 1;
    background: url(/public/static/cms/default/images/mdole.png) no-repeat;
    background-size: cover;
    color: white;
}

.reservation-modal-left h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.reservation-modal-left p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}

.reservation-stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.reservation-stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.reservation-stat-number {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.reservation-stat-text {
    font-size: 14px;
    opacity: 0.9;
}

.reservation-products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.reservation-product-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
}

/* 右侧表单区域 */
.reservation-modal-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile .reservation-modal-right {
    padding: 30px 25px;
}

.reservation-modal-lefts {
    text-align: left;
}

.reservation-modal-lefts h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.reservation-modal-lefts p {
    font-size: 14px;
    color: #7B7B7B;
}

.reservation-form-title {
    font-size: 20px;
    color: #333;
    margin-right: 10px;
}

.reservation-form-group {
    margin-bottom: 20px;
    width: 250px;
    margin-left: 5px;
}

.reservation-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 15px;
}

.reservation-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.reservation-form-control:focus {
    border-color: #1a6bc4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 107, 196, 0.2);
}

/* 验证码区域 */
.reservation-verification-group {
    display: flex;
    gap: 5px;
}

.reservation-verification-group .reservation-form-control {
    flex: 1;
}

.reservation-verification-code {
    width: 120px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1a6bc4;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    letter-spacing: 2px;
}

/* 提交按钮 */
.reservation-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(269deg, #F66B3B 0%, #FF8214 99%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.reservation-submit-btn:hover {
    background: linear-gradient(269deg, #F66B3B 0%, #FF8214 99%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 关闭按钮 */
.reservation-close-btn {
    font-size: 24px;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 10;
}

.reservation-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.reservation-form-groups {
    margin-bottom: 20px;
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .reservation-modal-content.pc {
        display: none;
    }

    .reservation-modal-content.mobile {
        display: block;
    }

    .reservation-modal-left {
        padding: 25px 20px;
    }

    .reservation-modal-left h2 {
        font-size: 22px;
    }

    .reservation-stats-container {
        gap: 15px;
    }

    .reservation-stat-item {
        min-width: 100px;
    }

    .reservation-stat-number {
        font-size: 26px;
    }

    .reservation-products-container {
        gap: 10px;
    }

    .reservation-product-item {
        padding: 6px 12px;
        font-size: 13px;
    }

    .reservation-verification-group {
        gap: 10px;
    }

    .reservation-verification-code {
        width: 50%;
        height: 45px;
    }
}

@media (min-width: 769px) {
    .reservation-modal-content.pc {
        display: flex;
    }

    .reservation-modal-content.mobile {
        display: none;
    }
}
