

/* SIMPLE ASSUMPTIONS BOX */
.itc-simple-assumptions {
    margin: 40px 0; padding: 24px 28px; background: #f8fafc; border: 2px solid var(--border-heavy);
    border-left: 8px solid var(--text-dark); box-shadow: var(--shadow-sharp);
}
.itc-simple-assumptions .intro { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; font-weight: 500; line-height: 1.5; padding-bottom: 16px; border-bottom: 1px solid var(--border-heavy); }
.itc-simple-assumptions p { font-size: 14px; color: #444; margin-bottom: 16px; line-height: 1.6; }
.itc-simple-assumptions p:last-child { margin-bottom: 0; }
.itc-simple-assumptions strong { color: var(--text-dark); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: 0.05em; display: inline-block; margin-right: 6px; }


    .itc-simple-assumptions h3 { margin: 0 0 12px 0 !important; font-size: 18px; font-weight: 800; color: var(--text-dark); text-transform: uppercase; letter-spacing: -0.01em; border-bottom: none; padding-bottom: 0; }

h2 {
    margin-top: 20px !important;
}


/* LAYOUT */
.ir35-container {
    display: flex;
    gap: 32px;
    max-width: 100%;
    margin: 32px auto;
}

/* SHARP CARDS */
.card {
    background: var(--card-bg);
    border-radius: 0; /* Strict sharp corners */
    padding: 32px;
    border: 1px solid var(--border-heavy);
    box-shadow: var(--shadow-sharp);
}

.left { width: 40%; }
.right { width: 60%; }

/* TITLES */
.main-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    border-bottom: 4px solid var(--text-dark);
    padding-bottom: 12px;
}

.itc-section-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.itc-sub-title {
    font-size: 13px;
    font-weight: 800;
    margin: 24px 0 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.info {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #e7efe7 0%, #edf4ed 100%) !important;
    color: #2c6128 !important;
    padding: 22px 34px;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    border: 1px solid rgba(44, 97, 40, 0.04);
}

.info i,
.info svg {
    color: #2c6128;
    font-size: 28px;
    flex-shrink: 0;
}

.info b {
    color: #2c6128;
    font-weight: 800;
    font-size: inherit;
}

/* IMPACTFUL TOGGLE */
.itc-toggle {
    display: flex;
    border-radius: 0;
    border: 2px solid var(--text-dark);
    margin-bottom: 24px;
}

.itc-toggle button {
    flex: 1;
    padding: 14px;
    border: none;
    border-right: 2px solid var(--text-dark);
    background: #f1f5f9;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
}
.itc-toggle button:last-child { border-right: none; }
.itc-toggle .active { background: var(--text-dark); color: #ffffff; }

/* HIGH CONTRAST INPUTS */
.itc-inputs-wrapper label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 16px 0 8px;
    display: block;
    text-transform: uppercase;
}

input {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border-radius: 0;
    border: 2px solid var(--border-heavy);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-focus);
}

.itc-input-group {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--border-heavy);
    border-radius: 0;
    background: #fff;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.itc-input-group:focus-within {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-focus);
}

