﻿/* 表单样式 */

/* 输入框 */


.input-wrap {
  height: 48px;
  border: 1px solid #D9D9D9;
  border-radius: 2px;
}
.input-wrap input {
  width: 100%;
  height: 100%;
  padding: 0 16px;
  color: inherit;
}
/* 输入框 */

/* 单选框 */
.radio-wrap {
  height: 48px;
}
.radio-wrap label {
  display: flex;
  align-items: center;
}
.radio-wrap label + label {
  margin-left: 30px;
}
.radio-wrap input {
  color: #A20000;
  margin-right: 10px;
}
/* 单选框 */


/* 下拉框 */
.select-wrap {
  height: 48px;
  border: 1px solid #D9D9D9;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  padding: unset;
}
.select-wrap .current {
  height: 100%;
  width: 100%;
}
.select-wrap input {
  pointer-events: none;
  padding: 0 15px;
  width: 100%;
  height: 100%;
}
.select-wrap .icon {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  display: none;
}
.select-wrap .icon > img {
  width: 100%;
}
.select-wrap .icon.active {
  display: block;
}
.select-wrap.active .select-option {
  display: block;
  opacity: 1;
  transform: translate(0);
  pointer-events: unset;
}
.select-wrap .select-option {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  box-shadow: 2px 2px 10px 0 rgba(51, 51, 51, 0.2);
  pointer-events: none;
  transform: translateY(100px);
  opacity: 0;
  transition: all .15s ease;
}
.select-wrap .select-option .option {
  height: 48px;
  padding: 0 15px;
  text-align: start;
  display: flex;
  align-items: center;
}
.select-wrap .select-option .option:hover {
  background: rgba(217, 217, 217, 0.3);
}
.select-wrap .select-option .option + .option {
  border-top: 1px solid #cfcfcf;
}
.select-wrap + .select-wrap {
  margin-left: 15px;
}
/* 下拉框 */


/* 文本域 */
.textarea-wrap {
  border: 1px solid #D9D9D9;
  border-radius: 2px;
}
.textarea-wrap textarea {
  resize: none;
  width: 100%;
  height: 100%;
  outline: unset;
  border: unset;
  padding: 15px;
  min-height: 160px;
}
/* 文本域 */

@media screen and (max-width: 640px) {
.radio-wrap {
    height: 88px;
}
}
