* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
 主要橙色主题颜色变量 
:root {
    --primary-orange: #f97316;
    --primary-orange-dark: #ea580c;
    --primary-orange-light: #fdba74;
    --primary-orange-lighter: #ffedd5;
    --primary-orange-bg: #fff7ed;
    --success-green: #16a34a;
    --error-red: #dc2626;
    --warning-yellow: #f59e0b;
    --gray-light: #e5e7eb;
    --gray-medium: #9ca3af;
    --gray-dark: #4b5563;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff7ed;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    padding: 0px;
    margin: 0;
    
}


.container {
    width: 100%;
    max-width: 850px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.15);
    overflow: hidden;
    border: 1px solid #ffedd5;
}

.banner {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f97316;
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color:#f97316;
    padding: 0px;
}

.banner h1 {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner p {
    font-size: 16px;
    opacity: 0.9;
}

.form-container {
    padding: 30px 40px;
    background-color: white;
}

h2 {
    color: #7c2d12;
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #f97316;
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
    border-radius: 2px;
}

h2 i {
    margin-right: 10px;
    color: #f97316;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}

.form-row label {
    flex: 0 0 120px;
    font-weight: 600;
    color: #7c2d12;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.form-row label i {
    margin-right: 8px;
    color: #f97316;
    width: 20px;
}

.input-container {
    flex: 1;
    position: relative;
    width: 100%;
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row input[type="email"] {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #fff;
    color: #374151;
    box-sizing: border-box;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

/* 图标颜色类 */
.icon-default {
    color: #9ca3af;
}

.icon-valid {
    color: #16a34a;
}

.icon-invalid {
    color: #dc2626;
}

.form-row input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.form-hint {
    font-size: 13px;
    color: red;
    margin-top: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding-left: 120px;
    display:none;
}

.form-hint i {
    font-size: 14px;
    margin-right: 5px;
}

/* 验证码行特殊样式 */
.verification-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}

.verification-row label {
    flex: 0 0 120px;
    font-weight: 600;
    color: #7c2d12;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.verification-row label i {
    margin-right: 8px;
    color: #f97316;
    width: 20px;
}

.verification-container {
    flex: 1;
    display: flex;
    gap: 10px;
    align-items: center;
}

.verification-input {
    flex: 1;
    position: relative;
}

.verification-input input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #fff;
    color: #374151;
    box-sizing: border-box;
}

.verification-btn {
    flex: 0 0 auto;
    background: #f97316;
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.2);
}

.verification-btn:hover {
    background: #ea580c;
    background: linear-gradient(90deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(249, 115, 22, 0.3);
}

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

.verification-btn.disabled {
    background: #fed7aa;
    background: linear-gradient(90deg, #fed7aa 0%, #fdba74 100%);
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.step-btn {
    flex: 0 0 auto;
    background: #f97316;
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.2);
    display: block;      /* 让按钮变成块级，宽度不再由内容决定 */
    margin: 0 auto;      /* 左右 auto 即可水平居中 */
}

.step-btn:hover {
    background: #ea580c;
    background: linear-gradient(90deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(249, 115, 22, 0.3);
}

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

.verification-hint {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding-left: 120px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    width: 90%;
}

.checkbox-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    flex: 0 0 auto;
}

.checkbox-container label {
    font-weight: 600;
    color: #7c2d12;
    font-size: 15px;
    flex: 1;
}

.terms-link {
    color: #f97316;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.terms-link:hover {
    text-decoration: underline;
    color: #ea580c;
}

.btn-submit {
    width: 100%;
    background: #f97316;
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.2);
    position: relative;
    overflow: hidden;
}

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

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

.btn-submit i {
    margin-right: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(249, 115, 22, 0.3);
}

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

.btn-submit.disabled {
    background: #fed7aa;
    background: linear-gradient(90deg, #fed7aa 0%, #fdba74 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.links-container {
    margin-top: 25px;
    border-top: 1px solid #ffedd5;
    padding-top: 20px;
    text-align: center;
}

.link-item {
    display: inline-block;
    margin: 0 15px 12px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.link-item:hover {
    background-color: #ffedd5;
}

.link-item i {
    color: #f97316;
    margin-right: 8px;
}

.link {
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

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

.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
    border-left: 4px solid;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message i {
    margin-right: 10px;
    font-size: 18px;
}

.message.success {
    background-color: #dcfce7;
    color: #166534;
    border-color: #16a34a;
}

.message.success i {
    color: #16a34a;
}

.message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #dc2626;
}

.message.error i {
    color: #dc2626;
}

/* 输入框验证状态 */
.input-valid {
    border-color: #16a34a !important;
}

.input-valid:focus {
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2) !important;
}

.input-invalid {
    border-color: #dc2626 !important;
}

.input-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
}

/* 响应式设计 - 保持原有布局 */
@media (max-width: 768px) {
    .container {
        max-width: 95%;
        border-radius: 12px;
    }
    
    .form-container {
        padding: 25px 20px;
    }
    
    .banner {
        height: 150px;
    }
    
    .banner h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .btn-submit {
        padding: 14px;
        font-size: 16px;
    }
    
    .link-item {
        display: block;
        margin: 0 0 10px;
    }
    
    .form-row,
    .verification-row {
        flex-wrap: nowrap;
    }
    
    .form-row label,
    .verification-row label {
        flex: 0 0 100px;
        font-size: 15px;
    }
    
    .form-hint,
    .verification-hint {
        padding-left: 100px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0px;
        background: #fff7ed;
    }
    
    .container {
        border-radius: 10px;
    }
    
    .form-container {
        padding: 20px 15px;
    }
    
    .banner {
        height: 120px;
    }
    
    .banner h1 {
        font-size: 22px;
    }
    
    .banner p {
        font-size: 14px;
    }
    
    .form-row label,
    .verification-row label {
        flex: 0 0 90px;
        font-size: 14px;
    }
    
    .form-hint,
    .verification-hint {
        padding-left: 90px;
        font-size: 12px;
    }
    
    .verification-container {
        flex-direction: row;
        gap: 8px;
    }
    
    .verification-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    .step-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* 确保所有屏幕尺寸都保持水平布局 */
@media (max-width: 360px) {
    .form-row label,
    .verification-row label {
        flex: 0 0 80px;
        font-size: 13px;
    }
    
    .form-hint,
    .verification-hint {
        padding-left: 80px;
        font-size: 12px;
    }
    
    .form-row input,
    .verification-input input {
        padding: 10px 35px 10px 12px;
        font-size: 14px;
    }
    
    .input-icon {
        right: 10px;
        font-size: 14px;
    }
}

/* 隐私协议等全屏遮罩层 */
.kx-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    animation: kx-fadeIn 0.3s ease;
}

/* 全屏对话框内容 */
.kx-modal-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 10px;
    animation: kx-slideIn 0.3s ease;
}

/* 对话框标题 */
.kx-modal-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a3c6c;
    margin-bottom: 28px;
    text-align: center;
}

