/* 注册页面样式 - 现代专业风格 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.register-page {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部导航栏 */
.register-navbar {
    background: linear-gradient(135deg, #2B7CD3 0%, #1a5fa8 100%);
    height: 64px;
    box-shadow: 0 2px 20px rgba(43, 124, 211, 0.15);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 50px;
}

.navbar-brand .logo-icon {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin-right: 10px;
}

.navbar-brand .logo-badge {
    background: #fff;
    color: #2B7CD3;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.navbar-brand .logo-dot {
    color: #fff;
    font-size: 14px;
    margin-left: 2px;
    font-weight: 500;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    flex: 1;
}

.navbar-menu li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-menu li a:hover {
    color: #fff;
}

.navbar-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.navbar-menu li a:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-actions .btn-search-help,
.navbar-actions .btn-search-aid {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-actions .btn-search-help {
    background: #308EFF;
    color: #fff;
}

.navbar-actions .btn-search-aid {
    background: #4CAF50;
    color: #fff;
}

.navbar-actions .btn-search-help:hover,
.navbar-actions .btn-search-aid:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar-actions .nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.navbar-actions .nav-link:hover,
.navbar-actions .nav-link.active {
    color: #fff;
}

.navbar-actions .vip-link {
    color: #ffd700 !important;
    font-weight: 600;
}

.navbar-actions .divider {
    color: rgba(255, 255, 255, 0.5);
}

/* 面包屑导航 */
.breadcrumb-wrapper {
    background: transparent;
    border-bottom: none;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    font-size: 14px;
}

.container-custom{
    max-width:1380px;
}

.breadcrumb-link {
    color: #2B7CD3;
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 10px;
}

.breadcrumb-current {
    color: #666;
}

/* 主要内容区域 */
.register-main {
    flex: 1;
    padding: 0px 30px 30px;
}

.register-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    min-height: 600px;
    background-color: #fff;
    padding: 40px 40px;
}

/* 左侧信息区 */
.register-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 免责声明 */
.disclaimer-box {
    background: linear-gradient(135deg, #6EA746 0%, #6EA746 100%);
    border-radius: 2px;
    padding: 25px 30px;
    color: #fff;
    box-shadow: 0 10px 40px rgba(43, 124, 211, 0.3);
}

.disclaimer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.disclaimer-icon {
    font-size: 20px;
}

.disclaimer-content {
    line-height: 1.8;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    text-align: justify;
}

.disclaimer-content p {
    text-indent: 2em;
}

/* 招聘广告 */
.recruit-box {
    background: linear-gradient(135deg, #2B7CD3 0%, #1565c0 50%, #0d47a1 100%);
    border-radius: 2px;
    padding: 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(43, 124, 211, 0.3);
}

.recruit-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.recruit-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.recruit-header {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.recruit-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.recruit-icons .icon-item {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(10px);
}

.recruit-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recruit-list {
    list-style: none;
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.recruit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.recruit-list .check-icon {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-style: normal;
}

.recruit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4CAF50 0%, #2e7d32 100%);
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.recruit-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
}

.recruit-btn .arrow-icon {
    font-size: 20px;
    font-style: normal;
    animation: arrowMove 1s infinite;
}

@keyframes arrowMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* 右侧注册表单 */
.register-right {
    width: 478px;
    flex-shrink: 0;
}

.register-form-wrapper {
    background: #fff;
    border-radius: 2px;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.register-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #2B7CD3;
    margin-bottom: 30px;
}

/* 用户类型选择 */
.user-type-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.type-tab {
    cursor: pointer;
    margin-left: -1px;
}

.type-tab:first-child {
    margin-left: 0;
}

.type-tab input {
    display: none;
}

.type-tab .tab-text {
    display: block;
    padding: 10px 20px;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    color: #666;
    background: #EBF4F3;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.type-tab:first-child .tab-text {
    border-radius: 2px 0 0 2px;
}

.type-tab:last-child .tab-text {
    border-radius: 0 4px 4px 0;
}

.type-tab:hover .tab-text {
    border-color: #2B7CD3;
    color: #2B7CD3;
    z-index: 1;
    position: relative;
}

.type-tab.active .tab-text,
.type-tab input:checked + .tab-text {
    background: #2B7CD3;
    border-color: #2B7CD3;
    color: #fff;
    position: relative;
    z-index: 2;
}

/* 表单样式 */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-input {
    width: 100%;
    height: 45px;
    padding: 0 16px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #2B7CD3;
    box-shadow: 0 0 0 3px rgba(43, 124, 211, 0.1);
}

.form-input::placeholder {
    color: #aaa;
}

/* 手机号输入组 */
.phone-input-group {
    display: flex;
    gap: 2px;
}

.country-code {
    position: relative;
    flex-shrink: 0;
}

.country-select {
    width: 85px;
    height: 45px;
    padding: 0 30px 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-size: 15px;
    appearance: none;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.country-select:focus {
    border-color: #2B7CD3;
}

.country-code .select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #999;
    pointer-events: none;
}

.phone-input {
    flex: 1;
}

/* 验证码输入组 */
.captcha-input-group {
    display: flex;
    gap: 2px;
}

.captcha-input {
    flex: 1;
}

.btn-get-code {
    flex-shrink: 0;
    width: 120px;
    height: 45px;
    background: #fff;
    border: 1px solid #2B7CD3;
    border-radius: 2px;
    color: #2B7CD3;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-get-code:hover:not(:disabled) {
    background: #2B7CD3;
    color: #fff;
}

.btn-get-code:disabled,
.btn-get-code.counting {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

/* 密码输入组 */
.password-input-group {
    position: relative;
}

.password-input {
    padding-right: 50px;
}

.btn-toggle-pwd {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 18px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.btn-toggle-pwd:hover {
    opacity: 1;
}

/* 协议 */
.agreement-group {
    margin-top: 5px;
}

.agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.agreement-checkbox {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.agreement-checkbox:checked + .checkmark {
    background: #2B7CD3;
    border-color: #2B7CD3;
}

.agreement-checkbox:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
}

.agreement-text {
    flex: 1;
}

.agreement-link {
    color: #2B7CD3;
    text-decoration: none;
}

.agreement-link:hover {
    text-decoration: underline;
}

/* 注册按钮 */
.btn-register {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #015AC7 0%, #015AC7 100%);
    border: none;
    border-radius: 2px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 124, 211, 0.4);
}

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

/* 登录链接 */
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: #2B7CD3;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

/* 底部 */
.register-footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.register-footer .copyright {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.register-footer .copyright a {
    color: #666;
    text-decoration: none;
    margin-left: 10px;
}

.register-footer .copyright a:hover {
    color: #2B7CD3;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .register-container {
        flex-direction: column;
    }
    
    .register-right {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .register-left {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-actions {
        gap: 10px;
    }
    
    .navbar-actions .btn-search-help,
    .navbar-actions .btn-search-aid {
        display: none;
    }
    
    .register-main {
        padding: 20px 15px;
    }
    
    .register-form-wrapper {
        padding: 25px 20px;
    }
    
    .register-title {
        font-size: 22px;
    }
    
    .user-type-tabs {
        flex-wrap: wrap;
    }
    
    .type-tab .tab-text {
        padding: 6px 14px;
        font-size: 13px;
    }
    
    .disclaimer-box,
    .recruit-box {
        padding: 20px;
    }
    
    .recruit-title {
        font-size: 20px;
    }
    
    .btn-get-code {
        width: 100px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 15px;
    }
    
    .navbar-brand .logo-icon {
        font-size: 20px;
    }
    
    .navbar-brand .logo-badge {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .phone-input-group {
        flex-direction: column;
    }
    
    .country-select {
        width: 100%;
    }
    
    .captcha-input-group {
        flex-direction: column;
    }
    
    .btn-get-code {
        width: 100%;
    }
    
    .user-type-tabs {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .type-tab .tab-text {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-container {
    animation: fadeInUp 0.6s ease-out;
}

.disclaimer-box {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.recruit-box {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.register-form-wrapper {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* 输入框聚焦动画 */
.form-input:focus,
.country-select:focus {
    animation: inputPulse 0.3s ease;
}

@keyframes inputPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}
