* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
}

/* 通用 placeholder 样式 */
input::placeholder,
textarea::placeholder {
    font-size: 13px;
    color: #999;
}

/* 兼容旧版浏览器的前缀写法 */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    font-size: 11px;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
    font-size: 11px;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    font-size: 11px;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    font-size: 11px;
}

.error {
    color: #ff3e3e;
    margin-top: 5px;
    padding-left: 12px;
    font-weight: 400;
    font-size: 11px;
    font-style: normal;
    text-align: left;
}

#pisen-energy {
    padding-top: 65px;
    background: url("../Images/main-background.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin: 0 auto;
    position: relative;
    width: 1440px;
    height: 680px;
}

form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 648px;
    height: 540px;
    overflow: hidden;
    margin-left: auto;
    margin-right: 144px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 7px 20px 0px rgba(107, 153, 220, 0.4), inset 0px 1px 2px 0px rgba(255, 255, 255, 0.93);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    padding: 32px 10px 23px 10px;
}

.form-item-box {
    box-sizing: border-box;
    margin: 0 16px 0 16px;
    display: flex;
    flex-direction: column;
    justify-items: flex-start;
    margin-bottom: 10px;
}

.form-item,
.form-item:focus {
    display: flex;
    align-items: center;
    border-radius: 8px;
    width: 282px;
    height: 28px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 6px;
    padding-left: 12px;
}

.form-item input,
.form-item textarea,
input:focus,
textarea:focus {
    border: none;
    outline: none;
    width: 100%;
    font-size: 13px;
}

.form-item.borderError {
    border: 1px solid #ff4a4a;
}

.form-item label {
    flex-shrink: 0;
    font-size: 12px;
    color: #000;
    text-align: center;
    font-style: normal;
}

.form-item span {
    flex-shrink: 0;
    font-weight: 400;
    font-size: 12px;
    color: #333333;
    padding-right: 12px;
}

.form-item #city-picker {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-right: 30px;
}

    .form-item select {
        flex: 1;
        /* 基本样式属性 */
        appearance: none;
        /* 针对大多数现代浏览器 */
        -webkit-appearance: none;
        /* 针对Safari和旧版Chrome */
        -moz-appearance: none;
        /* 针对Firefox */
        /* 更改边框、颜色、尺寸等 */
        border: none;
        background-color: transparent;
        color: #999;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }

.form-item select:focus-visible {
    outline: none;
}

.form-item .area-select {
    position: relative;
    flex: 1;
    text-align: center;
}

    .form-item .area-select::before {
        content: "";
        position: absolute;
        right: 0;
        top: calc(50% - 2px);
        width: 10px;
        height: 6px;
        background-image: url("../Images/down.png");
        background-repeat: no-repeat;
        background-position: center;
        /* 如果图片尺寸与width/height不同，需调整background-size */
        background-size: contain;
    }

.hide-element {
    visibility: hidden;
}

.title-box {
    padding-left: 26px;
    font-weight: 600;
    font-size: 11px;
    color: #000000;
    text-align: center;
    font-style: normal;
    margin-bottom: 5px;
}

.title-box .error {
    padding: 0;
}

.noneBg-box .form-item,
.noneBg-box .form-item input,
.noneBg-box .form-item textarea {
    background-color: transparent;
}

.noneBg-box .form-item label {
    color: #000000;
    font-size: 12px;
}

.noneBg-box .error {
    margin: 0;
}

.transformer-capacity-box .form-item {
    width: 145px;
    padding: 0 8px;
}

.transformer-capacity-box .form-item input {
    width: 40px;
}

.transformer-capacity-box .form-item label {
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
}

.transformer-capacity-box .form-item span {
    margin-left: auto;
    font-weight: 400;
    font-size: 12px;
    color: #333333;
    font-style: normal;
    padding-right: 0;
}

.button-box,
.transformer-capacity-box,
.noneBg-box {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 100%;
    text-align: center;
}

.button-box {
    border-top: 1px solid #c4d9ea;
    /* opacity: 0.7; */
    padding-top: 21px;
    margin-top: 10px;
}

.button-box button {
    margin-left: auto;
    width: 177px;
    height: 30px;
    background: linear-gradient(104deg, #406dff 0%, #5fabff 100%);
    box-shadow: 0px 6 11px 0px rgba(76, 122, 255, 0.32);
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #ffffff;
    line-height: 26px;
    text-align: center;
    font-style: normal;
    text-transform: uppercase;
    border: none;
    margin: 0 auto;
}

.radio-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
}

.radio-box .form-check {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.radio-box .form-check .form-check-input {
    appearance: none;
    margin-right: 4px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 1px solid #dbdbdb;
    border-radius: 50%;
}

.radio-box .form-check .form-check-input:checked {
    position: relative;
}

.radio-box .form-check .form-check-input:checked::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    background: #178cfe;
    border-radius: 50%;
    transition: all 0.2s;
}

.radio-box .form-check .form-check-label {
    font-weight: 400;
    font-size: 12px;
    color: #000000;
    text-align: center;
    font-style: normal;
    text-transform: uppercase;
}
