.calculator-page {
    display: flex;
    margin: 0 -16px;
}

.calculator-page > div {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 16px;
}

.calculator-container {
    padding: 48px 0;
}

.back-to-calcs {
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 32px;
    padding: 0 0 0 26px;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23455845' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-arrow-left h-4 w-4'%3E%3Cpath d='m12 19-7-7 7-7'%3E%3C/path%3E%3Cpath d='M19 12H5'%3E%3C/path%3E%3C/svg%3E");
}

.calculator-page .calculator {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    height: 100%;
}

.calculator-page .calculator h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    padding: 0 0 0 42px;
    margin: 0 0 24px;
    background-size: 28px;
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2377b540' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-timer h-7 w-7 text-%5B%2377b540%5D'%3E%3Cline x1='10' x2='14' y1='2' y2='2'%3E%3C/line%3E%3Cline x1='12' x2='15' y1='14' y2='11'%3E%3C/line%3E%3Ccircle cx='12' cy='14' r='8'%3E%3C/circle%3E%3C/svg%3E");
}

.calculator-page .calculator h3.thaw {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2377b540' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-thermometer h-7 w-7 text-%5B%2377b540%5D'%3E%3Cpath d='M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z'%3E%3C/path%3E%3C/svg%3E");
}

.calculator-page .calculator h3.size {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2377b540' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-scale h-7 w-7 text-%5B%2377b540%5D'%3E%3Cpath d='m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z'%3E%3C/path%3E%3Cpath d='m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z'%3E%3C/path%3E%3Cpath d='M7 21h10'%3E%3C/path%3E%3Cpath d='M12 3v18'%3E%3C/path%3E%3Cpath d='M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2'%3E%3C/path%3E%3C/svg%3E");
}

.calculator-page .calculator form label {
    display: block;
    font-size: 16px;
    color: #455845;
    font-weight: 700;
    margin: 0 0 12px;
}

.calculator-page .calculator form input,
.calculator-page .calculator form select {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: #455845;
    border: 2px solid #d1d5dc;
    border-radius: 8px;
    width: 100%;
    padding: 16px;
}

.calculator-page .calculator form select {
    font-size: 16px;
}

.calculator-page .calculator form input:focus,
.calculator-page .calculator form select:focus {
    border-color: #77b540;
}

.calculator-page .calculator form .custom-checkbox {
    display: flex;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0 0;
    background-color: #f9fafb;
}

.calculator-page .calculator form .custom-checkbox .box {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background-color: #fff;
}

.calculator-page .calculator form .custom-checkbox input:checked + .box {
    border-color: #3b82f6;
}

.calculator-page .calculator form .custom-checkbox .text span {
    display: block;
}

.calculator-page .calculator form .custom-checkbox .text .sub {
    font-size: 14px;
    line-height: 20px;
    color: #2b2a33;
}

.calculator-page .calculator form .weight {
    display: flex;
    margin: 0 -6px;
}

.calculator-page .calculator form .weight > input,
.calculator-page .calculator form .weight > select {
    margin: 0 6px;
}

.calculator-page .calculator form .weight > select {
    flex: 0 0 78px;
}

.calculator-page .calculator form .radio-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid oklch(0.928 0.006 264.531);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s;
    margin-bottom: 12px;
}

.calculator-page .calculator form .radio-card:hover {
    border-color: #77b540;
}

.calculator-page .calculator form .radio-outer {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: border-color 0.15s;
    background-color: #fff;
}

.calculator-page .calculator form .radio-card:has(input:checked) .radio-outer {
    border-color: #3b82f6;
    background-color: transparent;
}


.calculator-page .calculator form .radio-inner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3b82f6;
    opacity: 0;
    transition: opacity 0.1s;
}

.calculator-page .calculator form .radio-card:has(input:checked) .radio-inner {
    opacity: 1;
}

.calculator-page .calculator form input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.calculator-page .calculator form .radio-label {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    margin: 0 0 4px;
    padding: 0;
}

.calculator-page .calculator form .radio-desc {
    font-size: 14px;
    line-height: 20px;
    color: #64748b;
    margin: 0 0 8px;
    padding: 0;
}

.calculator-page .calculator form .badge {
    display: inline-block;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    padding: 4px;
    border-radius: 4px;
}

.calculator-page .calculator form .badge-success {
    background: oklch(0.982 0.018 155.826);
    color: oklch(0.448 0.119 151.328);
}

.calculator-page .calculator form .badge-warning {
    background: oklch(0.987 0.026 102.212);
    color: oklch(0.476 0.114 61.907);
}



.calculator-page .results .calc-results {
    background-color: #77b540;
    color: #fff;
    border-radius: 12px;
    padding: 32px;
}

.calculator-page .results .calc-results h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    margin: 0 0 24px;
    color: #fff;
}

.calculator-page .results .calc-results .totals {
    text-align: center;
    border-radius: 8px;
    padding: 24px;
    background-color: #85bd53;
}

.calculator-page .results .calc-results .totals p {
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    margin: 0;
}

.calculator-page .results .calc-results .totals span {
    display: block;
    font-size: 20px;
    line-height: 28px;
    margin: 8px 0 0;
}

.calculator-page .results .calc-results .more-info {
    border-radius: 8px;
    padding: 16px;
    background-color: #85bd53;
    margin: 24px 0 0;
}

.calculator-page .results .calc-results .more-info h4 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 0 0 0 28px;
    background-size: 20px;
    background-position: left center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-calendar h-5 w-5'%3E%3Cpath d='M8 2v4'%3E%3C/path%3E%3Cpath d='M16 2v4'%3E%3C/path%3E%3Crect width='18' height='18' x='3' y='4' rx='2'%3E%3C/rect%3E%3Cpath d='M3 10h18'%3E%3C/path%3E%3C/svg%3E");
}

.calculator-page .results .calc-results .more-info h5 {
    display: block;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: #fff;
    margin: 8px 0 0;
    padding: 0;
}

.calculator-page .results .calc-results .more-info p {
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    margin: 4px 0 0;
    padding: 0;
}

.calculator-page .results .calc-results ul {
    list-style: none;
    margin: 24px 0 0;
    padding: 16px;
    border-radius: 8px;
    background-color: #85bd53;
}

.calculator-page .results .calc-results ul li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    line-height: 20px;
    padding: 0 0 8px;
    margin: 0 0 12px;
    border-bottom: 1px solid oklab(1 0 5.96046e-8 / 0.2);
}

.calculator-page .results .calc-results ul li span {
    font-weight: 700;
}

.calculator-page .results .calc-results ul li:last-of-type {
    margin-bottom: 0 !important;
}

.calculator-page .results .calc-results ul.basic-list {
    background-color: transparent;
    padding: 0;
}

.calculator-page .results .calc-results ul.basic-list li {
    border: none;
    padding: 0;
    position: relative;
    padding-left: 16px;
}

.calculator-page .results .calc-results ul.basic-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}


.calculator-page .results .warnings,
.calculator-page .results .info-block {
    display: flex;
    margin: 24px 0 0;
    padding: 24px;
    background-color: #fef2f2;
    border-left: 4px solid #fb2c36;
}

.calculator-page .results .warnings .icon,
.calculator-page .results .info-block .icon {
    flex: 0 0 24px;
    color: #fb2c36;
    margin: 0 14px 0 0;
}

.calculator-page .results .warnings h3,
.calculator-page .results .info-block h3 {
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
    color: #821837;
    padding: 0;
    margin: 0 0 8px;
}

.calculator-page .results .warnings .text,
.calculator-page .results .info-block .text {
    color: oklch(0.444 0.177 26.899);
}

.calculator-page .results .warnings .text p,
.calculator-page .results .info-block .text p,
.calculator-page .results .warnings .text ul,
.calculator-page .results .info-block .text ul {
    margin: 0 0 12px;
}

.calculator-page .results .warnings .text > *:last-child,
.calculator-page .results .info-block .text > *:last-child {
    margin: 0;
}


.calculator-page .results .warnings .text ul,
.calculator-page .results .info-block .text ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.calculator-page .results .warnings .text li,
.calculator-page .results .info-block .text li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
}

/* red dot bullet */
.calculator-page .results .warnings .text li::before,
.calculator-page .results .info-block .text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 2px;
    height: 2px;
    background: #fb2c36;
    border-radius: 50%;
}

.calculator-page .results .warnings .text li:last-of-type,
.calculator-page .results .info-block .text li:last-of-type {
    margin-bottom: 0;
}

.calculator-page .results .info-block {
    border-color: #77b540;
    background-color: #f5f5dc4d;
}

.calculator-page .results .info-block .icon {
    color: #77b540;
}

.calculator-page .results .info-block h3 {
    color: #455845;
}

.calculator-page .results .info-block .text {
    color: oklch(0.373 0.034 259.733);
}

.calculator-page .results .info-block .text li::before {
    background-color: #77b540;
}


.calculator-page .results .list-items {
    border: 1px solid oklch(0.928 0.006 264.531);
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0 0;
}

.calculator-page .results .list-items h3 {
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
    color: #455845;
    padding: 0;
    margin: 0 0 16px;
}

.calculator-page .results .list-items ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.calculator-page .results .list-items ul li {
    display: flex;
    margin: 0;
    padding: 0 0 12px;
    position: relative;
}

.calculator-page .results .list-items ul.numbers li {
    padding-left: 24px;
}

.calculator-page .results .list-items ul.numbers li span {
    position: absolute;
    color: var(--gcid-primary-color);
    font-weight: 700;
    top: 0;
    left: 0;
}

.calculator-page .results .list-items ul li:last-of-type {
    padding-bottom: 0;
}

.calculator-page .results .list-items ul li svg {
    flex: 0 0 20px;
    color: var(--gcid-primary-color);
    margin: 0 10px 0 0;
}


.calculator-page .results .links-container {
    border-radius: 8px;
    border: 1px solid oklch(0.928 0.006 264.531);
    margin: 24px 0 0;
    padding: 24px;
}

.calculator-page .results .links-container h3 {
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
    padding: 0 0 4px;
    margin: 0;
}

.calculator-page .results .calculator-link {
    display: block;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: #455845;
    border-radius: 8px;
    padding: 16px 46px 16px 16px;
    background-color: oklch(0.985 0.002 247.839);
    border: 1px solid oklch(0.928 0.006 264.531);
    margin: 24px 0 0;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: calc(100% - 16px) center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2377b540' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-right h-5 w-5 text-%5B%2377b540%5D'%3E%3Cpath d='m9 18 6-6-6-6'%3E%3C/path%3E%3C/svg%3E");
}

.calculator-page .results .links-container .calculator-link {
    border: none;
    margin: 12px 0 0;
}

@media only screen and (max-width: 991px) {
    .calculator-page {
        flex-direction: column;
    }

    .calculator-page > div {
        flex: 1;
        max-width: 100%;
    }

    .calculator-page > .calc {
        margin-bottom: 24px;
    }
}