/* Device Page Custom Styles */
.device-card {
    display: flex;
    flex-direction: column;
    padding: 20px 12px;
    width: 215px;
    height: 190px;
    background: #ECF3F8;
    border: 1px solid #C3DAE9;
    border-radius: 8px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}
.device-card .img-device img {
    width: 72px;
    height: 55px;
    margin-bottom: 10px;
}
.device-card .name span {
    font-size: 14px;
    font-weight: 600;
    color: #263238;
    text-align: center;
    margin-bottom: 15px;
}
.device-card .info p {
    font-size: 12px;
    font-weight: 400;
    color: #263238;
    text-align: center;
}

/* input sn */
.device-sn .input-sn {
    position: relative;
    z-index: 5;
}
.device-sn .input-sn .form-group .form-control,
.device-sn .input-sn .form-group .form-select {
    border: 1px solid #5D6A75;
    border-radius: 8px;
    min-height: 50px;
    font-size: 14px;
    padding: 10px 25px;
    width: 70%;
}
.device-sn .input-sn .form-group .form-control:focus,
.device-sn .input-sn .form-group .form-select:focus {
    border-color: var(--color-blue6);
    -webkit-box-shadow: none;
    box-shadow: none;
}
.device-sn .input-sn .sn-btn {
    font-size: 14px;
    background: var(--color-blue2);
    box-shadow: 0px 0px 0px 0px var(--color-blue4);
    -webkit-filter: drop-shadow(0 13px 20px #ffffff00);
    filter: drop-shadow(0 13px 20px #ffffff00);
    padding: 12px;
    width: 30%;
    border-radius: 28px;
    color: #fff;
}
.device-sn .input-sn .sn-btn:hover {
    background: #ECF3F8;
    color: var(--color-blue2);
}

.device-sn .img {
    width: 490.4px;
    height: 345.36px;
    border-radius: 4px;
    margin-left: 60px;
}
.device-sn .img img {
    width: 100%;
    height: 100%;
}

/* start device berhasil */
.sn-berhasil .button-group {
    display: flex;
    background-color: #f0f8ff;
    border-radius: 40px;
    padding: 10px;
    width: max-content;
    margin: 20px;
}

.sn-berhasil .button-group .button {
    background-color: transparent;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
    text-align: center;
}

.sn-berhasil .button-group .button.active {
    background-color: var(--color-blue4);
    color: white;
}

.sn-berhasil .button-group .button:not(.active):hover {
    color: var(--color-blue4);
}
.sn-berhasil .img-card {
    width: 352px;
    height: 312px;
    border-radius: 8px;
    border: 1px solid var(--color-blue2);
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../../assets3/img/custom/bg-device.png);
}
.sn-berhasil .img-card .img {
    max-width: 180px;
    max-height: 180px;
}
.sn-berhasil .img-card .img img {
    width: 100%;
    height: 100%;
}
.sn-berhasil .tab-links li {
    font-weight: 600;
    padding: 0 10px 10px 10px;
}
.sn-berhasil .tab-links li a:hover {
    color: var(--color-blue2);
}
.sn-berhasil .tab-links li.active {
    color: var(--color-blue2);
    border-bottom: 1px solid var(--color-blue2);
}
.sn-berhasil .tab-content .tab {
    display: none;
}
.sn-berhasil .tab-content .tab.active {
    display: block;
}
.sn-berhasil .tab-content {
    padding-left: 10px;
}
.sn-berhasil .tab-content #connect-device {
    font-size: 16px;
}
.sn-berhasil .tab-content #connect-device ul {
    padding-left: 0px !important;
    line-height: 28px;
}
.sn-berhasil .tab-content #connect-device .title {
    color: var(--color-blue4);
    font-weight: 600;
}
.sn-berhasil .tutorial-video {
    width: 100%;
    height: 315px;
    border-radius: 12px;
    margin: 30px 0;
    display: flex;
    justify-content: center;
}
.sn-berhasil .tutorial-video iframe {
    width: 50%;
    height: 100%;
    border-radius: 12px;
}
.sn-berhasil .tab-content table td {
    padding-bottom: 10px;
    align-content: start;
}

/* how to connect dahua */
.sn-berhasil .how-to-connect-dahua .img {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.sn-berhasil .how-to-connect-dahua li {
    list-style: numeric;
    margin-left: 15px;
}
.sn-berhasil .how-to-connect-dahua li li {
    list-style: none;
    margin-left: 5px;
}
/* end device berhasil */

/* swal css */
.swal-wide {
    width: 1095px !important;
    height: 510px !important;
}
.swal2-html-container {
    padding: 0px 150px !important;
}
.swal-img {
    width: 600px !important;
    height: 374px !important;
}

/* loading css */
.overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 50, 56, 0.20);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.spinner {
    position: fixed;
    left: calc(50% - 50px);
    top: 50%;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: conic-gradient(#0000 10%, var(--color-blue2));
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 13px),#000 0);
    animation: spinner-zp9dbg 1s infinite linear;
}

@keyframes spinner-zp9dbg {
   to {
      transform: rotate(1turn);
   }
}

/* start qr */
.google-play img {
    width: 114px;
    height: 33px;
    margin-top: 20px;
}
.app-store img {
    width: 114px;
    height: 33px;
    margin-top: 20px;
}
/* end qr */

/* mobile */
@media screen and (max-width:991px) {
    .about.style-4 .integration {
        padding-bottom: 0px !important;
    }
    .about.style-4 .integration .intg-back {
        bottom: 25%;
    }
    .device-sn .img {
        width: 100%;
        height: 100%;
        margin-top: 30px;
        margin-left: 0px;
    }
    .device-sn .input-sn .form-group .form-control,
    .device-sn .input-sn .form-group .form-select {
        width: 100%;
    }
    .device-sn .input-sn .sn-btn {
        width: 100%;
    }
    .device-card {
        margin-bottom: 20px;
    }
    .sn-berhasil .img-card {
        margin-bottom: 30px;
        margin-left: auto;
        margin-right: auto;
    }
    .sn-berhasil .tab-links li {
        margin-right: 0px !important;
    }
    .sn-berhasil .tutorial-video {
        height: 220px;
    }
    .sn-berhasil .tutorial-video iframe {
        width: 100%;
    }
    /* swal css */
    .swal-wide {
        height: 80% !important;
    }
    .swal2-html-container {
        padding: 0px !important;
    }
    .swal-img {
        width: 80% !important;
        height: 80% !important;
    }
    .sn-berhasil .button-group .button {
        padding: 8px 10px;
    }
    .sn-berhasil .how-to-connect-dahua .img {
        flex-direction: column;
    }
}

#noHoverButton {
    background-color: #dc3545;
    border-color: #dc3545;
}

#noHoverButton:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

