.table>tbody td input {
    width: 50px;
}

.report-btn {
    margin-top: 20px !important;
    display: flex;
    justify-content: center;
}

.report-btn.active {
    display: flex;
}

/* Overlay background */
.gaq-popupclass-outer {
    display: none;
    position: fixed;
    /* Fix to viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    z-index: 1000;
    /* Ensure it is on top */
}

/* Popup content */
.gaq-popupclass-inner {
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.happyforms-part__el textarea {
    min-height: 70px !important;
}

/* Close button */
.gaq-popupclass-inner .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
}

.gaq-popupclass-inner .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    background: #000;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1;
}

.container {
    max-width: 1180px;
    margin: 50px auto;
    padding: 20px;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.gap-1 {
    gap: 50px;
}

.gap-2 {
    gap: 40px;
}

.gap-3 {
    gap: 30px;
}

.gap-4 {
    gap: 20px;
}

.gap-5 {
    gap: 10px;
}

.text-center {
    text-align: center;
}

.main-grid {
    display: flex;
    gap: 15px;
}

.main-grid .grid-item {
    flex: 1;
}

.sec-head h2 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.result img {
    width: 70px;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.appliance-outer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.appliances-item .card {
    border: 1px solid #eee;
    height: 100%;
}

.appliances-item .card-body {
    padding: 20px;
}

.appliance-outer .card-body>.main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.percent {
    font-size: 14px;
    position: relative;
    left: -12px;
    display: flex;
    align-items: center;
}

input#sametime {
    border: none;
    text-align: center;
}

input#reserve,
input#solar {
    border: none;
    text-align: center;
}

.appliances {
    padding: 20px;
    border: 2px solid #1c1c1c12;
    cursor: pointer;
    height: 100%;
}

.appliances.active {
   background-color: #eee;
    padding: 0;
    box-sizing: border-box;
}

.appliances .img-icon {
    width: 34px;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.appliances-content {
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.2;
    color: #333;
    margin-top: 10px;
    padding: 0 4px
}

tbody#tbody tr {
    background: #eee;
}
.print-wrap #tbody
.card-header {
    padding: 10px;
    border-radius: 10px 10px 0 0;
}

.card-header h3 {
    background: #eee !important;
}

.card-header h3 {
    font-size: 19px;
    padding-block: 6px;
    text-align: center;
    color: #333;
    margin: 0;
}

.table tbody#tbody input {
    border: none;
    border-color: #00000066;
    background-color: #ffffff;
    padding: 5px;
    text-align: center;
    outline-color: #0564a9;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

td button {
    background: #fff !important;
}

td button:hover {
    background: #fff !important;
    opacity: .5;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 60px;
    aspect-ratio: 4;
    background: radial-gradient(circle closest-side, #0063a6 90%, #0000) 0/calc(100%/3) 100% space;
    clip-path: inset(0 100% 0 0);
    animation: l1 1s steps(4) infinite;
}

@keyframes l1 {
    to {
        clip-path: inset(0 -34% 0 0)
    }
}

#dwnl-loader {
    display: none;
}

input.hour.name\= {
    border: none;
    text-align: center;
    font-size: 14px;
    background: #eee;
}

tr.table-secondary th {
    color: #333;
    text-align: center;
    white-space: nowrap;
    padding: 20px 10px;
    background: #e9e9e9 !important;
    font-size: 17px;
    font-weight: 600;
    text-transform: capitalize;
}

tbody#tbody tr td {
    border-block-width: 3px;
    border-color: #ffffff;
    vertical-align: middle;
    text-align: center;
}

.mibet {
    overflow: hidden;
    margin-bottom: 20px
}

.mibet img {
    float: left;
    padding-right: 12px;
    width: 51%
}

.mibet p {
    margin: 0
}

.remove-btn:after {
    width: unset;
    height: unset;
}

td.ap-title {
    white-space: normal;
    font-size: 16px;
    color: #0564a9;
    font-weight: 500;
}

td span {
    display: block;
    width: 100%;
    text-align: center;
}

button.remove.remove-btn {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    margin: 0 auto;
    cursor: pointer;
    border: 1px solid #0564a9;
    border-radius: 50%;
}

button.remove.remove-btn:hover {
    background: none;
}

button.remove.remove-btn path {
    fill: #0564a9;
}

.ctrbCounter {
    background: transparent !important;
    margin-top: -40px
}

input#dutycycle {
    width: 50px;
    padding: 5px;
    border-color: #0000002b;
    margin: 0 10px;
    text-align: center;
}

