/* 移动端响应式样式 */

/* 防止页面滚动 */
@media screen and (max-width: 768px) {
    html, body {
        height: 100%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    body {
        font-size: 14px;
        position: fixed;
        width: 100%;
    }

    .container {
        width: 100% !important;
        padding: 0 10px;
    }

    .main-style {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px 10px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .no_data {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-height: 100vh;
        overflow: hidden;
    }

    .no_dataImg {
        max-width: 70%;
        width: 160px !important;
        height: auto;
        display: block;
        margin: 0 auto 15px;
        padding: 0 !important;
    }

    .no_dataText {
        font-size: 18px !important;
        padding: 15px 0 !important;
        line-height: 1.5;
        word-break: break-word;
        margin: 0;
    }

    .width100 {
        max-width: 90%;
        height: auto;
        margin-top: 15px;
    }
}

/* 平板和小屏幕 */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .container {
        width: 90% !important;
        max-width: 100%;
        padding: 0 15px;
    }

    .main-style {
        padding: 20px;
    }
}

/* 小屏手机 */
@media screen and (max-width: 480px) {
    body {
        font-size: 12px;
    }

    .no_dataImg {
        width: 120px !important;
        margin: 0 auto 10px;
    }

    .no_dataText {
        font-size: 16px !important;
        padding: 10px 0 !important;
    }

    .width100 {
        max-width: 85%;
        margin-top: 10px;
    }
}

/* 横屏优化 */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .main-style {
        padding: 5px;
    }

    .no_dataImg {
        width: 100px !important;
        margin: 0 auto 8px;
    }

    .no_dataText {
        font-size: 14px !important;
        padding: 8px 0 !important;
    }

    .width100 {
        max-width: 70%;
        margin-top: 8px;
    }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}
