.cc-wrapper {
    position: relative;
    margin: 2.5rem auto;
    padding: 0 1rem 2rem;
}

.cc-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 36px;
    background: radial-gradient(circle at top, rgba(239, 147, 39, 0.12), transparent 55%);
    pointer-events: none;
    z-index: -1;
}

.cc-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 2.25rem 2rem 2.5rem;
    box-shadow: 0 25px 60px rgba(31, 40, 51, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.cc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), transparent 60%);
    pointer-events: none;
}

.cc-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cc-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    color: #6b6b70;
    margin-bottom: 0.25rem;
}

.cc-title {
    font-size: 1.9rem;
    margin: 0;
    color: #1c1c1c;
}

.cc-subtitle {
    margin: 0.35rem auto 0;
    color: #6b6b70;
    font-size: 0.95rem;
    max-width: 70%;
}

.cc-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cc-tab {
    border: none;
    background: #f2f2f4;
    color: #5a5a61;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cc-tab.active {
    background: linear-gradient(135deg, #d0680d, #f79523);
    color: #fff;
    box-shadow: 0 8px 20px rgba(208, 104, 13, 0.4);
    transform: translateY(-2px);
}

.cc-body {
    position: relative;
    z-index: 1;
}

.cc-input-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: #6b6b70;
}

.cc-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e1e1e6;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    background: #fafafb;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cc-icon {
    font-size: 0.95rem;
    color: #c76f0b;
}

.cc-input-group input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: #1e1e1e;
    outline: none;
}

.cc-supporting {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
}

.cc-support {
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: #f9f5f0;
    border: 1px solid rgba(208, 104, 13, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cc-support span {
    font-size: 0.8rem;
    color: #7d7d80;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.cc-support strong {
    font-size: 1.05rem;
    color: #1c1c1c;
}

.cc-support small {
    color: #7d7d80;
}

.cc-plan-details {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.cc-plan-detail {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: #fff9f0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cc-plan-detail span {
    font-size: 0.75rem;
    color: #7d7d80;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.cc-plan-detail strong {
    font-size: 1.2rem;
    color: #1c1c1c;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.cc-plan-detail small {
    color: #7d7d80;
    font-size: 0.8rem;
}

.cc-plan-inputs {
     overflow-x: scroll;
    margin-top: 1.5rem;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.08);
       
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.1);
}

.cc-metrics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cc-metrics-table thead {
    background: linear-gradient(135deg, #0b6aa2, #0c3d6e);
    color: #fff;
}

.cc-metrics-table thead th {
    padding: 0.9rem 0.8rem;
    text-align: left;
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.cc-metrics-table tbody td {
    padding: 0.9rem 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

.cc-metrics-table tbody tr.cc-metrics-row-odd {
    background: #f9f9f9;
}

.cc-metric-input {
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    background: #fff;
    font-weight: 600;
    color: #111;
}

.cc-metric-question {
    display: block;
    font-weight: 600;
    color: #1d1d1d;
}

.cc-currency {
    font-weight: 600;
    color: #1c1c1c;
}

.cc-metrics-total-row {
    background: #101017;
    color: #fff;
}

.cc-metrics-total-row td {
    padding: 1rem 1rem;
    border: none;
    font-weight: 700;
}

.cc-metric-rate-value,
.cc-metric-cost-value {
    font-weight: 700;
    margin-left: 0.25rem;
}

.cc-result {
    margin-top: 1.6rem;
    text-align: center;
    padding: 1.15rem;
    border-radius: 20px;
    background: #101017;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cc-result strong {
    font-size: 1.75rem;
    letter-spacing: 0.1rem;
}

@media (max-width: 600px) {
    .cc-card {
        padding: 2rem 1.5rem;
    }

    .cc-tabs {
        gap: 0.35rem;
    }

    .cc-input-group {
        padding: 0.75rem;
    }
}
