/*
Name:			style_clearfix
Example:		class="clearfix|cl"
Explain:		Clearfix（简写cl）避免因子元素浮动而导致的父元素高度缺失能问题
*/
/* 展示 */
 /* 全局样式重置 */
     /* 基础样式 */
    :root {
      --primary-color: #4F46E5;
      --secondary-color: #818CF8;
      --neutral-color: #F3F4F6;
      --text-dark: #1F2937;
      --text-light: #6B7280;
      --success-color: #10B981;
      --error-color: #EF4444;
      --border-radius: 12px;
      --transition-time: 0.3s;
    }


	
    body {

      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0px;
      position: relative;

    }

    body::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
     /* background-color: rgba(0, 0, 0, 0.3);*/
    }

    /* 主容器 */
    .container {
      position: relative;
      width: 100%;
      max-width: 480px;
      /*background-color: rgba(255, 255, 255, 0.95);
      border-radius: calc(var(--border-radius) * 1.5);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);*/
      overflow: hidden;
      animation: fadeIn 0.3s ease-out;
	  /*padding-top: 6%;*/
    }
	.info{
		background-color: rgba(255, 255, 255, 0.95);
      border-radius: calc(var(--border-radius) * 1.5);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	 padding: 3% 10%;
	}
    /* 顶部导航栏 */
    .header {
     /* background-color: var(--primary-color);*/
      color: #222222;
      padding: 1px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 18px;
      font-weight: 500;
    }

    .header i {
      cursor: pointer;
    }

    .header .left {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    /* 表单内容 */
    .form-content {
      padding: 24px;
    }

    .form-title {
      color: var(--text-dark);
      margin-bottom: 12px;
    }

    .form-subtitle {
      color: var(--text-light);
      margin-bottom: 24px;
      font-size: 14px;
    }

    /* 信息类型选择 */
    .info-type-group {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 60px;/*12px*/
      margin-bottom: 10px;
    }

    .info-type-btn {
      padding: 8px 2px;
      border-radius: var(--border-radius);
      border: 2px solid transparent;
      background-color: transparent;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: all var(--transition-time);
      position: relative;
	      border-color: #6dbda1;
    color: #6dbda1;
    }

    .info-type-btn:hover {
      /*background-color: rgba(79, 70, 229, 0.05);*/
    }

    .info-type-btn.active {
      border-color: #6dbda1;
      color: #6dbda1;
    }

    .info-type-btn.active::after {
      content: "✔";
      font-family: "思源黑体";
      font-weight: 300;
      position: absolute;
      right: 0px;
      bottom: 0px;
      color: #fff;
	  background:#6dbda1;
      font-size: 10px;
	  width: 26%;
	border-radius: 3px 3px 8px 0px;
    }

    .info-type-btn span {
      font-size: 14px;
    }

    /* 输入框组 */
    .form-group {
      margin-bottom: 20px;
    }

    .form-label {
      display: block;
      font-size: 14px;
      font-weight: 500;
      color: var(--text-dark);
      margin-bottom: 16px;
	  margin-top: 6px;
    }

    .form-label .required {
      color: var(--error-color);
    }

    .input-container {
      position: relative;
    }

    .input-container i {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #9CA3AF;
      font-size: 16px;
    }

    .form-input {
      width: 100%;
      padding: 12px;
      border: 1px solid #E5E7EB;
      border-radius: var(--border-radius);
      font-size: 14px;
      transition: all var(--transition-time);
    }

    .form-input:focus {
      outline: none;
      border-color: #59b393;
      box-shadow: 0 0 0 3px rgba(89, 179, 147, 0.2);
    }

    .form-textarea {
      width: 100%;
      padding: 12px;
      border: 1px solid #E5E7EB;
      border-radius: var(--border-radius);
      font-size: 14px;
      transition: all var(--transition-time);
      min-height: 100px;
      resize: vertical;
    }

    .form-textarea:focus {
      outline: none;
      border-color: #59b393;
      box-shadow: 0 0 0 3px rgba(89, 179, 147, 0.2);
    }

    /* 提交按钮 */
    .submit-btn {
      width: 100%;
      padding: 14px 0;
      background-color: #6dbda1;
      color: white;
      border: none;
      border-radius: var(--border-radius);
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      transition: all var(--transition-time);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .submit-btn:hover {
      background-color: #6dbda1;
      transform: translateY(-1px);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    .submit-btn:active {
      transform: translateY(0);
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    }

    .submit-btn.loading {
      cursor: not-allowed;
      opacity: 0.7;
    }

    .submit-btn.loading::after {
      content: "";
      width: 16px;
      height: 16px;
      border: 2px solid white;
      border-radius: 50%;
      border-top-color: transparent;
      margin-left: 10px;
      animation: spin 1s linear infinite;
    }
	.error-message {
		color: #ff4d4f;
		font-size: 12px;
		margin-top: 4px;
		display: none;
	}
	.success-message {
		color: #52c41a;
		font-size: 14px;
		margin-top: 10px;
		display: none;
	}
    /* 动画效果 */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }