﻿/* Default Styles */
html {
    background: none;
}

/* thead tr td {
    background: white !important;
} */

.flex {
    display: -webkit-flex;
    display: flex;
}

.flex-direction-row {
    flex-direction: row;
    -webkit-flex-direction: row;
}

.flex-direction-column {
    flex-direction: column;
    -webkit-flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

.justify-content-flex-start {
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
}

.justify-content-flex-end {
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
}

.justify-content-flex-center {
    justify-content: center;
    -webkit-justify-content: center;
}

.justify-content-flex-spc-between {
    justify-content: space-between;
    -webkit-justify-content: space-between;
}

.justify-content-flex-spc-around {
    justify-content: space-around;
    -webkit-justify-content: space-around;
}

.align-items-flex-start {
    align-items: flex-start;
    -webkit-align-items: flex-start;
}

.align-items-flex-end {
    align-items: flex-end;
    -webkit-align-items: flex-end;
}

.align-items-flex-center {
    align-items: center;
    -webkit-align-items: center;
}

button {
    appearance: button;
    backface-visibility: hidden;
    background-color: #405cf5;
    border-radius: 6px;
    border-width: 0;
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .1) 0 2px 5px 0, rgba(0, 0, 0, .07) 0 1px 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-size: 100%;
    height: 30px;
    line-height: 1.15;
    outline: none;
    overflow: hidden;
    padding: 0 22px;
    position: relative;
    text-align: center;
    text-transform: none;
    transform: translateZ(0);
    transition: all .2s, box-shadow .08s ease-in;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button:disabled {
    cursor: default;
}

.button:focus {
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .2) 0 6px 15px 0, rgba(0, 0, 0, .1) 0 2px 2px 0, rgba(50, 151, 211, .3) 0 0 0 4px;
}


p-8 {
    padding: 8px;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-0 {
    margin-bottom: 0px;
}

.mr-10 {
    margin-right: 10px;
}

.mt-30 {
    margin-top: 30px;
}

.flex-gap {
    gap: 10px;
}

.flex-gap-30 {
    gap: 30px;
}

.cursor-pointer {
    cursor: pointer;
}

.color-dark-blue {
    color: #0a415d;
}

.bg-black {
    background-color: #000;
}

.bg-dark-blue {
    background-color: #0a415d;
}

.color-cooling-blue {
    color: #64afd2;
}

.bg-cooling-blue {
    background-color: #64afd2;
}

.color-heating-red {
    color: #e31f26;
}

.bg-heating-red {
    background-color: #e31f26;
}

.color-white {
    color: white;
}

.color-dark-yellow {
    color: #ffff00;
}

.color-dropdown-blue {
    color: #3d3bf3;
}

.bg-light-gray {
    background-color: #e9ecef;
}

.color-black {
    color: black;
}

.txt-large {
    font-size: 1.8rem;
}

.txt-light {
    font-weight: 200;
}

.txt-normal {
    font-weight: 300;
}

.txt-medium {
    font-weight: 400;
}

.txt-semibold {
    font-weight: 500;
}

.txt-bold {
    font-weight: 600;
}

.txt-bolder {
    font-weight: 800;
}

.white-space-nowrap {
    white-space: nowrap;
}

.td-input-spacing {
    padding: 0 !important;
}

.td-input-dimensions {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    height: 36.67px;
    padding-left: 10px;
    border: 2px solid white;
    transition: all 0.3s ease-in-out;
}

    .td-input-dimensions:focus {
        border-bottom: 2px solid #3d3bf3;
    }

input::placeholder {
    font-size: 12px;
    font-style: italic;
}

.table > tbody + tbody {
    border-top: inherit;
}

.form-control {
    display: inline-block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.checkbox-wrapper-46 {
    display: inline-block;
}

    .checkbox-wrapper-46 input[type="checkbox"] {
        display: none;
        visibility: hidden;
    }

    .checkbox-wrapper-46 .cbx {
        margin: auto;
        -webkit-user-select: none;
        user-select: none;
        cursor: pointer;
    }

        .checkbox-wrapper-46 .cbx span {
            display: inline-block;
            vertical-align: middle;
            transform: translate3d(0, 0, 0);
        }

            .checkbox-wrapper-46 .cbx span:first-child {
                position: relative;
                width: 18px;
                height: 18px;
                border-radius: 2px;
                transform: scale(1);
                vertical-align: middle;
                border: 1px solid #9098a9;
                transition: all 0.2s ease;
            }

                .checkbox-wrapper-46 .cbx span:first-child svg {
                    position: absolute;
                    top: 3px;
                    left: 2px;
                    fill: none;
                    stroke: #ffffff;
                    stroke-width: 2;
                    stroke-linecap: round;
                    stroke-linejoin: round;
                    stroke-dasharray: 16px;
                    stroke-dashoffset: 16px;
                    transition: all 0.3s ease;
                    transition-delay: 0.1s;
                    transform: translate3d(0, 0, 0);
                }

                .checkbox-wrapper-46 .cbx span:first-child:before {
                    content: "";
                    width: 100%;
                    height: 100%;
                    background: #3d3bf3;
                    display: block;
                    transform: scale(0);
                    opacity: 1;
                    border-radius: 50%;
                }

            .checkbox-wrapper-46 .cbx span:last-child {
                padding-left: 8px;
            }

        .checkbox-wrapper-46 .cbx:hover span:first-child {
            border-color: #3d3bf3;
        }

    .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child {
        background: #3d3bf3;
        border-color: #3d3bf3;
        animation: wave-46 0.4s ease;
    }

        .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child svg {
            stroke-dashoffset: 0;
        }

        .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child:before {
            transform: scale(3.5);
            opacity: 0;
            transition: all 0.6s ease;
        }

@keyframes wave-46 {
    50% {
        transform: scale(0.9);
    }
}


/* Heating Selection */
.custom-radio input[type="radio"] {
    display: none;
}

.custom-radio .radio-circle {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #d9d9d9;
    margin-right: 5px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.custom-radio input[type="radio"]:checked + .radio-circle {
    background-color: #3d3bf3;
    box-shadow: 0 0 0 4px rgba(61, 59, 243, 0.4) inset;
    border: 2px solid #d9d9d9;
}

/* Design Input Section */
.selection-calculator {
    margin-top: 10px;
}

.table-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.table {
    border: 1px solid black;
}

.table-bordered {
    border: 1px solid black;
}

.caret-icon {
    color: #3d3bf3 !important;
}

button.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

    button.disabled:hover {
        opacity: 0.7;
        cursor: not-allowed;
    }

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
    border: 1px solid black;
}

.custom-btn {
    background-color: #366b82;
    color: white;
    border: none;
    border-radius: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    outline: none;
}

    .custom-btn:hover {
        opacity: 0.9;
        color: white;
    }

.navigation-btns {
    display: flex;
    justify-content: flex-end;
}

.sel-cal-dropdown {
    position: relative;
    display: inline-block;
}

.sel-cal-dropdown-toggle {
    color: #3d3bf3;
    background-color: #fff;
    border: 2px solid #d1d5dc;
    padding: 0.375rem 0.75rem;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 3px;
}

    .sel-cal-dropdown-toggle .caret {
        color: #3d3bf3;
    }

.sel-cal-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    padding: 0;
    margin: 0;
    z-index: 2;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

    .sel-cal-dropdown-menu.show {
        display: block;
    }

.sel-cal-dropdown-item {
    padding: 10px 20px;
    color: #212529;
    text-align: left;
    text-decoration: none;
    display: block;
}

    .sel-cal-dropdown-item:hover {
        background-color: #f8f9fa;
    }

#selCalModelBanner {
    padding: 0.3rem;
}

/* Heating Cooling Selection Chart */
#heatingSelectionChart,
#coolingSelectionChart {
    aspect-ratio: 6/4;
    max-width: 80vw;
    margin: auto;
}

