/* ============================================================================
    Consultant Portal 専用 CSS
    - /wwwroot/css/consultant.css
    - site.css と重複しない「専用見た目」を提供
============================================================================ */

/* =========================================================
    CONSULTANT UI COMPONENTS
========================================================= */

/* シンプルカード */
.card-simple {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    transition: background-color 0.15s ease-in-out;
}

    .card-simple:hover {
        background-color: #fafafa;
    }

/* 小さいカード（企業・プロジェクト一覧など） */
.card-mini {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 1rem 1.2rem;
}

    .card-mini:hover {
        background-color: #f9f9f9;
    }

/* Key Value 表示 */
.kv-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.kv-value {
    font-size: 1.05rem;
    font-weight: 600;
}

/* =========================================================
    TABLES
========================================================= */

.table-consultant {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.2rem;
}

    .table-consultant th {
        background: #fafafa;
        border-bottom: 1px solid #e5e5e5;
        padding: 0.7rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: #444;
    }

    .table-consultant td {
        border-bottom: 1px solid #f0f0f0;
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .table-consultant tr:hover td {
        background: #f9f9f9;
    }

/* =========================================================
    STATUS BADGES
========================================================= */

.badge-status {
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-progress {
    background: #0d6efd15;
    color: #0d6efd;
}

.badge-warning {
    background: #ffc10720;
    color: #cc8600;
}

.badge-success {
    background: #20c99720;
    color: #0f8f70;
}

.badge-danger {
    background: #dc354520;
    color: #a32834;
}

/* =========================================================
    INSIGHT / SCORE WIDGETS
========================================================= */

.score-box {
    border: 1px solid #e5e5e5;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

    .score-box .score-value {
        font-size: 2rem;
        font-weight: 700;
    }

    .score-box .score-label {
        font-size: 0.85rem;
        color: #666;
    }

/* =========================================================
    ACTION LIST
========================================================= */

.action-item {
    border-left: 3px solid #0d6efd;
    padding-left: 1rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    margin-bottom: 1.2rem;
    background: #f9f9f9;
    border-radius: 4px;
}

    .action-item h6 {
        margin-bottom: 0.2rem;
        font-weight: 600;
    }

/* =========================================================
    UTILITIES
========================================================= */

.text-small {
    font-size: 0.85rem;
    color: #666;
}

.text-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}