.itc-input-group span {
    padding: 14px 18px;
    background: var(--text-dark);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.itc-input-group small {
    padding: 14px 16px;
    background: #f1f5f9;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    border-left: 2px solid var(--border-heavy);
}

.itc-input-group input { border: none; margin: 0; box-shadow: none; padding: 14px 16px; }
.itc-input-group input:focus { box-shadow: none; }

/* GRID */
.itc-grid { display: flex; gap: 20px; }
.itc-grid div { flex: 1; }

hr {
    border: none;
    border-top: 2px solid var(--border-heavy);
    margin: 32px 0;
}

/* COMPARE BOXES - STRUCTURED */
.itc-compare { display: flex; gap: 20px; margin-top: 16px; }
.itc-box { flex: 1; border-radius: 0; padding: 20px; background: #ffffff; border: 2px solid var(--border-heavy); }
.itc-box-title { font-weight: 800; font-size: 16px; text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.itc-box.umbrella { border-top: 6px solid var(--brand-accent); }
.itc-box.limited { border-top: 6px solid var(--brand-success); }

/* BOLD BUTTON */
.btn {
    width: 100%;
    padding: 18px;
    border: 2px solid var(--text-dark);
    border-radius: 0;
    background: var(--brand-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.2s ease;
}

.btn:hover { background: #444; transform: translate(-4px, -4px); box-shadow: var(--shadow-btn); }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }

/* MINI CARDS (RESULTS) */
.cards { display: flex; gap: 20px; margin-bottom: 32px; }
.mini { flex: 1; padding: 24px 20px; border-radius: 0; text-align: center; border: 2px solid var(--text-dark); box-shadow: 4px 4px 0px rgba(15,23,42,0.1); }
.mini div { font-size: 12px; font-weight: 800; color: #000 !important; text-transform: uppercase; letter-spacing: 0.05em; }
.mini h2 { margin: 12px 0 0 0; font-size: 28px; font-weight: 800; color: var(--text-dark); border-bottom: none; }
.mini.blue { border-top: 8px solid #357a9e; }
.mini.green { border-top: 8px solid #50a846; }
.mini.grey { background: #fff; color: #fff; }
.mini.grey div { color: #000; }
.mini.grey h2 { color: #ffffff; }

/* Consolidated Result Styles */
.result-value {
    margin: 12px 0 0 0 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #000 !important;
    border-bottom: none !important;
}
.mini.diff { border-top: 8px solid #d56c69 !important; }

/* SHARP TABLE */
.table-responsive-wrapper { 
    width: 100%; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    margin-bottom: 32px; 
}

.table { 
    width: 100%; 
    border-collapse: collapse; 
    border: 2px solid var(--border-heavy); 
    margin-bottom: 0; 
}

.table th { 
    background: #f1f5f9; 
    padding: 16px; 
    font-weight: 800; 
    font-size: 15px; 
    text-transform: uppercase; 
    color: var(--text-dark); 
    text-align: left; 
    border-bottom: 2px solid var(--border-heavy); 
}

.table th:not(:first-child), 
.table td:not(:first-child) { 
    text-align: right; 
}

.table td { 
    padding: 16px; 
    border-bottom: 1px solid var(--border-heavy); 
    font-size: 15px; 
    font-weight: 600; 
    word-break: break-word; 
}

.table tr:last-child td { 
    border-bottom: none; 
}

@media (max-width: 768px) {
    .table th, 
    .table td { 
        padding: 12px 8px; 
        font-size: 13px; 
    }
}

/* FULL WIDTH HORIZONTAL CHART */
.charts {
    display: flex;
    margin-top: 32px;
    margin-bottom: 32px;
}
.chart-box {
    width: 100%;
    background: #ffffff;
    padding: 24px;
    border-radius: 0;
    border: 2px solid var(--border-heavy);
    height: 380px;
}

/* INITIAL/ACTIVE STATES */
.itc-stage .left { width: 100%; max-width: 1200px; margin: 0 auto; transition: all 0.4s ease; }
.itc-stage .right { width: 0; opacity: 0; display: none; }
.itc-stage.itc-active .left { display: none; }
.itc-stage.itc-active .right { display: block; width: 100%; opacity: 1; animation: slideIn 0.4s forwards; }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* VIEW BREAKDOWN BUTTON */
.view-btn { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-radius: 0; cursor: pointer; background: #2c6128; border: 2px solid #2c6128; font-size: 16px; font-weight: 700; text-transform: uppercase; color: #ffffff; transition: all 0.2s ease; }
.view-btn:hover { background: #ffffff; color: var(--text-dark); }
.view-btn .icon { font-size: 20px; font-weight: bold; }

/* BREAKDOWN PANEL */
.breakdown-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; opacity: 0; }
.breakdown-panel.open { max-height: 2500px; opacity: 1; padding-top: 24px; overflow-y: auto; }
.breakdown-wrapper { display: flex; gap: 24px; }
.breakdown-card { flex: 1; background: #fff; border-radius: 0; border: 2px solid var(--border-heavy); overflow-x: auto; }
.breakdown-card h3 { margin: 0; font-size: 16px; font-weight: 600; text-transform: uppercase; padding: 16px; color: #fff; }
.breakdown-card.umbrella h3 { background: var(--brand-accent); }
.breakdown-card.limited h3 { background: var(--brand-success); }
.breakdown-card table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 300px; }
.breakdown-card td { padding: 14px 16px; border-bottom: 1px solid #e2e8f0; }
.breakdown-card td:first-child { color: var(--text-muted); font-weight: 500; }
.breakdown-card td:last-child { text-align: left; font-weight: 700; color: var(--text-dark); font-variant-numeric: tabular-nums; }
.section td { background: #f8fafc; font-weight: 800 !important; color: var(--text-dark) !important; text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; border-top: 2px solid var(--border-heavy); border-bottom: 2px solid var(--border-heavy); }
.total td { background: var(--text-dark); color: #fff !important; font-weight: 800 !important; font-size: 15px; }
.currency { letter-spacing: 0.5px; }
.negative { color: #ef4444; }

/* BACK BUTTON */
.back-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 0; border: 2px solid var(--text-dark); background: transparent; color: var(--text-dark); font-size: 15px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: all 0.2s ease; margin-bottom: 32px; }
.back-btn:hover { background: var(--text-dark); color: #fff; transform: translateX(-4px); }

/* Main container */
.itc-blend-author-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 8px 8px;
    margin-top: -10px;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #eef2f6;
    border-radius: 2px;
    flex-wrap: wrap;
}

/* LEFT SIDE */
.itc-blend-author-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.itc-blend-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 3px #eef2f7;
}

/* Text group */
.itc-blend-text {
    display: flex;
    flex-direction: column;
}

.itc-blend-label { font-size: 12px; color: #8a94a6; letter-spacing: 0.3px; }
.itc-blend-name a { font-size: 16px; font-weight: 600; color: #0f172a; transition: all 0.2s ease; }
.itc-blend-name a:hover { color: #50a846; }
.itc-blend-role { font-size: 13px; color: #64748b; margin-top: 2px; }

/* RIGHT SIDE */
.itc-blend-meta { display: flex; gap: 36px; }
.itc-blend-meta-box { position: relative; padding-left: 14px; }
.itc-blend-meta-box:before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 2px;
    height: 18px;
    opacity: 0.5;
    background: linear-gradient(to bottom, #e2e8f0, transparent);
}
.itc-blend-meta-label { font-size: 12px; color: #8a94a6; }
.itc-blend-meta-value { font-size: 15px; font-weight: 600; color: #0f172a; margin-top: 2px; }

/* FAQ ACCORDION STYLES */
.itc-faq-wrapper { margin: 32px 0; }
.itc-faq-item { border: 2px solid var(--border-heavy); margin-bottom: 16px; background: #ffffff; border-radius: 0; transition: all 0.2s ease; }
.itc-faq-item[open] { border-color: var(--brand-primary); box-shadow: var(--shadow-focus); }
.itc-faq-question {
    padding: 18px 20px; font-size: 16px; font-weight: 800; color: var(--text-dark); cursor: pointer;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
    text-transform: uppercase; letter-spacing: 0.02em;
}
.itc-faq-question::after { content: '+'; font-size: 24px; font-weight: 800; color: var(--brand-primary); transition: transform 0.2s ease; }
.itc-faq-item[open] .itc-faq-question::after { content: '−'; transform: rotate(180deg); }
.itc-faq-question::-webkit-details-marker { display: none; }
.itc-faq-answer { padding: 0 20px 20px 20px; color: var(--text-muted); font-size: 15px; line-height: 1.6; border-top: 1px solid transparent; }
.itc-faq-item[open] .itc-faq-answer { border-top: 1px solid var(--border-heavy); padding-top: 20px; }

/* CROSS PROMO */
.cis-crosspromo-wrapper-itcuk { margin-top: 30px; padding: 25px; border-radius: 12px; background: linear-gradient(135deg, #f5f9f6, #eef6ef); border: 1px solid #e0e6e2; margin-bottom: 15px; }
.cis-crosspromo-heading-itcuk { font-size: 18px; font-weight: 600; margin-bottom: 18px; color: #2d3a2f; }
.cis-crosspromo-grid-itcuk { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 15px; }
.cis-crosspromo-card-itcuk { background: #ffffff; border-radius: 10px; padding: 18px; border: 1px solid #e5e5e5; transition: all 0.25s ease; position: relative; }
.cis-crosspromo-card-itcuk:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.06); border-color: #2C6128; }
.cis-crosspromo-title-itcuk { font-size: 16px; font-weight: 600; color: #1f2d22; margin-bottom: 6px; }
.cis-crosspromo-desc-itcuk { font-size: 15px; color: #555; line-height: 1.5; margin-bottom: 12px; }
.cis-crosspromo-link-itcuk { font-size: 15px; font-weight: 600; color: #2C6128; text-decoration: none; }
.cis-crosspromo-link-itcuk:hover { text-decoration: underline; }

/* =========================================
   MEDIA QUERIES (MOBILE RESPONSIVENESS)
   ========================================= */

@media(max-width: 900px){
    .ir35-container { flex-direction: column; gap: 24px; }
    .left, .right { width: 100% !important; }
    .breakdown-wrapper, .charts { flex-direction: column; }
    .itc-grid { flex-direction: column; gap: 0; }
}

@media (max-width: 640px) {
    .itc-blend-author-wrap { flex-direction: column; align-items: flex-start; }
    .itc-blend-meta { gap: 20px; margin-top: 10px; }
}

@media (max-width: 768px) {
    .card { padding: 20px; }
    .itc-compare, .cards { flex-direction: column; gap: 16px; }
    .info { 
        padding: 16px 20px; 
        font-size: 16px; 
        flex-direction: column; 
        text-align: center; 
        gap: 8px;
    }
    .itc-input-group span, 
    .itc-input-group small {
        padding: 12px;
        font-size: 13px;
    }
    .btn { padding: 14px; font-size: 15px; }
    .table th, .table td { 
        padding: 12px 10px; 
        font-size: 13px; 
    }
    .breakdown-card td {
        padding: 10px 12px;
        font-size: 13px;
    }
    .main-title { font-size: 22px; }
    .itc-section-title { font-size: 18px; }
    .mini h2 { font-size: 24px; }
    .itc-simple-assumptions { padding: 16px 20px; margin: 24px 0; border-left-width: 4px; }
    .itc-toggle button { padding: 10px; font-size: 11px; }
}