:deep(.el-input__wrapper) {
  box-shadow: none;
}

.box {
  padding: 10px;

  @media screen and (max-width: 768px) {
    padding: 5px;
  }
}

.banner {
  @media screen and (max-width: 768px) {
    .header {
      flex-direction: column;
      gap: 10px;
      padding: 10px;

      .left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;

        .logo {
          img {
            width: 100px;
            height: 100px;
            object-fit: contain;
            transform: scale(2);
          }
        }

        .text {
          h2 {
            font-size: 16px;
            margin-bottom: 2px;
            font-weight: 600;
            line-height: 1.2;
          }

          p {
            font-size: 13px;
            color: #666;
            line-height: 1.3;
            justify-content: center;

            span {
              font-size: 12px;
              color: #3571ff;
              display: inline-block;
            }
          }
        }
      }

      .right {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
        .el-icon {
          font-size: 20px;
        }
        span {
          margin-left: 5px;
          font-size: 14px;
        }
      }
    }

    .main {
      flex-direction: column;
      gap: 10px;
      padding: 10px;

      .left-buttons,
      .right-buttons {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;
        .el-button {
          width: 120px;
          height: 40px;
        }
      }
    }

    .input {
      flex-direction: column;
      padding: 10px;

      .label {
        margin-bottom: 5px;
        font-size: 18px;
      }

      .subject {
        width: 100%;
        font-size: 14px;
      }
    }

    .show {
      padding: 10px;
    }

    .table {
      .table-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -10px;
      }

      :deep(.el-table) {
        width: 100%;
        font-size: 12px;

        .el-table__body-wrapper {
          overflow-x: auto;
        }

        .el-input__inner {
          font-size: 12px;
          height: 28px;
        }

        .status-wrapper {
          display: flex;
          justify-content: center;

          .state_bt {
            min-width: 60px;
            padding: 4px 8px;
            font-size: 12px;
            height: 28px;
            line-height: 1.2;
          }
        }

        .mobile-state-btn {
          padding: 2px 4px;
          font-size: 11px;
        }

        .operation {
          display: flex;
          gap: 4px;
          justify-content: center;

          .el-button {
            padding: 4px;
            font-size: 12px;
          }
        }
      }
    }
  }

  @media screen and (min-width: 769px) and (max-width: 1024px) {
    .header {
      padding: 15px;
    }

    .main {
      padding: 15px;
    }
  }
}

.fixed {
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.footer {
  @media screen and (max-width: 768px) {
    text-align: center;
    font-size: 0.8rem;
    padding: 10px;
  }
}

.upload_bt,
.delete_bt,
.send_bt {
  @media screen and (max-width: 768px) {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}

:deep(.el-table) {
  @media screen and (max-width: 768px) {
    .el-table__header-wrapper,
    .el-table__body-wrapper {
      overflow-x: auto;
    }

    .el-table__body {
      width: 100%;
    }

    .operation {
      display: flex;
      gap: 5px;
    }
  }
}
