/* 全局样式重置 */


/* 面包屑导航 */
.breadcrumb {
    width: 95%;
    max-width: 950px;
    margin: 0 auto;
    padding: 10px 0;
    font-weight: bold;
}

/* 分隔区 */
.spacer {
    height: 10px;
    clear: both;
}

/* 注册表单容器 */
.register-container {
    width: 95%;
    max-width: 950px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0px;
    background-color: #fff;
}

/* 第一步标题栏 */
.step-header {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.step-number {
    width: 150px;
    min-width: 150px;
    background-color: #AEC0EC;
    color: #000;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

.step-desc {
    flex: 1;
    background-color: #e6e8ed;
    padding: 10px;
}

.red12 {
    color: #ff0000;
    font-size: 12px;
}

/* 表单区块 */
.form-section {
    margin-bottom: 20px;
}

.form-section h3 {
    background-color: #efefef;
    padding: 8px 10px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
}

/* 表单行 */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    align-items: center;
}

/* 表单标签 */
.form-label {
    width: 18%;
    min-width: 100px;
    text-align: right;
    padding-right: 15px;
    font-weight: normal;
}

/* 表单控件容器 */
.form-control {
    flex: 1;
    min-width: 200px;
}

/* 表单输入框、选择框、文本域 */
.form-control input,
.form-select,
.form-textarea {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
   
    
}

.form-control select,
.form-select {
    height:30px;
}

.form-textarea {
    resize: none;
    outline: none;
    width: 100%;
    max-width: 400px;
}

/* 必填项标记 */
.required {
    color: #ff0000;
    margin: 0 5px;
}

/* 表单提示文字 */
.form-tip {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.text-red {
    color: #ff0000;
}

/* 分割线 */
.divider {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

/* 表单按钮区 */
.form-actions {
    text-align: center;
    padding: 10px 0;
}



.sub_button:hover {
    background-color: #e0e0e0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .breadcrumb,
    .register-container {
        width: 98%;
        padding: 10px;
    }

    .step-number {
        width: 100%;
        min-width: auto;
        margin-bottom: 5px;
    }

    .step-desc {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-label {
        width: 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: 5px;
    }

    .form-control {
        width: 100%;
        min-width: auto;
    }

    .form-textarea {
        max-width: 90%;
    }
}

/* ============================
   按钮样式
   ============================ */
/* 磨砂玻璃按钮基础样式 */
.sub_button {
  /* 基础尺寸 */
  width: 60px;
  height: 28px;
  /* 盒模型 */
  margin: 0 10px;
  padding: 0;
  /* 边框与圆角 */
  border: none;
  border-radius: 5px;
  outline: none;
  /* 背景与视觉 */
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  /* 文本样式 */
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  line-height: 25px;
  white-space: nowrap;
  /* 交互 */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 提交按钮专属样式 */
input[name="submit"].sub_button {
  background: rgba(34, 197, 198, 0.3);
  color: #064e3b;
  border-color: rgba(34, 197, 198, 0.5);
}

/* 重置按钮专属样式 */
input[name="重置"].sub_button {
  background: rgba(251, 146, 60, 0.3);
  color: #7c2d12;
  border-color: rgba(251, 146, 60, 0.5);
}

/* 按钮悬浮状态 */
.sub_button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.45);
}

input[name="submit"].sub_button:hover {
  background: rgba(34, 197, 198, 0.45);
}

input[name="重置"].sub_button:hover {
  background: rgba(251, 146, 60, 0.45);
}

/* 按钮激活状态 */
.sub_button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* 按钮聚焦状态 */
.sub_button:focus-visible {
  box-shadow: 0 0 0 2px rgba(34, 197, 198, 0.5);
}

/* 小屏幕适配 */
@media (max-width: 480px) {
    .form-control input,
    .form-select,
    .form-textarea {
        width: 60%;
    }

    .sub_button {
        width: 20%;
        margin-bottom: 10px;
    }
}