/* =========================================
   COMPLIANCE.CSS - Compliance Program Page
   ========================================= */

/* =========================================
   1. DEDUCTION GRID
   ========================================= */
.deduction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.deduction-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.5rem;
    padding-left: calc(1.5rem + var(--card-accent-width, 5px));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.deduction-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--card-accent-width, 5px);
    background: var(--card-accent-gradient);
    border-radius: 1rem 0 0 1rem;
}

.deduction-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 60%;
    background: var(--card-accent-glow);
    pointer-events: none;
    border-radius: inherit;
}

.deduction-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.deduction-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--headerColor);
    margin-bottom: 0.5rem;
}

.deduction-item p {
    color: var(--bodyTextColor);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .deduction-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .deduction-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   2. SOLUTION STEPS
   ========================================= */
.solution-steps {
    margin-top: 2rem;
}

.solution-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-num {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.solution-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.solution-step p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =========================================
   3. SCORING BREAKDOWN
   ========================================= */
.scoring-section {
    padding: var(--sectionPadding);
    background: var(--bg-offset);
}

.scoring-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.scoring-table th,
.scoring-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

.scoring-table th {
    background: var(--card-bg);
    font-weight: 700;
    color: var(--headerColor);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.scoring-table td {
    color: var(--bodyTextColor);
}

.scoring-table tr:hover td {
    background: var(--card-bg);
}

/* =========================================
   4. BONUS PROTECTION
   ========================================= */
.bonus-section {
    padding: var(--sectionPadding);
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    color: #fff;
}

.bonus-section .cs-title {
    color: #fff;
}

.bonus-section .cs-text {
    color: rgba(255, 255, 255, 0.85);
}

.bonus-highlight {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    margin-top: 1rem;
}

