* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

.personal-details-pop{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 1001;
}
/* 课程容器样式 */
.personal-details-container {
    width: 50vw;
    height: auto;
    max-height: 100%;
    overflow-y: auto;
    border-radius: 12px;
    padding: 6vh 2vw 2vh;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-49%);
    background:linear-gradient( #DDD9CC 0%, #F4F3EE 30%, #FFFFFF 100%);
}

/* 关闭按钮 */
.close-person-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    padding: 0;
    z-index: 120;
}

.close-person-btn:hover {
    color: #666;
}

.personal-details-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6vh;
    background: none;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 6vh;
}

.personal-details-info h3{
    color: #333333;
    font-size: 18px;
}
.personal-details-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2vh;
}
.personal-details-bottom p{
    color: #746146;
    font-size: 14px;
    padding-left: 1vw;
    position: relative;
}
.personal-details-bottom p::before{
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    background: url('/wp-content/themes/my-first-theme/assets/imgs/personal-info-icon.png') center center no-repeat;
    background-size: 100% 100%;
}
/* 个人们部分样式 */
.personal-box {
    margin: 0 auto;
    padding: 0 2vw;
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.personal-box-left {
    width: 30%;
}
.personal-left-title{
    font-size: 16px;
    line-height: 4vh;
    color: #333;
    position: relative;
    padding: 0 3px;
    display: inline-block;
}
.personal-left-title::before{
    content: '';
    width: 100%;
    height: 1vh;
    position: absolute;
    left: 0;
    bottom: 0.8vh;
    z-index: -1;
    background-color: #D3D0C1;
}
.personal-left-txt{
    font-size: 14px;
    color: #666666;
}
.personal-left-change{
    font-size: 14px;
    color: #746146;
    position: absolute;
    left: 2vw;
    bottom: -2vh;
    padding: 0 1vw 0 0;
    cursor: pointer;
}
.personal-left-change::before{
    content: '';
    position: absolute;
    right: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    background: url('/wp-content/themes/my-first-theme/assets/imgs/personal-down-icon.png') center center no-repeat;
    background-size: 18px 10px;
}
.personal-left-change.active::before{
    background: url('/wp-content/themes/my-first-theme/assets/imgs/personal-up-icon.png') center center no-repeat;
}
.personal-center-line{
    width: 90%;
    border-top: 2px dashed #8C8778;
    margin: 3vh auto 2vh;
    box-sizing: border-box;
}

.personal-box-right{
    width: 65%;
}

.contact-form {
    padding: 0 0 0 1vw;
}

.personalform-group {
    margin-bottom:10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.personalform-group label {
    display: block;
    font-size: 16px;
    color: #333;
    width: 25%;
}
.personalform-group label.required::before {
    content: " * ";
    color: #F30000;
}

.personalform-group input{
    width: 75%;
    padding: 0.5vh 0.5vw;
    border: 1px solid #8C8778;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
}
.personalform-select{
    width: 75%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.personalform-select select {
    width: 32%;
    padding: 0.5vh 0.5vw;
    border: 1px solid #A6AEFF;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
}
.personalform-select select option{
    width: 100%;
}

.personalform-group-two input{
    width: 25%;
}
.personalform-group-two .gender-button{
    width: 25%;
}
.personalform-group-two .name-label{
    width: 25%;
    text-align: center;
}

.personalform-group input:focus {
    outline: none;
}

.personal-submit-btn {
    width: 20%;
    background:linear-gradient(#D3CFC0, #8D8879 );
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    cursor: pointer;
    display: block;
}

.personal-submit-btn:hover {
    background-color: #3b78c8;
}

/* 付费课程 */
.personal-pay-box{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 3vh 2vw;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 1px 2px 2px 3px #F2F4FF;
    margin: 1vh 1vw;
}
.personal-pay-left img{
    width: 130px;
    height: 130px;
    display: block;
    border-radius: 10px;
    border: 1px solid #999999;
}
.personal-pay-right{
    width:78%;
}
.personal-pay-right p{
    margin-top: 2vh;
    font-size: 14px;
    width: 100%;
    overflow: hidden; /* 超出部分隐藏 */
    display: -webkit-box; /* 使用弹性盒子模型 */
    -webkit-box-orient: vertical; /* 垂直排列内容 */
    -webkit-line-clamp: 3; /* 限制显示两行 */
    text-overflow: ellipsis; /* 显示省略号 */
}
/* 响应式设计 */
@media (max-width: 1200px) {
    .personal-details-container {
        width: 60vw;
    }
}