/* 表单弹窗样式 - 从 homeFrom.scss 转换 */
.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.page-container {
  position: absolute;
  z-index: 99;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 500px;
}
.title-section {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}
.title-section .main-title {
  font-size: calc(var(--content-subhea) - 4px);
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}
.title-section .iconfont {
  position: fixed;
  top: 0vh;
  right: 2%;
  font-size: 30px;
  opacity: 0.3;
  z-index: 99999;
  cursor: pointer;
}
@media (max-width: 768px) {
  .title-section .iconfont {
    position: fixed;
    top: 2vh;
    right: 15%;
    font-size: 30px;
    opacity: 0.3;
    z-index: 99999;
  }
}
.title-section .sub-title {
  color: var(--text-color2);
}
.form-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  max-width: 500px;
  width: 500px;
  height: 90vh;
  position: relative;
  overflow-y: auto;
  color: #000;
}
@media (max-width: 768px) {
  .form-card {
    padding: 1.5rem;
    width: 90vw !important;
  }
}
.form-section {
  margin-top: 2rem;
}
.form-section.section-divider {
  border-top: 1px solid #f1f5f9;
}
.form-section .section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-top: 1rem;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
}
.platform-card {
  display: block;
  cursor: pointer;
}
.card-select {
  border: 2px solid #cbd5e1;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 8px;
}
.card-select:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.card-select.selected {
  border-color: var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  background-color: var(--primary-color);
  color: #fff;
}
.platform-name {
  text-align: center;
}
.business-type-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .business-type-container { flex-direction: row; }
}
.business-type-card {
  display: block;
  cursor: pointer;
  flex: 1;
}
.btn-select {
  border: 2px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.btn-select:hover {
  border-color: var(--primary-color);
}
.btn-select.selected {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn-select .type-name {
  font-weight: 600;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group .form-label {
  display: block;
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.appeal-type-container,
.ip-type-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.appeal-type-tag,
.ip-type-tag {
  cursor: pointer;
  min-width: 100px;
}
.tag-select {
  flex: 1;
  display: block;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
  transition: all 0.3s ease;
  font-size: calc(var(--font-size-base) - 2px);
  font-weight: 500;
  text-align: center;
}
.tag-select:hover {
  border-color: var(--primary-color);
}
.tag-select.selected {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: white;
}
.text-area,
.text-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.text-area:focus,
.text-input:focus {
  outline: none;
  border: 2px solid var(--primary-color);
}
.text-area {
  resize: vertical;
}
.lawsuit-response-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.lawsuit-response-card {
  display: block;
  cursor: pointer;
}
.response-name {
  text-align: center;
}
.submit-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  font-size: var(--font-size-base);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.submit-btn span {
  font-weight: 600 !important;
}
.submit-btn:hover {
  background-color: var(--primary-color-hover);
}
