/* 全局样式 */
@import "base.css";


/* 公司列表样式 */
.company-list {
    padding: 10px;
    margin-top: 20px;
}

/* 避雷榜样式 */
.avoid-mode .company-item {
    background-color: #e8f5e9;
    /* 浅绿色背景 */
}

.avoid-mode .rank {
    background-color: #4CAF50;
    /* 绿色序号 */
}

.avoid-mode .score {
    color: #4CAF50;
    /* 绿色分数 */
}

.company-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    display: flex;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.rank {
    width: 40px;
    height: 40px;
    background-color: #ff7043;
    color: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 15px;
}

.company-details {
    flex: 1;
}

.company-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.label {
    color: #666;
    font-size: 14px;
}

.score {
    color: #ff7043;
    font-weight: bold;
    font-size: 14px;
}

.features {
    margin-top: 5px;
}

.feature-text {
    font-size: 14px;
    color: #666;
}

/* 底部导航样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    border-top: 1px solid #eee;
    height: 60px;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 12px;
}

.active {
    color: #ff7043;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .container {
        max-width: 768px;
        margin: 0 auto;
    }

    .company-item {
        padding: 20px;
    }

    .company-name {
        font-size: 20px;
    }

    .label,
    .score,
    .feature-text {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }

    .company-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .company-item {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .company-list {
        grid-template-columns: repeat(2, 1fr);
    }
}