/* 全新现代化橙色主题登录页面样式 */

* {
    box-sizing: border-box;
}

/* 主容器 */
.orange-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FF8C42 100%);
    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-login-card {
    width: 100%;
    max-width: 530px;
    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 40px;
    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);
    }
}

/* 卡片头部 */
.card-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-circle {
    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); }
}

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

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

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

/* 表单样式 */
.orange-login-form {
    width: 100%;
}

.form-field {
    margin-bottom: 24px;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.field-icon {
    width: 18px;
    height: 18px;
    color: #FF6B35;
}

.orange-input {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    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;
}

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

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

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

/* 验证码样式 */
.captcha-field {
    margin-bottom: 24px;
}

.captcha-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.captcha-input {
    flex: 1;
}

.captcha-box {
    flex-shrink: 0;
}

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

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

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

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

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

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

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

.remember-checkbox input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.checkbox-label {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

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

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

/* 提交按钮 */
.orange-submit-btn {
    width: 100%;
    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;
    margin-bottom: 24px;
    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-content {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

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

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

.btn-loading {
    display: none;
}

/* 注册区域 */
.register-section {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #F0F0F0;
}

.register-text {
    font-size: 14px;
    color: #666666;
    margin-right: 8px;
}

.register-btn {
    font-size: 14px;
    color: #FF6B35;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.register-btn:hover {
    color: #F7931E;
    text-decoration: underline;
}

/* 社交登录 */
.social-section {
    margin-top: 32px;
}

.social-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E8E8E8, transparent);
}

.divider-text {
    font-size: 13px;
    color: #999999;
    font-weight: 500;
    white-space: nowrap;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.social-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qq-item:hover {
    border-color: #12B7F5;
    background: #12B7F5;
    color: #FFFFFF;
}

.wechat-item:hover {
    border-color: #07C160;
    background: #07C160;
    color: #FFFFFF;
}

.social-svg {
    width: 20px;
    height: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .orange-login-wrapper {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .orange-login-card {
        padding: 36px 28px;
        border-radius: 20px;
    }
    
    .card-title {
        font-size: 28px;
    }
    
    .card-subtitle {
        font-size: 14px;
    }
    
    .logo-circle {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .logo-circle svg {
        width: 35px;
        height: 35px;
    }
    
    .form-field {
        margin-bottom: 20px;
    }
    
    .orange-input {
        height: 48px;
        font-size: 14px;
    }
    
    .captcha-row {
        flex-direction: column;
    }
    
    .captcha-img {
    width: 100%;
        height: 48px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .orange-submit-btn {
        height: 52px;
        font-size: 15px;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .orange-login-card {
        padding: 28px 20px;
        border-radius: 16px;
    }
    
    .card-title {
        font-size: 24px;
    }
    
    .logo-circle {
    width: 60px;
    height: 60px;
    }
    
    .logo-circle svg {
        width: 30px;
        height: 30px;
    }
}

/* 加载动画 */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.orange-submit-btn.loading {
    pointer-events: none;
}

.orange-submit-btn.loading .btn-text {
    display: none;
}

.orange-submit-btn.loading .btn-loading {
    display: inline-block;
}

/* 输入框错误状态 */
.orange-input.error {
    border-color: #FF4444;
    background: #FFF5F5;
}

.orange-input.error:focus {
    box-shadow: 0 0 0 4px rgba(255, 68, 68, 0.1);
}

/* 输入框成功状态 */
.orange-input.success {
    border-color: #07C160;
    background: #F5FFF9;
}

.orange-input.success:focus {
    box-shadow: 0 0 0 4px rgba(7, 193, 96, 0.1);
}

/* ============ 注册选择页面样式 ============ */
.orange-register-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FF8C42 100%);
    overflow: hidden;
}

.orange-register-card {
    width: 100%;
    max-width: 900px;
    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;
}

.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;
}

.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-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);
}

/* 注册类型选择卡片 */
.register-type-selection {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.orange-type-card {
    display: flex;
    align-items: center;
    padding: 30px;
    border: 2px solid #E8E8E8;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.orange-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    transition: left 0.3s ease;
}

.orange-type-card:hover {
    border-color: #FF6B35;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.orange-type-card:hover::before {
    left: 0;
}

.orange-type-card .type-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    background: #F8F9FA;
    border: 2px solid #E8E8E8;
    overflow: hidden;
    flex-shrink: 0;
}

.orange-type-card .person-icon {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-color: #FF6B35;
}

.orange-type-card .store-icon {
    background: linear-gradient(135deg, #F7931E 0%, #FF8C42 100%);
    border-color: #F7931E;
}

.orange-type-card .type-icon svg {
    width: 48px;
    height: 48px;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.orange-type-card:hover .type-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.orange-type-card:hover .type-icon svg {
    transform: scale(1.1);
}

.orange-type-card .type-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.orange-type-card .type-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1A1A1A;
}

.orange-type-card .type-content p {
    font-size: 15px;
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

.orange-type-card .type-arrow {
    font-size: 28px;
    color: #FF6B35;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.orange-type-card:hover .type-arrow {
    transform: translateX(8px);
    color: #F7931E;
}

.register-links-section {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #F0F0F0;
}

.register-link-text {
    font-size: 14px;
    color: #666666;
    margin-right: 8px;
}

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

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

/* 注册选择页面响应式 */
@media (max-width: 768px) {
    .orange-register-wrapper {
        padding: 20px 15px;
    }
    
    .orange-register-card {
        padding: 36px 28px;
    }
    
    .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;
    }
    
    .orange-type-card {
        padding: 24px 20px;
    }
    
    .orange-type-card .type-icon {
        width: 60px;
        height: 60px;
        margin-right: 16px;
    }
    
    .orange-type-card .type-content h3 {
        font-size: 18px;
    }
    
    .orange-type-card .type-content p {
        font-size: 14px;
    }
}

@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;
    }
    
    .orange-type-card {
        flex-direction: column;
        text-align: center;
    }
    
    .orange-type-card .type-icon {
        margin-right: 0;
        margin-bottom: 16px;
    }
    
    .orange-type-card .type-arrow {
        margin-left: 0;
        margin-top: 12px;
    }
}
