input,
textarea,
select {
    outline: none;
}
.input-con {
    width: 21.25rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background: #f6f6f6;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: left;
    color: #000;
    padding-left: 15px;
}
.input-underline {
    /* border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem; */
    box-shadow: 0 1px 1px #9c9c9c;
}
.input-disabled{
    background-color: #e7e7e7 !important;
    cursor: not-allowed !important;
}
.input-mr{
    margin-right: 1.875rem;
}
.content-center {
    position: relative;
    max-width: 78.125rem;
    /* height: 40.375rem; */
    border-radius: 14px;
    background: #fff;
    margin: 0 auto;
    padding-top: 1.88rem;
    padding-bottom: 6.88rem;
    margin-bottom: 3.25rem;
}
.content-center .tabs {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 52rem;
    margin: 0 auto;
    border-bottom: 1px solid #ccc;
    /* height: 1px;
background: #bfbfbf; */
}

.content-center .tab {
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 22px;
    text-align: left;
    color: #000;
    padding: 10px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.content-center .tab.active {
    font-family: "PingFang SC Bold";
    font-weight: 700;
    font-size: 22px;
    text-align: left;
    color: #d30029;
}

.content-center .underline {
    position: absolute;
    width: 1116px;
    bottom: 0;
    height: 2px;
    /* background: #42b983 !important; */
    transition: left 0.3s ease, width 0.3s ease;

    border-bottom: 2px solid rgb(223, 50, 50);
    color: #42b983 !important;
    text-decoration: none !important;
}

.content-center .tab-content {
    margin: 0 auto;
    margin-top: 40px;
}
.content-center .is-first {
    width: 21.27rem;
    margin: 0 auto;
}
.content-center .is-first .tit {
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: left;
    color: #333;
    margin-bottom: 1.25rem;
}
.content-center .is-first .name {
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.75rem;
    text-align: left;
    color: #666;
    margin-bottom: 0.38rem;
}
.content-center .is-first .respectful-title {
    width: 21.25rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background: #f6f6f6;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: left;
    color: #000;
    padding-left: 15px;
    padding-right: 35px;
}
.content-center .is-first .useName,
.content-center .is-first .surname {
    width: 21.25rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background: #f6f6f6;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: left;
    color: #000;
    padding-left: 15px;
}
.content-center .is-first .mtop {
    margin-top: 1.88rem;
}
.content-center .btn-con .cancel-btn {
    border-radius: 0.25rem;
    background: #fff;
    border: 0.06rem solid #999;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    color: #999;
    padding: 0.7rem;
}
.content-center .btn-con .save-btn {
    border-radius: 0.25rem;
    background: #d30029;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    margin-left: 2rem;
    padding: 0.7rem;
}
.content-center .is-second {
    max-width: 35rem;
    margin: 0 auto;
    padding: 0 2.1875rem;
}
.content-center .is-second .tit {
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: left;
    color: #333;
}
.content-center .is-second .name {
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 12px;
    text-align: left;
    color: #666;
    margin-top: 20px;
}
.content-center .is-second .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
.content-center .is-second .container > * {
    margin-top: 6px;
}
.content-center .is-second .container .edit{
    display: inline-block;
    margin-left: -40px;
}
.content-center .is-second .container .country-code {
    width: 76px;
    height: 40px;
    border-radius: 4px;
    background: #f6f6f6;
    margin-right: 10px;
    /* padding: 0 5px; */
}
.content-center .is-second .container .phone-number {
    width: 256px;
    height: 40px;
    box-shadow: 1px 1px 1px #9c9c9c, -1px 0 1px transparent;
    /* border-radius: 4px; */
    background: #f6f6f6;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 14px;
    text-align: left;
    color: #000;
    padding-left: 15px;
    /* margin-left: 0.38rem; */
}
.content-center .is-second .container .inp {
    width: 21.25rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background: #f6f6f6;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: left;
    color: #000;
    padding-left: 15px;
    margin-right: 1.25rem;
}
.content-center .is-second .container .inp-mr{
    margin-right: 0;
}
/* .content-center .change {
    width: 5.31rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background: #fff;
    border: 0.03rem solid #999;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: center;
    color: #999;
    margin-left: 1.25rem;
} */
.content-center .second-btn {
    border-radius: 0.25rem;
    background: #d30029;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: center;
    color: #fff;
    /* margin-left: 1.27rem; */
    /* margin-left: 2.54rem; */
    padding: 0.7rem;
}
.content-center .second-btn-ts{
    background-color: transparent;
    border: 1px solid #ccc;
    padding: 0.5rem 0.7rem;
    /* margin-left: 3.3rem; */
}
.content-center .second-btn-ts img{
    height: 1.25rem;
}
.content-center .mtop {
    margin-top: 3.75rem;
}
.content-center .mtop .error{
    color: red;
    font-size: 12px;
    margin-left: 0.38rem;
}
.content-center .email {
    width: 21.25rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background: #f6f6f6;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: left;
    color: #000;
    padding-left: 15px;
}
.content-center .password {
    width: 21.25rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background: #f6f6f6;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: left;
    color: #000;
    padding-left: 15px;
}
.btn-con {
    position: absolute;
    bottom: 1.88rem;
    right: 3rem;
}
.content-center .is-third {
    max-width: 45rem;
    margin: 0 auto;
}
.is-third .tit {
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: left;
    color: #333;
}
.is-third .name {
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.75rem;
    text-align: left;
    color: #666;
    margin-top: 1.25rem;
    margin-bottom: 0.38rem;
}
.is-third .user-info,
.is-third .Drivers-license-info {
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
    align-items: center;
    /* width: 44.38rem; */
    /* height: 26.19rem; */
    background: transparent;
}
.is-third .user-info>div,
.is-third .Drivers-license-info>div {
    width: 21.25rem;
    /* margin: 0 30px; */
}
.user-info-con .address {
    width: 44.38rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background: #f6f6f6;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: left;
    color: #000;
}
@media (max-width: 696px) {
    .content-center .tab {
        font-size: 16px;
    }
    .content-center .tab.active {
        font-size: 16px;
    }
    .is-third .user-info,
    .is-third .Drivers-license-info {
        justify-content: space-around;
    }
    .user-info-con .address {
        width: 98%;
    }
}
/* 日期组件样式 */
.date-picker select {
    transition: border-color 0.3s;
    width: 6.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background: #f6f6f6;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 0.88rem;
    text-align: center;
    color: #000;
}
.date-picker select:focus {
    border-color: #007bff;
    outline: none;
}
.date-picker {
    display: flex;
    gap: 2px;
    align-items: center;
    font-weight: 600;
}
/* 上传组件样式 */
.image-uploader {
    position: relative;
    width: 21.25rem;
    height: 13.13rem;
    background: transparent;
    border: 1px solid #dcdfe6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f5f5;
}

.image-uploader .image-box {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-uploader .preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-uploader .placeholder {
    font-size: 24px;
    color: #ccc;
}

.image-uploader .buttons {
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.image-uploader .button {
    /* padding: 5px 10px; */
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    cursor: pointer;
    font-size: 14px;
}

/* .image-uploader .button:hover {
    background-color: #0056b3;
} */

.image-modal .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    /* display: none; */
    z-index: 999;
}

.image-modal .modal .active {
    display: flex;
}

.image-modal .modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    background: white;
}

.image-modal .modal-content img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

.image-modal .modal-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.image-modal .modal-close:hover {
    background-color: #ddd;
}
