﻿/* 为所有元素添加边框（慎用，会影响性能） */
/*
* {
  border: 1px solid red;
}
  */
  :root {
  --primary-color: rgb(28, 129, 201);
  --secondary-color: #999999;
  --border-color: #ddd;
  --text-color: #333;
  --white: #fff;
}
/* 顶部导航区 */
.responsive-header {
    display: flex;
    flex-direction: column;
   
}
.header-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}
.system-title {
    margin: 0;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: #999999;
}

.header-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.control-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 10px;
}
.form-select {
   
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-width: 230px;
}
/* 横幅区 */

/* 横幅区优化 */
.mPic {
  position: relative;
  width: 100%;
  padding-top: 20%; /* 保持10:3的宽高比 */
  margin: 15px 0;
  overflow: hidden;
  border-radius: 6px;
}

.responsive-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mPicLabel {
  position: absolute;
  left: 30px;
  top: 30px;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: #8C8C8C;
  font-weight: bold;
  z-index: 2;
  margin: 0;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
}

.sTitle{
	background-color: rgb(28,129,201);
	color:#fff;
	font-weight: bold;
	line-height: 28px;
	height: 28px;
	padding-left:10px;
}
.primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 150px;
   
    height:28px;
    line-height: 28px;
}

.primary-btn:hover {
    background: rgb(32, 138, 213);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.secondary-btn {
    display: inline-block;
    padding: 0 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
    height:28px;
    line-height: 28px;
    min-width: 150px;
}

.secondary-btn:hover {
    background: rgb(32, 138, 213);
}

.version-info {
    color: var(--secondary-color);
    margin: 15px 0;
    font-size: 0.9rem;
}

.admin-actions {
    margin-top: 20px;
}

/* 底部操作区 */
.action-footer {
   
    text-align: center;
    padding-top: 20px;
}
/* 响应式断点 */
@media (max-width: 992px) {
    .header-controls {
        gap: 10px;
    }
    
    .control-group {
        flex-direction: column;
        align-items: flex-start;
    }
    .mPic {
    padding-top: 25%; /* 在小屏幕上调整宽高比 */
    
  }
    
    .mPicLabel {
        font-size: clamp(1rem, 3vw, 1.5rem);
        left: 20px;
        top: 20px;
    }
}



@media (max-width: 576px) {
    .responsive-container {
        padding: 10px;
    }
    
    
    .primary-btn {
        width: 100%;
    }
     
.mPic {
    padding-top: 30%;
     margin: 10px 0;
  }
    
    .mPicLabel {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
        left: 10px;
        top: 10px;
       
        padding: 5px;
    }
    
    .notice-section {
        margin-top: 15px;
    }
}