/* 对话框内容 */
.kx-modal-content {
    flex: 1;
    overflow-y: auto;
    color: #000000;
    line-height: 1.5;
    font-size: 14px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 10px;
}

.kx-modal-content p {
    margin-bottom: 6px;
}

.kx-modal-content::-webkit-scrollbar {
    width: 8px;
}

.kx-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
}

.kx-modal-content::-webkit-scrollbar-thumb {
    background: rgba(44, 111, 187, 0.3);
    border-radius: 4px;
}

.kx-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(44, 111, 187, 0.5);
}

/* 对话框底部 */
.kx-modal-footer {
    padding-top: 40px;
    text-align: center;
}

/* 同意按钮 – 橙色版 */
.kx-agree-button {
    background: linear-gradient(135deg, #ff9a44 0%, #ff6f00 100%);
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all .3s ease;
    outline: none;
    box-shadow: 0 4px 15px rgba(255, 111, 0, .30);
    position: relative;
    overflow: hidden;
}

.kx-agree-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, .40);
}

.kx-agree-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 111, 0, .35);
}

/* 光泽条保持白色半透明 */
.kx-agree-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, .3);
    transform: rotate(25deg);
    transition: all .7s;
}

.kx-agree-button:hover::after {
    left: 120%;
}

/* 动画效果 */
@keyframes kx-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes kx-slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .kx-modal-dialog {
        padding: 24px;
    }

    .kx-modal-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .kx-modal-content {
        font-size: 15px;
    }

    .kx-agree-button {
        padding: 14px 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .kx-modal-dialog {
        padding: 20px;
    }

    .kx-modal-title {
        font-size: 22px;
    }

    .kx-modal-content {
        font-size: 14px;
    }

    .kx-agree-button {
        padding: 12px 32px;
        font-size: 15px;
    }
}

/* 隐私协议基础表格样式 */
.kx-table-container {
    font-size: 0.6em;
    width: 100%;
    overflow-x: auto;
    position: relative;
    margin: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.kx-permissions-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-family: sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.kx-permissions-table thead th {
    background-color: #f2f2f2;
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    position: sticky;
    top: 0;
}

.kx-permissions-table tbody td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    vertical-align: top;
}

.kx-permissions-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.kx-permissions-table tbody tr:hover {
    background-color: #f1f1f1;
}

.kx-platform-tag {
    display: inline-block;
    background: #e0e0e0;
    padding: 2px 5px;
    margin: 2px;
    border-radius: 3px;
    white-space: nowrap;
}

/* 滚动条样式 */
.kx-table-container::-webkit-scrollbar {
    height: 8px;
}

.kx-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.kx-table-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.kx-table-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 滚动提示 */
.kx-scroll-hint {
    text-align: center;
    color: #666;
    font-size: 0.5em;
    margin-top: 5px;
    display: none;
}

@media (max-width: 768px) {
    .kx-scroll-hint {
        display: block;
    }
}
        
        