@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body {
   font-family: "Roboto", sans-serif;
    background-color: #ccc;
    -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
.logoimg {
    width: 240px;
}
.slidebox {
    padding-left: 15px;
    padding-right: 15px;
    z-index: 999999!important;
}
/* For Firefox */
.slidebox {
    scrollbar-width: none; /* Hides the scrollbar */
    -ms-overflow-style: none; /* Hides scrollbar for Internet Explorer */
}

/* Ensure smooth scrolling with swipe still works */
.slidebox {
    display: flex;
    overflow-x: auto; /* Horizontal scrolling */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on touch devices */
}
.slidebox {
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-color: #181818;
}
.slidebox::-webkit-scrollbar {
    display: none;
}
h1 {
    color: #333;
    font-size: 22px;
}
h2 {
    font-size: 16px;
    color: #333!important;
}
a {
    color: #CF5C36;
    text-decoration: none;
}
a:hover {
    color: #CF5C36;
    text-decoration: none;
}
.slidebox::-webkit-scrollbar-thumb {
    background-color: #444; 
    border-radius: 10px;
    padding: 20px;
}

.slideboxinner {
    padding-top: 20px;
    padding-bottom: 20px;
}

.tab-content h5 {
    margin-bottom: 15px;
}

.form-check-input {
    width: 3rem;
    height: 1.5rem;
}

footer button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #333;
    color: white;
    font-size: 24px;
    border: none;
}

