.ic-integration-calculator-container {
    max-width: 1140px;
    margin: 0.75rem auto;
    padding: 0 0.5rem;
    font-weight: 400;
    font-family: var(--e-global-typography-primary-font-family, "Open Sans"), -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
}

.ic-calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ic-calculator-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--e-global-color-text, #3D505A);
    margin-bottom: 0.5rem;
}

.ic-calculator-header p {
    font-size: 1.125rem;
    color: #7A7A7A;
    max-width: 32rem;
    margin: 0 auto;
}

.ic-calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
    background: #fff;
    padding: 1.25rem;
    border-radius: 0.75rem;
}

.ic-calculator-results {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
}

@media (max-width: 1024px) {
    .ic-calculator-grid {
        grid-template-columns: 1fr;
    }
}

.ic-comparison-table-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.ic-comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.ic-table-header {
    display: flex;
    background: #f4f7f9;
}

.ic-table-row {
    display: flex;
    border-bottom: 1px solid #f3f4f6;
}

.ic-table-row:last-child {
    border-bottom: none;
}

.ic-table-row.ic-total-row {
    background: #f4f7f9;
    font-weight: 600;
}

.ic-table-cell {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    align-items: center;
}

.ic-header-cell {
    text-align: center;
    flex-direction: column;
    gap: 0.25rem;
}

.ic-label-cell {
    font-weight: 500;
    color: #374151;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
}

.ic-value-cell {
    justify-content: center;
    font-weight: 500;
    color: #111827;
    flex-direction: column;
    gap: 0.125rem;
    text-align: center;
}

.ic-value-cell > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ic-value-cell .ic-value {
    font-weight: 600;
    color: #111827;
    font-size: 1rem;
}

.ic-value-cell .ic-description{
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
}

.ic-total-label {
    font-weight: 600;
    color: #111827;
}

.ic-total-value {
    font-weight: 600;
    font-size: 1.325rem;
    color: #111827;
}

.ic-plan-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
}