/* Pressure Drop Chart changes */
#pressureDropChart,
#noisePowerDataChart {
    max-width: 80vw;
    margin: auto;
}

.sel-tool-graph-heading1 {
    padding: 1rem;
}

.sel-tool-graph-heading2 {
    background-color: #e9ecef;
    padding: 1rem 6rem;
    font-weight: 600;
}

/* Static selection tool values */
.statictable-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1500px;
    margin: 30px auto;
}

.static-table {
    max-width: 100%;
    margin-bottom: 20px;
    min-width: 45%;
}

.bg-static-table {
    background-color: #3498db;
    color: white;
}

.color-static-gray {
    color: #e9ecef;
}

.static-table thead td {
    font-weight: 600;
}

.static-table td {
    padding: 1rem 2rem;
    text-align: center;
    border: 1px solid #ddd !important;
}

/* Sselection Tool Images */
.sel-cal-img-container {
    /* display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 20px;
  width: 90%;
  background-color: white;
  padding: 20px;
  border-radius: 8px; */
    width: 90%;
    padding: 20px;
}

.sel-cal-img-dropdown {
    position: relative;
    display: inline-block;
}

.sel-cal-img-dropdown-toggle {
    background-color: #E9ECEF;
    color: black;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    font-size: 16px;
    width: 200px;
    height: auto;
    ;
    text-align: left;
}

.sel-cal-img-dropdown-menu {
    display: none;
    position: absolute;
    top: 43px;
    left: 0;
    background-color: #D9D9D9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 2px;
    width: 100%;
    z-index: 1000;
}

.sel-cal-img-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sel-cal-img-form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sel-cal-img-form-check-label {
    cursor: pointer;
}

.sel-cal-img-image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.sel-cal-img-image-container img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Error Messages */
.err-messages {
    background-color: white;
    color: white;
}

.is-error {
    background-color: #e31f26;
    margin-top: 1rem;
    padding: 20px;
}