footer {
    border-top: 1px solid #333;
}
.btn-primary {
    background: #CF5C36;
    border:0px;
}
.bg-dark {
    background: #333!important;
}
.text-primary {
    color: #CF5C36!important;
}
/* Background */
.bg-neomorphic {
    background: linear-gradient(135deg,  rgba(235,236,240,1) 0%,rgba(235,236,240,1) 10%,rgba(229,231,234,1) 19%,rgba(224,226,229,1) 32%,rgba(235,236,240,1) 42%,rgba(235,236,240,1) 42%,rgba(235,236,240,1) 42%,rgba(235,236,240,1) 66%,rgba(227,227,229,1) 76%,rgba(227,227,229,1) 76%,rgba(227,228,232,1) 82%,rgba(235,236,240,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    color: #333;
    font-family: 'Arial', sans-serif;
}
.btn {
    font-size: 13px!important;
    min-width: 140px;
}

/* Neomorphic Card Styles */
.neomorphic-card {
    border-radius: 20px;
    background: #e6e6e6;
    border:0px!important;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    padding: 20px;
    transition: all 0.3s ease;
}

.neomorphic-card:hover {
    box-shadow: 8px 8px 24px #bebebe, -8px -8px 24px #ffffff;
}
@media only screen and (max-width: 600px) {
  .nobg {
    box-shadow: none!important;
    background: transparent!important;
    }
}

@media only screen and (max-width: 960px) {
    .shadow1 {
        border-radius: 0px!important;
        background: #d6d6d6;
        border-bottom: 2px solid #ccc;
    }
    .rounded {
        margin-top: 0px!important;
        border-radius: 0px!important;
        height: 100%;
    }
}
@media only screen and (min-width: 961px) {

.nobg {
    background: #fff!important;
}
.rounded {
    border-radius: 15px!important;
}
}
/* Text styles for card titles and subtitles */
.card-title {
    font-size: 18px!important;
    font-weight: bold;
    color: #333;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
}

/* Neomorphic Icon Style */
.icon-style {
    font-size: 16px;
    color: #333;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.2);
}

/* Neomorphic Toggle Switch */
.neomorphic-toggle {
    width: 3rem;
    height: 1.5rem;
    background-color: #e0e0e0;
    border: none;
    box-shadow: inset 5px 5px 15px #bebebe, inset -5px -5px 15px #ffffff;
}
.largepack {
    font-size: 40px;
    color: #ccc;
}
.t-2 {
    position: absolute;
    margin-top: -70px;
    margin-left: 200px!important;
}
.fa-bars {
    font-size: 20px;
    padding: 10px;
}
.neomorphic-btn-sm {
    border-radius: 15px;
    background-color: #e0e0e0;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    font-size: 14px;
    color: #333;
    border: none;
    transition: box-shadow 0.3s ease;
    padding: 10px;
}
.neomorphic-btn-sm:hover {
    border-radius: 15px;
    background-color: #e0e0e0;
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
    -0.5px -0.5px 0 rgba(255, 255, 255, 1), 0.5px 0.5px 0 rgba(0, 0, 0, 0.15),
    0px 12px 10px -10px rgba(0, 0, 0, 0.05);
    
}
.neomorphic-btn-sm-on {
    border-radius: 15px;
    background-color: #e0e0e0;
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
    -0.5px -0.5px 0 rgba(255, 255, 255, 1), 0.5px 0.5px 0 rgba(0, 0, 0, 0.15),
    0px 12px 10px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 14px;
    color: #555;
    transition: box-shadow 0.3s ease;
    padding: 10px;
}

.neomorphic-btn:active {
    box-shadow: inset 5px 5px 15px #bebebe, inset -5px -5px 15px #ffffff;
}
/* Styling the round button */
.round-button {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background-color: #E0E0E0;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    border: none;
    font-size: 14px; /* Size of the icon */
    color: #7a7a7a;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Active state (green background and white icon) */
.round-button.active {
    color: #47CF73;
    box-shadow: -10px -10px 15px rgba(255, 255, 255, 0.5),
    10px 10px 15px rgba(70, 70, 70, 0.12),
    inset -10px -10px 15px rgba(255, 255, 255, 0.5),
    inset 10px 10px 15px rgba(70, 70, 70, 0.12);
}

.reading small {
    color: #999;
}
.reading {
    padding: 4px;
    background-color: #D6D6D6;
    color: black;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 5px;
    border:2px solid #ccc;
}

/* LED Base Styles */
.led:before {
  content: "";
  display: inline-block;
  margin-right: 12px;
  width: 14px;
  height: 14px;
  background-color: rgba(50, 205, 50, 0.5);
  border: 6px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  transition: all 150ms ease;
}

/* ON State */
.led.on {
  color: #ddd;
}

.led.on:before {
  background-color: limegreen;
  box-shadow: 0 0 16px limegreen;
}

/* OFF State */
.led.off:before {
  background-color: grey;
  box-shadow: 0 0 16px grey;
  margin-top: -20px;
}

.ioff {
    color: #ccc;
}
.ion {
    color: #D1633E;
}
.btn-outline-dark {
    font-size: 13px;
    min-width: 140px;
    background: #f2f2f2;
}
.labelsmall {
    font-size: 12px!important;
}

.form-label {
    color: #555;
    font-weight: bold;
    font-size: 14px;
}
.form-control {
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #777;
    transition: box-shadow 0.3s ease;
    padding: 11px;
    background: #fff;
}
.footer {
    margin-top: 30px;
    border-top: 1px solid #ededed;
    padding-top: 20px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 2px;
}
.form-control:focus {
    border-radius: 15px;
    background: #fff;
    font-size: 16px;
    font-weight: bold;
    color: #555;
    transition: box-shadow 0.3s ease;
    padding: 11px;
}
.btn {
    font-size: 14px;
}
.btn-neomorphic {
    background: #CF5C36;
    border-radius: 10px;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.btn-neomorphic:active {
    background: #CF5C36;
    border-radius: 10px;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.btn-neomorphic:hover {
    background: #CF5C36;
    border-radius: 10px;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.btn-neomorphic-sm {
    background: #e0e0e0;
    border-radius: 10px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #555;
    font-weight: bold;
}

.btn-neomorphic-sm:active {
    background: #e0e0e0;
    border-radius: 10px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #555;
    font-weight: bold;
}

.btn-neomorphic-sm:hover {
    background: #e0e0e0;
    border-radius: 10px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 16px;
    color: #555;
    font-weight: bold;
}


.btn-neomorphic-icon {
    background: #e0e0e0;
    border-radius: 10px;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #555;
    width: 50px;
    text-align: center;
    padding: 10px;
}

.btn-neomorphic-icon:active {
    background: #e0e0e0;
    border-radius: 10px;
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
    -0.5px -0.5px 0 rgba(255, 255, 255, 1), 0.5px 0.5px 0 rgba(0, 0, 0, 0.15),
    0px 12px 10px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #555;
    width: 50px;
    text-align: center;
    padding: 10px;
}
.btn-neomorphic-icon-active {
    background: #e0e0e0;
    border-radius: 10px;
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
    -0.5px -0.5px 0 rgba(255, 255, 255, 1), 0.5px 0.5px 0 rgba(0, 0, 0, 0.15),
    0px 12px 10px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #555;
    width: 50px;
    text-align: center;
    padding: 10px;
}

.btn-neomorphic-icon:hover {
    background: #e0e0e0;
    border-radius: 10px;
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
    -0.5px -0.5px 0 rgba(255, 255, 255, 1), 0.5px 0.5px 0 rgba(0, 0, 0, 0.15),
    0px 12px 10px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #555;
    width: 50px;
    text-align: center;
    padding: 10px;
}
.grey {
    color: #787F8F;
}

.btn-neomorphic-round {
    background: #e0e0e0;
    border-radius: 50%;
    padding: 15px 20px;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #555;
    font-weight: bold;
    width: 100%;
}

.btn-neomorphic-round:active {
    background: #e0e0e0;
    border-radius: 50%;
    padding: 15px 20px;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.01);
    font-size: 16px;
    color: #555;
    font-weight: bold;
    width: 100%;
}

.btn-neomorphic-round:hover {
    background: #e0e0e0;
    border-radius: 50%;
    padding: 15px 20px;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 16px;
    color: #555;
    font-weight: bold;
    width: 100%;
}
.shadow1 {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background: #d6d6d6;
    border-bottom: 2px solid #ccc;
}

/* Neomorphic container for checkbox */
.form-check {
    display: flex;
    align-items: center; /* Align items vertically center */
    
}
.nonsa {
    margin-left: 13px;
}
/* Hide default checkbox */
.form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none; /* Prevent interaction with hidden checkbox */
}

/* Custom checkbox container */
.custom-checkbox {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: #fff;
    border:2px solid #333;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    margin-top: 10px;
    margin-left: -25px;
}

/* Add checkmark inside checkbox when checked */
.form-check-input:checked + .custom-checkbox::after {
    content: "\f00c"; /* Font Awesome checkmark icon (Unicode for 'fa-check') */
    font-family: "Font Awesome 5 Free"; /* Font Awesome font */
    font-weight: 900; /* Ensure it's using the solid icon */
    font-size: 14px;
    color: #555;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

/* When checkbox is active */
.form-check-input:checked + .custom-checkbox {
    background-color: #fff;
    border:2px solid #333;
}

/* Label style */
.form-check-label {
    margin-top: 12px;
    margin-left: 10px; /* Small margin to the left */
    font-size: 14px;
    color: #555;
    font-weight: bold;
    cursor: pointer;
}

/* Hover effect for the checkbox */
.custom-checkbox:hover {
    box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.3);
}
.resetbox {
    color: #555;
    border:1px solid #ccc;
    padding: 10px;
    border-radius: 14px;
    padding: 15px 30px;
    background-color: #E0E0E0;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    outline: none;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.7);
    
}
.inputpass-code {
    text-align: center;
    font-size: 28px;
    padding: 10px;
    height: 60px;
    width: 60px;
}
.container-fluid {
    max-width: 960px!important;
}

.back {
    color: #636B7C;
}
h5 {
    color: #636B7C;
    font-weight: 600;
}
.boxcontainer {
    padding-bottom: 20px;
    padding-top: 0px;
    padding-left: 15px;
    padding-right: 15px;
}
small {
    font-size: 12px;
    color: #444;
}
.orange {
    color: #CF5C36;
    font-size: 18px;
}
.vh100 {
    min-height: 100vh;
}
.device-card {
    border-radius: 20px;
    background: #e6e6e6;
    border:0px!important;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    padding: 20px;
    transition: all 0.3s ease;
    color: #787F8F;

}
        .device-card:hover {
            box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.15), -3px -3px 12px rgba(255, 255, 255, 0.9);
        }
        .device-card .card-icon {
            font-size: 24px;
        }
        .device-card .toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 10px;
        }
        .device-card .toggle .switch {
            position: relative;
            display: inline-block;
            width: 40px;
            height: 20px;
        }
        .device-card .toggle .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .device-card .switch-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: 0.4s;
            border-radius: 34px;
        }
        .device-card .switch-slider:before {
            position: absolute;
            content: "";
            height: 12px;
            width: 12px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: 0.4s;
            border-radius: 50%;
        }
        .device-card input:checked + .switch-slider {
            background-color: #CF5C36;
        }
        .device-card input:checked + .switch-slider:before {
            transform: translateX(18px);
        }

.temp-text {
    color: #0599F3;
    font-size: 25px;
}
.ts {
    text-shadow: 0 1px 0 #fff;
}
.mainicons {
    font-size: 20px;
}
.glow {
    animation: rotate 0.8s linear infinite;
}
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}
 .neomorphic-switch {
        position: relative;
        display: inline-block;
        width: 120px;
        height: 60px;
        background: #e0e0e0;
        border-radius: 30px;
        box-shadow: 7px 7px 15px #bebebe, -7px -7px 15px #ffffff;
        cursor: pointer;
        transition: background 0.3s;
    }

    .neomorphic-checkbox {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .slider {
        position: absolute;
        top: 5px;
        left: 5px;
        width: 50px;
        height: 50px;
        background-color: #f1f1f1;
        border-radius: 50%;
        box-shadow: inset 5px 5px 10px #bebebe, inset -5px -5px 10px #ffffff;
        transition: 0.4s;
    }

    .neomorphic-checkbox:checked + .slider {
        left: 65px;
        background-color: #FF4136; /* Red when checked */
        box-shadow: inset 5px 5px 10px #B22E25, inset -5px -5px 10px #FF705D;
    }

    .switch-labels {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        font-size: 16px;
        color: #666;
    }
#reporting .card {
    font-size: 12px;
}
#reporting .card-body {
    padding: 0px;
    background: transparent!important;
}
#reporting .list-group-item {
    background: #ccc!important;
}
.syncdate {
    font-size: 15px;
}
.bg-orange {
    background: #CF5C36;
    color: #fff;
}
.btn-light {
    border:1px solid #ccc;
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 93%,rgba(246,246,246,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}