﻿/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #F5F7FA;
    color: #1D2129;
    min-height: 100vh;
    padding: 20px 0;
}

.container-reg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 标题样式 */
.page-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    /*margin-bottom: 24px;*/
    color: #1D2129;
    padding:20px 0
}

/* 表单容器 */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 区块卡片样式 */
.section-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    padding: 20px;
    transition: all 0.3s ease;
}

    .section-card:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E5E6EB;
    color: #1D2129;
}

/* 表单网格布局 */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.form-grid-zhengshu {
    display: flex;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-grid-left {
    width: 50%
}

.form-grid-right {
    width: 50%
}

.form-group-bottom {
    margin-bottom: 15px
}
@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

        .form-grid.col-3 {
            grid-template-columns: repeat(3, 1fr);
        }

        .form-grid.col-span-2 {
            grid-column: span 2;
        }
}

/* 表单组样式 */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #1D2129;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E5E6EB;
    border-radius: 6px;
    font-size: 14px;
    color: #1D2129;
    transition: all 0.2s ease;
}

    .form-input::placeholder {
        color: #C9CDD4;
    }

    .form-input:focus {
        outline: none;
        border-color: #165DFF;
        box-shadow: 0 0 0 1px #165DFF;
    }

    .form-input:read-only {
        background-color: #F5F7FA;
        cursor: not-allowed;
    }

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #165DFF;
    color: #FFFFFF;
}

    .btn-primary:hover {
        background-color: rgba(22, 93, 255, 0.9);
        box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.2);
    }

    .btn-primary:disabled {
        background-color: #8BB4F8;
        cursor: not-allowed;
    }

.btn-secondary {
    background-color: #FF7D00;
    color: #FFFFFF;
    padding: 12px 32px;
    font-size: 16px;
    min-width: 220px;
}
.btn-secondary-out {
    background-color: #00b7ee;
    color: #FFFFFF;
    padding: 12px 32px;
    font-size: 16px;
    min-width: 220px;
}
    .btn-secondary:hover {
        background-color: rgba(255, 125, 0, 0.9);
        box-shadow: 0 0 0 2px rgba(255, 125, 0, 0.2);
    }

.btn-dashed {
    background-color: transparent;
    color: #666666;
    border: 2px dashed #E5E6EB;
    padding: 10px 16px;
    width: 100%;
    gap: 8px;
}

    .btn-dashed:hover {
        border-color: #165DFF;
        color: #165DFF;
    }

/* 输入框组样式 */
.input-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

    .input-group .form-input {
        flex: 1;
    }

    .input-group .btn {
        white-space: nowrap;
        min-width: 100px;
    }

/* 上传预览样式 */
.upload-preview {
    width: 120px;
    height: 150px;
    border: 1px solid #E5E6EB;
    border-radius: 6px;
    background-color: #F5F7FA;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .upload-preview img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8px;
    }

.preview-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .preview-container {
        margin-top: 0;
    }
}

/* 证明列表样式 */
.proof-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 576px) {
    .proof-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.proof-item {
    border: 1px solid #E5E6EB;
    border-radius: 8px;
    padding: 12px;
    background-color: #FFFFFF;
    display: flex;
    /*flex-direction: column;
    align-items: center;
    gap: 8px;*/
}

    .proof-item .upload-preview {
        width: 90px;
        height: 120px;
    }

.proof-desc {
    font-size: 12px;
    color: #666666;
    /*text-align: center;*/
    line-height: 1.4; margin-left:5%; line-height:25px
}

.btn-delete {
    font-size: 12px;
    color: #EF4444;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 4px;
    transition: color 0.2s ease;
}
.btn-delete-data {
    font-size: 12px;
    color: #EF4444;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 4px;
    transition: color 0.2s ease;
}
    .btn-delete:hover {
        color: #DC2626;
    }

/* 提示文本样式 */
.hint-text {
    font-size: 12px;
    color: #666666;
    margin-bottom: 16px;
}

/* 提交按钮容器 */
.submit-container {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 16px;
}

/*上传身份证*/
.IdCard-ui-upload {
    font-size: 16px;
    width: 100px;
    /*height: 30px;*/
    line-height: 30px;
    text-align: center;
    position: relative;
    cursor: pointer;
    color: #fff;
    background: #00b7ee;
    border-radius: 5px;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
    /*margin-top: 0.1rem;*/
    padding: 3px 5px;
}

.IdCard-ui-upload input {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
    text-align: center;
}

a.IdCard-ui-upload {
    color: #FFFFFF
}

/*上传教练资格证书*/
.ZhengShu-ui-upload {
    font-size: 16px;
    width: 100%;
    /*height: 30px;*/
    line-height: 30px;
    text-align: center;
    position: relative;
    cursor: pointer;
    color: #fff;
    background: #00b7ee;
    border-radius: 5px;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
    /*margin-top: 0.1rem;*/
    padding: 10px 16px;
}

    .ZhengShu-ui-upload input {
        position: absolute;
        font-size: 100px;
        right: 0;
        top: 0;
        opacity: 0;
        filter: alpha(opacity=0);
        cursor: pointer;
        text-align: center;
    }

a.ZhengShu-ui-upload {
    color: #FFFFFF
}

.jindutiao {
    display: none
}

/* 表单容器 */
#CanShuWrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/*上传教练资格证书*/
.ZhengMing-ui-upload {
    font-size: 16px;
    width: 100%;
    /*height: 30px;*/
    line-height: 30px;
    text-align: center;
    position: relative;
    cursor: pointer;
    color: #fff;
    background: #00b7ee;
    border-radius: 5px;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
    /*margin-top: 0.1rem;*/
    padding: 10px 16px;
}

    .ZhengMing-ui-upload input {
        position: absolute;
        font-size: 100px;
        right: 0;
        top: 0;
        opacity: 0;
        filter: alpha(opacity=0);
        cursor: pointer;
        text-align: center;
    }

a.ZhengMing-ui-upload {
    color: #FFFFFF
}
/*找回密码*/
.container-getpassword {
    width: 100%;
    max-width: 420px;
    padding: 0 16px; margin:0 auto;
}

/* 标题区域 */
.getpassword-header {
    text-align: center;
    margin-bottom: 32px;
}

/*.logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background-color: #165DFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}*/

.page-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1D2129;
}

