/* 移动端技术报告表单样式 - 仅移动端使用 */

/* 移动端遮罩层样式 */
.mobile-report-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-report-overlay.overlay-active {
    opacity: 1;
    visibility: visible;
}

.mobile-report-overlay.overlay-off {
    opacity: 0;
    visibility: hidden;
}

/* 移动端模态框样式 */
.mobile-report-modal {
    background: white;
    border-radius: 8px;
    width: 800px;
    height: 440px;
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: auto;
}

.mobile-report-modal .modal-left {
    width: 40%;
    background: linear-gradient(135deg, #c4001d, #ff4757);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.mobile-report-modal .modal-right {
    width: 60%;
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mobile-report-modal .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-report-modal .close-btn-img {
    width: 24px;
    height: 24px;
}

.mobile-report-modal .logo {
    text-align: center;
    margin-bottom: 6px;
}

.mobile-report-modal .logo-img {
    max-width: 150px;
    max-height: 50px;
}

/* 表单样式 */
.overlayBorder {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 2px;
    box-sizing: border-box;
    height: 40px;
}

.overlayBorder input {
    border: none;
    outline: none;
    padding: 3px 12px;
    font-size: 14px;
    background: transparent;
    box-sizing: border-box;
    width: calc(100% - 24px) !important;
    height: 28px;
    line-height: 28px;
}

.overlayBorder input:focus {
    border-color: #c4001d;
}

.popup-input-group {
    text-align: center;
    margin-top: 3px;
    padding-top: 0;
}

.popup-submit {
    background: #c4001d;
    color: white;
    border: none;
    padding: 0 40px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

.popup-submit:hover {
    background: #a0001a;
}

.popup-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 移动端适配 - 严格限制在768px以下 */
@media screen and (max-width: 768px) {
    .mobile-report-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 9999 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    .mobile-report-modal {
        background: white !important;
        width: 90vw !important;
        max-width: 320px !important;
        margin: auto !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
        overflow: hidden !important;
    }
    
    .mobile-report-modal .modal-right {
        background: white !important;
        width: 100% !important;
        padding: 30px 20px !important;
    }
    
    .mobile-report-modal #sqbg-form {
        background: white !important;
        width: 100% !important;
    }
}

@media screen and (min-width: 769px) {
    .mobile-report-overlay {
        display: none !important;
    }
    
    .mobile-report-modal {
        display: none !important;
    }
}