@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");

@font-face {
    font-family: Metric;
    src: url("../Metric-Regular.woff2") format("woff2");
    src: url("../Metric-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Metric;
    src: url("../Metric-Medium.woff2") format("woff2");
    src: url("../Metric-Medium.woff") format("woff");
    font-weight: 500;
}


@font-face {
    font-family: Metric;
    src: url("../Metric-SemiBold.woff2") format("woff2");
    src: url("../Metric-SemiBold.woff") format("woff");
    font-weight: 600;
}

@font-face {
    font-family: Metric;
    src: url("../Metric-Bold.woff2") format("woff2");
    src: url("../Metric-Bold.woff") format("woff");
    font-weight: 700;
}


.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 2.5rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

html,
body {
    font-family: Metric, "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #F0EEEE;
}

body {
    min-height: 100vh;
    padding-bottom: 120px;
}

.h1 {
    font-weight: 600;
}

.h2 {
    font-weight: 600;
}

.btn {
    padding: 0.375rem 1.75rem;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 32px;
}

.valid.modified:not([type="checkbox"]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.area-header {
    background-color: #000;
    color: #fff;
    margin-bottom: 28px;
}

.floor-header {
    font-size: 21px;
}

.top-row {
    height: 3.5rem;
    background-color: rgb(0 0 0);
    color: white;
}

.page-header {
    font-family: Metric;
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 0;
    margin-top: 32px;
    font-weight: 600;
}

.customer-info-logo {
    margin-right: 16px;
}

label {
    font-weight: 500;
    font-family: Metric;
    font-size: 18px;
    line-height: 22px;
}

input[type="checkbox"] + label {
    color: rgba(77, 74, 74, 1);
    font-size: 20px;
    line-height: 31px;
}

input[type="checkbox"] {
    margin-bottom: 16px;
}

.custom-select {
    background: #fff url("../img/down-arrow.svg") no-repeat right 0.75rem center/8px 5px;
}

    .custom-select.arming-area-selector-main {
        text-align: left;
        width: 4.5em;
        height: 2.2em;
        border-radius: 10px;
        padding-left: 8px;
        margin-right: 2em;
        font-weight: 600;
        background-color: #D9E9F5;
        color: #255B82;
        border: none;
        box-shadow: 0px 1px 3px 0px #0000001A;
    }

    .custom-select.arming-area-selector-secondary {
        text-align: left;
        width: 7.5em;
        height: 2.2em;
        border-radius: 10px;
        padding-left: 8px;
        margin-right: 2em;
        font-weight: 600;
        background-color: #D0E9D7;
        color: #107A6B;
        border: none;
        box-shadow: 0px 1px 3px 0px #0000001A;
    }

.icon-button {
    background: none;
    outline: none;
    border: none;
    font-size: 24px;
    padding: 0;
    display: flex;
    align-self: center;
}

.back-button {
    position: sticky !important;
    left: 32px;
    bottom: 16px;
    z-index: 1023;
}

    .back-button:hover {
        cursor: pointer;
    }

.medium-icon {
    font-size: 24px;
}

.grid-container {
    width: 100%
}

    .grid-container > div {
        display: grid;
        grid-template-columns: repeat(5,1fr);
        border-radius: 8px;
        margin-top: 6px;
        padding: 12px 40px;
        background-color: white;
    }

    .grid-container > span {
        background-color: #ffff;
        color: white;
        padding: 20px;
    }

    .grid-container > div.grid-header {
        display: grid;
        grid-template-columns: repeat(5,1fr);
        border-radius: 8px;
        margin-top: 6px;
        padding: 12px 40px;
        background-color: #333131;
        color: #ffff;
    }

.statusListItem {
    border: 1px solid #dee2e6;
    margin-top: 3px !important;
    justify-content: initial !important;
    width: 95%;
    padding: 14px 16px 8px 16px !important;
}

.clickable {
    cursor: pointer;
}

.flex-1 {
    flex: 1;
}

.boldTitles {
    font-weight: bold;
}

.section-header {
    font-style: normal;
    font-weight: 600;
    font-size: 21px;
    line-height: 28px;
}

.gap-3 {
    gap: 8px;
}

.serial-number-container {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
}

.programming-header {
    margin-top: -20px !important;
    margin-bottom: -40px !important;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.form-control {
    padding: 12px !important;
    height: unset !important;
}

div .not-found {
    display: grid;
    height: 100%;
    place-content: center;
    min-height: 80vh;
    grid-auto-rows: min-content;
    place-items: center;
}

.not-found h1 {
    font-size: 40px;
    margin-bottom: 8px;
}

.not-found i {
    margin-bottom: 16px;
    font-size: 40px;
    background: #E3E1E1;
    border-radius: 50%;
    padding: 20px;
}

.list-item {
    min-height: 56px;
    padding: 8px 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #fff;
    align-items: center;
    border-radius: 8px;
    margin-top: 16px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
}

.item-title {
    line-height: unset;
    margin-left: 0.5em;
    display: inline-block;
    transform: translateY(2px);
}

.listHeaderItem {
    background-color: #E3E1E1
}

.list-item:first-of-type {
    margin-top: 0;
}

.indented {
    margin-left: 56px;
    margin-top: 8px;
}

.back-button-text {
    transform: translateY(-3px);
    text-decoration: underline 1px solid;
}

.custom.custom-control-input::after {
    width: 100%;
    height: 100%;
}

.custom-radio, .custom-checkbox {
    width: fit-content;
    height: 48px;
    color: #807C7C;
    border: solid 2px #F0EEEE;
    border-radius: 50px;
    margin-bottom: 8px;
    margin-right: 4px;
}

    .custom-radio:has(input[type="radio"]:disabled) {
        background-color: #f1f1f1;
        color: #a1a1a1 !important;
    }

.custom-control-input:disabled ~ .custom-control-label, .custom-control-input[disabled] ~ .custom-control-label {
    color: unset;
}

.custom-radio {
    padding: 10px 16px 8px 40px;
}

.custom-checkbox {
    padding: 6px 16px 12px 40px;
}


.custom-control-label {
    padding-left: 5px;
}

    .custom-control-label::before {
        background: no-repeat 50%/80% 90%;
        width: 24px;
        height: 24px;
    }

    .custom-control-label::after {
        background: no-repeat 50%/80% 90%;
        width: 24px;
        height: 24px;
    }

.custom-radio > .custom-control-input:checked ~ .custom-control-label::before {
    border: solid 2px #1677bd;
    background-color: #fff !important;
}

.custom-radio > .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #1677BD;
    background-image: unset;
}

input[type="radio"]:checked ~ .custom-control-label {
    background-color: white;
    border-radius: 50%;
}

input[type="radio"] ~ .custom-control-label:before {
    border: 2px;
    transform: translate(-5px, -5px);
}


input[type="radio"] ~ .custom-control-label:after {
    border: solid 2px #807C7C;
    border-radius: 50%;
    background-image: unset;
    width: 22px;
    height: 22px;
    transform: translate(-4px, -4px);
}

input[type="radio"]:checked ~ .custom-control-label:before {
    background-color: #1677BD;
    border-color: #1677BD;
    color: #1677BD;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-4px,-4px);
}

input[type="radio"]:checked ~ .custom-control-label:after {
    border: #aaa;
    width: 12px;
    height: 12px;
    transform: translate(1px, 1px);
}

.custom-checkbox > .custom-control-label {
    padding-left: 12px;
}

.custom-checkbox > .custom-control-input[type="checkbox"] ~ .custom-control-label::before {
    color: white !important;
    padding-left: 10px;
    border-radius: 3px;
    border: solid 2px #807C7C;
}

.custom-checkbox > .custom-control-input[type="checkbox"]:checked ~ .custom-control-label::after {
    color: white !important;
    border-radius: 3px;
    background-color: #1677BD;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'/%3E%3Cpolyline points='40 144 96 200 224 72' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='24'/%3E%3C/svg%3E")
}

input[type="checkbox"]:not(:checked) + label {
    color: #807C7C;
}

.custom-control:has(:checked) {
    color: #333131 !important;
}

.partial-button-icon {
    height: 20px;
    transform: translateY(-5px);
}

.pincode-modal-content {
    transform: translateX(-10%);
    border-radius: 10px !important;
    min-width: 700px;
    min-height: 450px;
    align-items: center;
    margin: auto;
    line-height: 2em;
    padding: 16px 8px 0px 8px !important;
}

.pincode-modal-body {
    width: 100%;
}

.salesmate-property-mapping-modal-content {
    border-radius: 10px !important;
    align-items: center;
    margin: auto;
    line-height: 2em;
    padding: 16px 8px 0px 8px !important;
}

.salesmate-property-mapping-modal-body {
    width: 100%;
    font-size: 1.2em;
}

    .salesmate-property-mapping-modal-body p {
        color: #807C7C !important;
    }


.placing-modal-content {
    transform: translateX(-14%);
    border-radius: 10px !important;
    min-width: 700px;
    min-height: 450px;
    align-items: center;
    margin: auto;
    line-height: 2em;
    padding: 16px 8px 0px 8px !important;
}

.placing-modal-body {
    width: 100%;
}

.place-row {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 0px 16px 0px;
    margin-top: 1px;
    border-top: solid thin #F0EEEE;
}

.section-name {
    margin-top: 1em;
    transform: translateY(.3em);
    border-bottom: solid thin #F0EEEE;
}

.place-name-icon-field {
    height: 3em;
    align-self: end;
    align-content: end;
}

.place-name {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: #666363;
    padding-left: 1em;
}

.select-location-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0em;
    text-align: left;
}
/*dialog popup*/
.dialog-popup-modal-header {
    border: none !important;
}

.dialog-popup-modal-body {
    color: #fff !important;
    border: none !important;
}

.dialog-popup-modal-footer {
    border: none !important;
}

.dialog-popup-modal-content {
    position: fixed !important;
    right: 20px;
    bottom: 30px;
    width: 320px;
    padding: 16px;
    background-color: #333131;
    border-radius: 10px !important;
}

.dialog-popup-modal-header {
    transform: translate(5px, 13px);
    color: #E4464E;
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.app-label {
    color: #1d1d1b !important;
}