.page-desc {
    font-size: 14px;
    color: #666666;
}

/* 步骤指示器 */
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
}

    .steps::before {
        content: '';
        position: absolute;
        top: 12px;
        left: 30px;
        right: 30px;
        height: 2px;
        background-color: #E5E6EB;
        z-index: 1;
    }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 33.333%;
}

.step-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 2px solid #E5E6EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #999999;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-text {
    font-size: 12px;
    color: #999999;
    text-align: center;
    transition: all 0.3s ease;
}

.step.active .step-icon {
    background-color: #165DFF;
    border-color: #165DFF;
    color: #FFFFFF;
}

.step.active .step-text {
    color: #165DFF;
    font-weight: 500;
}

.step.completed .step-icon {
    background-color: #FFFFFF;
    border-color: #165DFF;
    color: #165DFF;
}

/* 表单卡片 */
.form-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 24px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1D2129;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E6EB;
    border-radius: 8px;
    font-size: 14px;
    color: #1D2129;
    transition: all 0.2s ease;
}

    .form-input::placeholder {
        color: #C9CDD4;
    }

    .form-input:focus {
        outline: none;
        border-color: #165DFF;
        box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
    }

.input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

    .input-group .form-input {
        flex: 1;
    }

/* 按钮样式 */
.getpassword-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #165DFF;
    color: #FFFFFF;
}

    .btn-primary:hover {
        background-color: rgba(22, 93, 255, 0.9);
        box-shadow: 0 2px 8px rgba(22, 93, 255, 0.2);
    }

    .btn-primary:disabled {
        background-color: #8BB4F8;
        cursor: not-allowed;
        box-shadow: none;
    }

.getpassword-btn-secondary {
    background-color: #F5F7FA;
    color: #165DFF;
    margin-right: 10px;
}

    .getpassword-btn-secondary:hover {
        background-color: #EBEEF5;
    }

.btn-code {
    width: 110px;
    padding: 0;
    background-color: #F5F7FA;
    color: #165DFF;
    font-size: 14px;
}

    .btn-code:hover {
        background-color: #EBEEF5;
    }

    .btn-code:disabled {
        background-color: #F5F7FA;
        color: #C9CDD4;
        cursor: not-allowed;
    }

/* 操作链接 */
.link {
    display: inline-block;
    font-size: 14px;
    color: #165DFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .link:hover {
        color: #0E42D2;
        text-decoration: underline;
    }

.link-text {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #666666; margin-bottom:16px
}

/* 提示信息 */
.hint-text {
    font-size: 12px;
    color: #666666;
    margin-top: 4px;
    margin-bottom: 8px;
}

.error-text {
    font-size: 12px;
    color: #EF4444;
    margin-top: 4px;
    display: none;
}

    .error-text.show {
        display: block;
    }

/* 表单步骤容器 */
.form-step {
    display: none;
}

    .form-step.active {
        display: block;
    }

/* 成功提示 */
.success-container {
    text-align: center;
    padding: 20px 0;
    display: none;
}

    .success-container.active {
        display: block;
    }

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ECFDF5;
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.success-title {
    font-size: 20px;
    font-weight: 600;
    color: #1D2129;
    margin-bottom: 8px;
}

.success-desc {
    font-size: 14px;
    color: #666666;
    margin-bottom: 24px;
}