.ic-plan-type {
    font-size: 0.75rem;
    color: #6b7280;
    background: #e1eaf0;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}

.ic-input-card {
}

.ic-input-card h4 {
    font-size: 1.375rem;
    font-weight: bold;
    color: var(--e-global-color-text, #3D505A);
    margin-bottom: 0.375rem;
}

.ic-input-card > p {
    font-size: 14px;
    color: #888;
    margin-bottom: 1.5rem;
}

.ic-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ic-input-wrapper {
    background: #F4F7F9;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: background-color 0.2s;
}

.ic-input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.ic-input-header label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--e-global-color-text, #3D505A);
}

.ic-input-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(3, 177, 238, 0.1); 
    color: var(--e-global-color-primary, #03B1EE); 
}

.calculator-select {
    width: 100%;
    padding: 10px 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem; 
    font-size: 1rem;
    font-weight: 500;
    color: var(--e-global-color-text, #3D505A);
    transition: all 0.2s;
    background-position: right 1rem center; /* If using custom caret, adjust position */
}

.calculator-select:focus {
    outline: none;
    border-color: var(--e-global-color-primary, #03B1EE);
    box-shadow: 0 0 0 3px rgba(3, 177, 238, 0.1);
}

.ic-comparison-table .ic-table-cell:nth-child(2) .ic-value {
    color: var(--e-global-color-primary, #03B1EE);
}

.ic-input-help {
    font-size: 0.75rem;
    color: #7A7A7A;
    margin-top: 0.375rem;
    margin-bottom: 0 !important;
}

.ic-slider-wrapper {
    margin-bottom: 0.75rem;
}

.calculator-slider {
    width: 100%;
    height: 0.75rem;
    border-radius: 0.5rem;
    appearance: none;
    cursor: pointer;
    background: linear-gradient(to right, var(--e-global-color-primary, #03B1EE) 0%, var(--e-global-color-primary, #03B1EE) 2%, rgba(3, 177, 238, 0.2) 2%, rgba(3, 177, 238, 0.2) 100%);
    transition: none;
}

.calculator-slider::-webkit-slider-thumb {
    appearance: none;
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 50%;
    background: var(--e-global-color-primary, #03B1EE);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.1s, box-shadow 0.1s;
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.calculator-slider::-moz-range-thumb {
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 50%;
    background: var(--e-global-color-primary, #03B1EE);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
}

.calculator-slider::-moz-range-track {
    height: 0.75rem;
    border-radius: 0.5rem;
    background: rgba(3, 177, 238, 0.2);
}

.ic-slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ic-users-number-input[type="number"] {
    width: 4.5rem;
    padding: 0.375rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s;
}

.ic-users-number-input:focus {
    outline: none;
    border-color: var(--e-global-color-primary, #03B1EE);
    box-shadow: 0 0 0 3px rgba(3, 177, 238, 0.1);
}

.ic-slider-max {
    font-size: 0.75rem;
    color: #7A7A7A;
}

.ic-calculator-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ic-card-header {
    padding: 0.875rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.ic-card-header h4 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

.ic-card-header.ic-red h4 { 
    color: #7f1d1d; 
}

.ic-card-header.ic-purple h4 { 
    color: var(--e-global-color-primary, #03B1EE); 
}

.ic-plan-badge {
    background: rgba(0,0,0,0.1);
    padding: 0.25rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.ic-card-content {
    padding: 1rem;
    background: #fff;
}

.ic-cost-breakdown {
    margin-bottom: 0.5rem;
}

.ic-cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s;
}

.ic-cost-item:last-child {
    border-bottom: none;
}

.ic-cost-item:hover {
    background: #f9fafb;
    margin: 0 -0.375rem;
    padding: 0.375rem 0.375rem;
    border-radius: 0.5rem;
}

.ic-cost-item span:first-child {
    font-size: 0.875rem;
    color: #7A7A7A;
}

.ic-cost-item span:last-child {
    font-weight: 600;
    color: var(--e-global-color-text, #3D505A);
    font-size: 0.875rem;
}

.ic-total-cost {
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem 0.75rem;
    text-align: center;
    transition: all 0.2s;
}

.ic-total-cost.ic-red { 
    background: #fef2f2; 
    border: 1px solid #fecaca;
}

.ic-total-cost.ic-purple { 
    background: rgba(3, 177, 238, 0.05); 
    border: 1px solid rgba(3, 177, 238, 0.2);
}

.ic-total-label {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.ic-total-cost.ic-red .ic-total-label { 
    color: #dc2626; 
}

.ic-total-cost.ic-purple .ic-total-label { 
    color: var(--e-global-color-primary, #03B1EE); 
}

.ic-total-amount {
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.2s;
}

.ic-total-cost.ic-red .ic-total-amount { 
    color: #b91c1c; 
}

.ic-total-cost.ic-purple .ic-total-amount { 
    color: var(--e-global-color-primary, #03B1EE); 
}

.ic-savings-card {
    background: #eefbea;
    border-radius: 0.5rem;
    box-shadow: rgb(206 224 200) 0px 4px 8px -2px, rgb(215 238 208) 0px 0px 0px 1px;
}

.ic-savings-content {
    padding: 0.5rem 1.5rem 1.5rem;
    text-align: center;
}

.ic-savings-content h4 {
    font-size: 1.375rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #62bb46;
}

.ic-savings-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .savings-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.ic-savings-metric {
    background: rgb(57 75 51 / 8%);
    border-radius: 0.5rem;
    padding: 0.75rem;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
}

.ic-metric-label {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 0.125rem;
}

.ic-metric-value {
    font-size: 1.375rem;
    font-weight: bold;
}

.ic-cta-content h4 {
    font-size: 1.375rem;
    font-weight: bold;
    margin-bottom: 1.375rem;
    text-align: center;
}

.ic-calculator-results h4 {
    font-size: 1.375rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.ic-cta-content p {
    margin-bottom: 1.5rem;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-size: 0.875rem;
    text-align: center;
    opacity: 0.9;
}

.ic-cta-buttons-grid {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ic-cta-buttons-grid .btn {
    flex: 1;
    max-width: 59%;
    min-width: 140px;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
}

.ic-cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes ic-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.ic-calculator-results .ic-result-card {
    animation: ic-fadeInUp 0.6s ease-out;
}

.ic-calculator-results .ic-result-card:nth-child(1) { animation-delay: 0.1s; }
.ic-calculator-results .ic-result-card:nth-child(2) { animation-delay: 0.2s; }
.ic-calculator-results .ic-result-card:nth-child(3) { animation-delay: 0.3s; }
.ic-calculator-results .ic-result-card:nth-child(4) { animation-delay: 0.4s; }
.ic-calculator-results .ic-result-card:nth-child(5) { animation-delay: 0.5s; }



@media (max-width: 1366px) and (min-width: 1025px) {
    .ic-integration-calculator-container {
        max-width: 1100px;
    }
    
    .ic-calculator-grid {
        gap: 1rem;
    }
    
    .ic-input-card {
        padding: 1.25rem;
    }
    
    .ic-card-content {
        padding: 0.875rem;
    }
    
    .ic-savings-content {
        padding: 1.25rem;
    }
    
    .ic-cta-content {
        padding: 1.25rem;
    }
}

@media (max-width: 1200px) and (min-width: 1025px) {
    .ic-integration-calculator-container {
        padding: 0 0.375rem;
    }
    
    .ic-calculator-grid {
        gap: 0.875rem;
    }
    
    .ic-input-card {
        padding: 1rem;
        top: 0.75rem;
    }
}

@media (max-width: 768px) {
    .ic-integration-calculator-container {
        padding: 0 0.375rem;
        margin: 0.75rem auto;
    }
    
    .ic-calculator-header h2 {
        font-size: 1.875rem;
    }
    
    .ic-calculator-header p {
        font-size: 1rem;
    }
    
    .ic-input-card {
        position: static;
        margin-bottom: 0.75rem;
    }
    
    .ic-calculator-grid {
        gap: 0.875rem;
    }
    
    .ic-input-wrapper {
        padding: 0.875rem;
    }
    
    .ic-card-content {
        padding: 0.875rem;
    }
    
    .ic-savings-content {
        padding: 1.25rem;
    }
    
    .ic-comparison-table {
        font-size: 0.875rem;
    }
    
    .ic-table-cell {
        padding: 0.5rem;
    }
    
    .ic-plan-name {
        font-size: 0.75rem;
    }
    
    .ic-plan-type {
        font-size: 0.625rem;
        padding: 0.125rem 0.375rem;
    }
    
    .ic-cta-buttons-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .ic-cta-buttons-grid .btn {
        width: 100%;
        max-width: 260px;
    }
    
    .ic-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .ic-calculator-header h2 {
        font-size: 1.625rem;
    }
    
    .ic-input-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
    }
    
    .ic-cost-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
        padding: 0.625rem 0;
    }
    
    .ic-total-amount {
        font-size: 1.375rem;
    }
    
    .ic-metric-value {
        font-size: 1.125rem;
    }
}