/* 个人中心样式 - 测试空文件 */

/* 暂时完全空白 */

/* 个人中心样式 - 基于正常滚动结构 */
.user-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-radius: 10px;
    position: relative;
    margin-bottom: 15px;
}

.user-actions {
    position: absolute;
    top: 15px;
    right: 15px;
}

.user-actions .btn {
    margin-left: 8px;
    font-size: 12px;
    padding: 5px 12px;
}

.avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
}

.user-avatar {
    width: 100px;
    height: 120px;
    border-radius: 10px;
    border: 3px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-info h2 {
    margin: 0 0 5px 0;
    font-size: 24px;
}

.user-details {
    opacity: 0.9;
    margin-top: 8px;
}

.info-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    overflow: hidden;
}

.info-card-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    color: #2c3e50;
}

.info-card-body {
    padding: 20px;
}

.progress-custom {
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    background: #e9ecef;
}

.progress-custom .progress-bar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #6c757d;
}

.stat-value {
    font-weight: 600;
    color: #2c3e50;
}

.feature-btn {
    margin: 2px;
    min-width: 80px;
    font-size: 12px;
    padding: 8px 10px;
    white-space: nowrap;
    flex: 1;
}

.activity-item {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-time {
    color: #6c757d;
    font-size: 12px;
    min-width: 50px;
    flex-shrink: 0;
}

/* 活动链接样式 */
.activity-link {
    text-decoration: none;
    color: #0d6efd; /* Bootstrap的primary蓝色 */
    cursor: pointer;
    transition: color 0.2s ease;
}

.activity-link:hover {
    color: #0b5ed7; /* 悬停时的深蓝色 */
    text-decoration: underline;
}

/* 设置弹窗样式 */
.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.3s ease;
}

.settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.settings-content {
    background: #ffffff;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.settings-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 10px 10px 0 0;
}

.settings-header h4 {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-btn:hover {
    background: #e9ecef;
    color: #2c3e50;
}

.form-group {
    padding: 0 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.gender-options {
    display: flex;
    gap: 12px;
}

.gender-option {
    flex: 1;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8f9fa;
}

.gender-option:hover {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.gender-option.selected {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.gender-option input[type="radio"] {
    display: none;
}

.btn-group {
    padding: 20px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 10px 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #3498db;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* 地区输入样式 */
.area-input-container {
    position: relative;
}

.area-input-container .form-control {
    padding-right: 40px;
}

.char-counter {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 12px;
    pointer-events: none;
}

.form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

/* 等级链接样式 */
.stat-value.text-primary {
    transition: all 0.2s ease;
}

.stat-value.text-primary:hover {
    color: #0056b3 !important;
    text-decoration: underline !important;
}

/* 移除复杂的等级样式，保持简单原始样式 */

/* 出生日期输入容器样式 */
.birth-input-container {
    position: relative;
}

.birth-input-container .form-control {
    margin-bottom: 8px;
}

.birth-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

.birth-hint .text-success {
    color: #28a745 !important;
    font-weight: 500;
}

.birth-hint .text-warning {
    color: #ffc107 !important;
    font-weight: 500;
}

.birth-hint .text-muted {
    color: #6c757d !important;
}

/* 移动端优化 */
@media (max-width: 576px) {
    .birth-input-container .form-control {
        font-size: 16px;
    }
    
    .area-input-container .form-control {
        font-size: 16px;
    }
    
    /* 娱乐区域移动端优化 */
    .info-card-body .d-flex.flex-nowrap.gap-2 {
        gap: 0.25rem;
    }
    
    .info-card-body .d-flex.flex-nowrap.gap-2 a {
        min-width: 0;
        flex: 1;
    }
    
    .info-card-body .d-flex.flex-nowrap.gap-2 .p-3 {
        padding: 0.4rem 0.2rem;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .info-card-body .d-flex.flex-nowrap.gap-2 .fw-bold {
        font-size: 0.75rem;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .info-card-body .d-flex.flex-nowrap.gap-2 .fs-4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .info-card-body .d-flex.flex-nowrap.gap-2 .text-center {
        width: 100%;
    }
}

/* 超小屏幕进一步优化 */
@media (max-width: 360px) {
    .info-card-body .d-flex.flex-nowrap.gap-2 .fw-bold {
        font-size: 0.7rem;
    }
    
    .info-card-body .d-flex.flex-nowrap.gap-2 .fs-4 {
        font-size: 1rem !important;
    }
    
    .info-card-body .d-flex.flex-nowrap.gap-2 .p-3 {
        padding: 0.3rem 0.1rem;
        min-height: 55px;
    }
} 