/* QQ/手机号价值评估样式 */

/* 号码输入区域 */
.input-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.number-type-tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-control {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.evaluate-btn {
    padding: 12px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.evaluate-btn:hover {
    background-color: #45a049;
}

.input-tips {
    font-size: 14px;
    color: #666;
}

/* 评估结果区域 */
.result-section {
    margin-bottom: 30px;
}

.result-container {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.number-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.number-label {
    font-weight: bold;
    color: #666;
}

.number-value {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.number-type {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
}

.type-icon {
    font-size: 20px;
}

.type-text {
    font-size: 14px;
    color: #666;
}

.value-display {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.value-chart {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.value-bar {
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.value-progress {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.value-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.value-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-top: 10px;
}

.score-label {
    font-size: 16px;
    color: #666;
}

.score-value {
    font-size: 36px;
    font-weight: bold;
    color: #4CAF50;
    margin: 0 5px;
}

.score-max {
    font-size: 16px;
    color: #999;
}

.value-details {
    margin-bottom: 20px;
}

.value-details h4 {
    font-size: 18px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 14px;
    color: #666;
}

.detail-value {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.detail-score {
    font-size: 14px;
    color: #4CAF50;
}

.value-comment {
    background-color: #f0f8ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.value-comment h4 {
    font-size: 18px;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.value-comment p {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
    margin: 0;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.action-btn {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    background-color: #e0e0e0;
}

/* 号码价值知识 */
.knowledge-section {
    margin-bottom: 30px;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.knowledge-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.knowledge-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.knowledge-item p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* 说明信息 */
.info-section {
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.info-item p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .result-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .knowledge-grid,
    .info-grid,
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-control {
        width: 100%;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
}