body {
    font-family: 'Inter', sans-serif;
    background-color: #fcfcfc;
}

.app-title {
    font-weight: 900;
    letter-spacing: -1px;
    color: #1e293b;
}

.fw-black {
    font-weight: 900;
}

/* Autocomplete */
.autocomplete-list {
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.list-group-item-action {
    cursor: pointer;
}

/* Cards */
.result-card {
    transition: all 0.3s ease;
}

.action-card {
    border-radius: 12px;
    transition: transform 0.2s;
}

/* Removed hover effect on card to prevent jittering when scrolling inside */
/* .action-card:hover { transform: translateY(-3px); } */

/* --- NEW: SCROLLABLE SECTIONS --- */

/* 1 & 2. Skills Lists (Safe vs Risk) */
.skills-list-container {
    max-height: 300px;
    /* Fixed height */
    overflow-y: auto;
    /* Vertical scrollbar appears when needed */
    padding-right: 8px;
    /* Space for the scrollbar */
    scrollbar-width: thin;
    /* Firefox: thinner scrollbar */
}

/* 3. Technical Breakdown Table */
.table-container {
    max-height: 400px;
    /* Fixed height for the table area */
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* Make the table header sticky so it stays visible while scrolling */
.table-container thead th {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    /* Must match table-light color */
    z-index: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* --- CUSTOM SCROLLBAR STYLING (Webkit/Chrome) --- */
/* Makes the scrollbars look subtle and professional */
.skills-list-container::-webkit-scrollbar,
.table-container::-webkit-scrollbar,
.autocomplete-list::-webkit-scrollbar {
    width: 6px;
}

.skills-list-container::-webkit-scrollbar-track,
.table-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.skills-list-container::-webkit-scrollbar-thumb,
.table-container::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.skills-list-container::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* Skill Badges */
.skill-item {
    background: white;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #f1f5f9;
}

/* Verdict Colors */
.text-risk-Critical {
    color: #dc2626;
}

.text-risk-High {
    color: #ea580c;
}

.text-risk-Moderate {
    color: #ca8a04;
}

.text-risk-Low,
.text-risk-Green {
    color: #16a34a;
}