/* 全新现代化橙色主题注册页面样式 */

* {
    box-sizing: border-box;
}

/* 基础样式重置 */
body {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FF8C42 100%) !important;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.inner, .body {
    background: transparent !important;
}

/* 主容器 */
.orange-register-wrapper {
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

/* 背景装饰图案 */
.orange-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

/* 注册卡片 */
.orange-register-card {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 48px 50px;
    position: relative;
    z-index: 1;
    animation: cardSlideIn 0.6s ease-out;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 注册头部 */
.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.register-logo svg {
    width: 40px;
    height: 40px;
    color: #FFFFFF;
}

.register-title {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.register-subtitle {
    font-size: 15px;
    color: #666666;
    margin: 0;
    font-weight: 400;
}

/* 步骤条 */
.register-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F0F0F0;
    color: #999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-item.active .step-number {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
    animation: stepPulse 2s infinite;
}

@keyframes stepPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4), 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4), 0 0 0 10px rgba(255, 107, 53, 0);
    }
}

.step-label {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.step-item.active .step-label {
    color: #FF6B35;
    font-weight: 700;
}

.step-link {
    font-size: 12px;
    color: #FF6B35;
    text-decoration: none;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.step-link:hover {
    color: #F7931E;
    text-decoration: underline;
}

.step-connector {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, #E8E8E8, #E8E8E8);
    margin: 0 20px;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.step-item.active ~ .step-connector {
    background: linear-gradient(90deg, #FF6B35, #F7931E);
}

/* 表单容器 */
.form-container {
    width: 100%;
}

.orange-register-form {
    width: 100%;
}

.formlogin {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
}

.formlogin tr {
    display: table-row;
}

.formlogin td {
    padding: 16px 12px;
    font-size: 14px;
    vertical-align: middle;
}

.formlogin .tdright {
    width: 140px;
    min-width: 140px;
    text-align: right;
    padding-right: 20px;
    color: #333333;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: top;
    padding-top: 20px;
}

.formlogin td:not(.tdright) {
    width: auto;
    vertical-align: top;
    padding-top: 16px;
}

.required {
    color: #FF6B35;
    font-weight: bold;
    margin-right: 4px;
}

/* 输入框样式 */
.input-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 400px;
}

.orange-form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    font-size: 15px;
    color: #1A1A1A;
    background: #FAFAFA;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.orange-form-input::placeholder {
    color: #999999;
}

.orange-form-input:focus {
    border-color: #FF6B35;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.orange-form-input:hover:not(:focus) {
    border-color: #FFB88C;
    background: #FFFFFF;
}

/* 验证码样式 */
.captcha-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.captcha-input-wrapper {
    flex: 1;
    min-width: 200px;
}

.captcha-image-wrapper {
    flex-shrink: 0;
}

.orange-captcha {
    /* width: 140px; */
    height: 48px;
    border-radius: 12px;
    border: 2px solid #E8E8E8;
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
}

.orange-captcha:hover {
    border-color: #FF6B35;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

/* 短信验证码 */
.sms-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.sms-input-wrapper {
    flex: 1;
    min-width: 200px;
}

.orange-sms-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.orange-sms-btn:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.orange-sms-btn.disabled {
    background: #E8E8E8;
    color: #999999;
    cursor: not-allowed;
    box-shadow: none;
}

/* 密码强度指示器 */
.orange-pw-check {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.pw-item {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    background: #F5F5F5;
    color: #999999;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pw-item strong {
    color: #FF6B35;
    font-weight: 700;
}

.orange-pw-check .pw-item:has(strong) {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
    border-color: #FF6B35;
    color: #FF6B35;
}

/* 验证问题 */
.orange-question {
    margin-top: 8px;
    padding: 10px 14px;
    background: #FFF8F0;
    border-left: 3px solid #FF6B35;
    border-radius: 8px;
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

/* 协议复选框 */
.protocol-row {
    margin-top: 20px;
}

.protocol-row td {
    padding-left: 0 !important;
}

.protocol-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 0;
}

.protocol-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.protocol-checkbox input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #E8E8E8;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    background: #FFFFFF;
    flex-shrink: 0;
}

.protocol-checkbox input[type="radio"]:checked + .custom-radio {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-color: #FF6B35;
}

.protocol-checkbox input[type="radio"]:checked + .custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
}

.protocol-text {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.protocol-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    flex-shrink: 0;
}

.protocol-link {
    font-size: 14px;
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.protocol-link:hover {
    color: #F7931E;
    text-decoration: underline;
}

.protocol-separator {
    font-size: 14px;
    color: #999999;
}

/* 提交按钮 */
.submit-row {
    margin-top: 30px;
}

.orange-submit-btn {
    width: 100%;
    max-width: 400px;
    height: 56px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border: none;
    border-radius: 14px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.orange-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.orange-submit-btn:hover::before {
    left: 100%;
}

.orange-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.orange-submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.orange-submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* 表单分区 */
.form-section {
    margin-bottom: 40px;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FFE8D6;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

/* 下拉选择框样式 */
.select-wrapper {
    display: block;
    width: 100%;
    width:400px
}

.select-wrapper select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    font-size: 15px;
    color: #1A1A1A;
    background: #FAFAFA;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    cursor: pointer;
}

.select-wrapper select:focus {
    border-color: #FF6B35;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.select-wrapper select:hover:not(:focus) {
    border-color: #FFB88C;
    background: #FFFFFF;
}

/* 文本域样式 */
.textarea-wrapper {
    display: block;
    width: 100%;
    max-width: 400px;
}

.orange-form-textarea {
    width: 100%;
    min-height: 200px;
    padding: 14px 18px;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    font-size: 15px;
    color: #1A1A1A;
    background: #FAFAFA;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    resize: vertical;
    line-height: 1.6;
}

.orange-form-textarea::placeholder {
    color: #999999;
}

.orange-form-textarea:focus {
    border-color: #FF6B35;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.orange-form-textarea:hover:not(:focus) {
    border-color: #FFB88C;
    background: #FFFFFF;
}

/* 协议内容框 */
.orange-agreement-box {
    margin-top: 40px;
    padding: 24px;
    background: #FFF8F0;
    border-radius: 16px;
    border: 2px solid #FFE8D6;
}

.orange-agreement-content {
    max-height: 200px;
    overflow-y: auto;
}

.xieye_nr {
    font-size: 13px;
    line-height: 1.8;
    color: #666666;
}

.xieye_nr p {
    margin: 0 0 12px 0;
}

/* 美化滚动条 */
.orange-agreement-content::-webkit-scrollbar {
    width: 8px;
}

.orange-agreement-content::-webkit-scrollbar-track {
    background: #F5F5F5;
    border-radius: 4px;
}

.orange-agreement-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-radius: 4px;
}

.orange-agreement-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #F7931E 0%, #FF6B35 100%);
}

/* 验证码特殊处理 */
.verification {
    padding-top: 0 !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .orange-register-wrapper {
        padding: 20px 15px;
    }
    
    .orange-register-card {
        padding: 36px 28px;
        border-radius: 20px;
    }
    
    .register-title {
        font-size: 28px;
    }
    
    .register-subtitle {
        font-size: 14px;
    }
    
    .register-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .register-logo svg {
        width: 35px;
        height: 35px;
    }
    
    .register-steps {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .step-connector {
        display: none;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .formlogin .tdright {
        width: 100px;
        padding-right: 10px;
        font-size: 13px;
    }
    
    .input-wrapper {
        max-width: 100%;
    }
    
    .orange-form-input {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .captcha-row,
    .sms-row {
        flex-direction: column;
    }
    
    .orange-captcha {
        width: 100%;
        max-width: 200px;
    }
    
    .orange-sms-btn {
        width: 100%;
    }
    
    .orange-submit-btn {
        max-width: 100%;
        height: 52px;
        font-size: 15px;
    }
    
    .protocol-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .orange-register-card {
        padding: 28px 20px;
        border-radius: 16px;
    }
    
    .register-title {
        font-size: 24px;
    }
    
    .register-logo {
        width: 60px;
        height: 60px;
    }
    
    .register-logo svg {
        width: 30px;
        height: 30px;
    }
    
    .formlogin td {
        padding: 12px 8px;
    }
    
    .formlogin .tdright {
        width: 80px;
        font-size: 12px;
    }
}

/* 兼容旧样式类名 */
.formlogin input.input {
    padding: 14px 18px;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    font-size: 15px;
    width: 100%;
    max-width: 400px;
    background: #FAFAFA;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.formlogin input.input:focus {
    border-color: #FF6B35;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    background: #FFFFFF;
}

.formlogin input.input:hover {
    border-color: #FFB88C;
    background: #FFFFFF;
}

/* 错误提示样式 */
.formlogin span[id="code"],
.formlogin span[id="smscode"],
.formlogin span[id="wer"] {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #FF4444;
}

/* 成功提示样式 */
.formlogin span[id="code"].success,
.formlogin span[id="smscode"].success,
.formlogin span[id="wer"].success {
    color: #07C160;
}
