@charset "UTF-8";

.new-container {
    font-family:'微软雅黑','Microsoft YaHei',"Arial",'SimSun',Serif;
    color: #333;
    max-width: 80%;
    flex-direction: row;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}



.new-content {
    flex: 1;
    min-width: 300px;
}

.new-title {
    background-color: #2c4a67;
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    border-radius: 4px;
}

.new-text {
    font-size: 20px;
    line-height: 1.6;
    text-align: justify;
    visibility: visible; 
    animation-delay: 0.1s; 
    animation-name: fadeInUp;
}

.new-text-no-line {
    font-size: 20px;
    line-height: 1.6;
    text-align: justify;
    visibility: visible; 
    animation-delay: 0.1s; 
    animation-name: fadeInUp;
}

.new-text p {
    margin-bottom: 20px;
}

.new-name {
    line-height: 1.6;
    text-align: justify;
    visibility: visible; 
    animation-delay: 0.1s; 
    animation-name: fadeInUp;
    font-weight:bold;
    text-decoration: underline;
    font-size: 14px;
}

.new-intro {
    line-height: 1.4;
    text-align: justify;
    visibility: visible; 
    animation-delay: 0.1s; 
    animation-name: fadeInUp;
    font-size: 12px;
}

.new-image-container {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.new-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none;
}

.modal-container {
  font-family:'微软雅黑','Microsoft YaHei',"Arial",'SimSun',Serif;
  color: #333;
  width: 90%;
  max-width: 900px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

/* 主体：左右分栏 */
.modal-body {
  display: flex;
  flex: 1;
  min-height: 450px;
  overflow: hidden;
}

/* 左侧：重要提示 - 顶部对齐 */
.modal-left-panel {
  width: 140px;
  background-color: #f8f9fa;
  padding: 24px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 主轴是垂直方向 → 控制顶部对齐 */
  align-items: center;         /* 交叉轴是水平方向 → 文字居中 */
}

.modal-left-panel h1 {
  writing-mode: horizontal-tb;
  font-size: 24px;
  color: #005a9c;
  margin: 0;
  text-align: center;
  width: 100%;
}

/* 中间竖线 */
.modal-divider {
  width: 1px;
  background-color: #e0e0e0;
}

/* 右侧：协议内容 */
.modal-right-panel {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.8;
}

.modal-right-panel p{
    margin-bottom: 14px;
}

/* 按钮区域：只在右侧宽度内居中，不跨到左侧 */
.modal-btn-group {
  padding: 20px 24px 24px; /* 左右 padding = 右侧内容 padding */
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-btn {
  padding: 12px 20px;
  text-align: center;
  background: transparent;
  color: #005a9c;
  border: 2px solid #005a9c;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-btn:hover {
  background-color: #f0f7ff;
}


.modal-btn-disabled {
  padding: 12px 20px;
  text-align: center;
  background: transparent;
  color: #ccc;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width:1660px){

}

@media screen and (max-width:1440px){
    
}

@media screen and (max-width:1366px){
    
}

@media screen and (max-width:1280px){

}

@media screen and (max-width:1000px){
    .new-container {
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
    }

    .modal-body {
        flex-direction: column;
        min-height: auto;
      }

    .modal-left-panel {
        width: 100%;
        height: 60px;
        background: #f0f7ff;
        justify-content: center;
    }

    .modal-divider {
        width: 100%;
        height: 1px;
        background: #e0e0e0;
    }

    .modal-right-panel {
        padding: 16px;
        font-size: 13px;
    }

    .modal-btn-group {
        margin-left: 0;
        max-width: none;
        padding: 16px;
    }
}

@media screen and (max-width:768px){

}