.results-data select.form-select {
    border-color: #0000002b;
}

.results-data .form-check input {
    width: 16px;
    aspect-ratio: 1/1;
    accent-color: #0564a9;
}

.sub-menu {
    background: #121212;
    border-radius: 10px;
}

.print-wrap {
    margin: 0;
}

.print-wrap thead tr th {
    border: none !important;
}


.results-data {
    width: 100%;
}

.result h3 {
    margin-bottom: 20px;
}

.results-data table tr:not(:last-child) {
    border-bottom: 1px solid #0000002b;
}

.results-data td {
    background-color: transparent !important;
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 4px;
}

.report-btn button {
    background-color: #0564a9;
    border-color: #0564a9;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-right: 6px;
    padding: 20px;
    cursor: pointer;
}

.report-btn button:hover,
.report-btn button:focus {
    background-color: #0564a9;
    border-color: #0564a9;
    color: #fff;
}

.report-btn .generate-btn {
    background-color: transparent;
    color: #0564a9;
}

.responsive {
    width: 100%;
    overflow-x: auto;
}

@media screen and (max-width: 1024px) {
    .appliance-outer .card-body>.main-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .appliance-outer {
        gap: 15px;
    }

    .results-data {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .container {
        margin: 30px auto;
        padding: 15px;
    }

    .main-grid {
        flex-direction: column;
    }

    .appliance-outer {
        grid-template-columns: 1fr;
    }

    .sec-head h2 {
        font-size: 22px;
    }

    .card-header h3,
    .result h3 {
        font-size: 20px;
    }

    .result img {
        width: 44px;
    }

    .phase-option {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .report-btn button {
        width: 100%;
        margin-bottom: 10px;
    }

    .report-btn button {
        margin-right: 0;
    }
}

/* Modified Css */
.outer-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appliance-outer {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 100%;
}

.appliance-outer .card-body>.main-grid {
    display: flex;
    flex-wrap: wrap;
}

.appliances-item {
    flex: 1 1 100%;
    max-width: 47%;
}

tr.table-secondary th {
    color: #333;
    text-align: center;
    white-space: nowrap;
    padding: 20px 10px;
    background: #eee;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

.appliances {
    padding: 0;
    border: 2px solid #1c1c1c12;
    cursor: pointer;
    min-height: 140px;
    max-width: 140px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.results-data {
    width: 100%;
}

.main-grid .grid-item {
    flex: 1 0 30%;
}

@media screen and (max-width:480px) {
    .appliances-item {
        max-width: 100% !important;
    }
}

@media screen and (max-width:800px) {
    .appliances-item {
        flex: 1 1 100%;
        max-width: 47.68%;
    }
}

@media screen and (max-width:1024px) {
    .appliances-item {
        flex: 1 1 100%;
        max-width: 47.68%;
    }
}

/* Minimal table styles for print-wrap block */
.print-wrap .responsive {
    width: 100%;
    overflow-x: auto;
}

.print-wrap .table,
.print-wrap .table.w-100,
.print-wrap .results-data table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

/* Header: remove heavy backgrounds */
.print-wrap tr.table-secondary th {
    background: transparent;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.print-wrap .table thead tr th {
    border-bottom: 1px solid #e5e5e5 !important;
}

/* Body rows: minimal borders, no backgrounds */
.print-wrap tbody#tbody tr {
    background: transparent;
}

.print-wrap .table tbody td,
.print-wrap .results-data td {
    padding: 8px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #e5e5e586;
    background: transparent !important;
    border-left: none;
    border-right: none;
}

/* So inputs stay clean/minimal */
.print-wrap .table tbody td input,
.print-wrap .results-data td input,
.print-wrap .results-data td select {
    width: auto;
    max-width: 100%;
    border: 1px solid #ddd;
    padding: 4px 6px;
    background: #fff;
    border-radius: 4px;
}

/* Remove previous center alignment overrides in this block */
.print-wrap tbody#tbody tr td {
    text-align: left;
    border: none;
    border-bottom: 1px solid #e5e5e5;
}

/* Keep actions unobtrusive */
.print-wrap td button {
    background: transparent !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 8px;
}

/* Inputs full-width with 10px padding in print area */
.print-wrap .table > tbody td input,
.print-wrap .results-data td input {
    padding: 10px;
    box-sizing: border-box;
}

/* Inputs full-width with 10px padding in print area (exclude radios, checkboxes, and buttons) */
.print-wrap .table > tbody td input:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]),
.print-wrap .results-data td input:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]) {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}


