/* Attendance Device Page Custom Styles */
.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 */

/* mobile */
@media screen and (max-width:991px) {
    .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%;
    }
    .sn-berhasil .button-group .button {
        padding: 8px 10px;
    }
    .sn-berhasil .how-to-connect-dahua .img {
        flex-direction: column;
    }
}

/* swal css */
.swal-wide {
    width: 1095px !important;
    height: 510px !important;
}
.swal2-html-container {
    padding: 0px 150px !important;
    position: relative !important;
    bottom: 14px !important;
}

.swal2-image.swal-img {
    margin-bottom: 0px !important;
}

.swal-img {
    width: 600px !important;
    height: 374px !important;
}

div:where(.swal2-container) .swal2-html-container {
    margin: 0px !important;
    overflow: unset !important;
    font-size: 16px !important;
}

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

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