/**
 *
 * You can write your CSS code here, DO NOT touch the default JavaScript file
 * because it will make it harder for you to update.
 *
 */

/*# sourceMappingURL=custom.css.map */
@font-face {
    font-family: "Uthmani";
    src: url("../fonts/UthmanicHafs1Ver18.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "LPMQ Isepmisbah";
    src: url("../fonts/lpmq-isepmisbah.ttf") format("truetype");
    font-display: swap;
}

a {
    color: #138a84;
    font-weight: 500;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
}

/* Arabic Text*/
.arabic-text {
    font-family: "LPMQ Isepmisbah", "Uthmani", "Scheherazade New", "Amiri",
        serif;
    direction: rtl;
    text-align: right;
    line-height: 250%;
}
.ar-title {
    font-size: 1.5rem !important;
    line-height: 3.2rem !important;
}
.ar-subtitle {
    font-size: 1rem !important;
}
.ar-symbol {
    font-size: 0.85rem !important;
    font-weight: 500;
}
.ar-symbol-mini {
    font-size: 0.70rem !important;
    font-weight: 600;
    align-items: center;
}
.word-group {
    font-size: 2rem;
    text-align: center;
}
.words {
    font-size: 1.2rem;
    text-align: center;
    line-height: 150%;
}
.translation {
    font-size: 0.70rem;
    text-align: center;
}


/* Alfuadi Color */
.text-huruf {
    color: #e62e2e !important;
}

.text-isim {
    color: #066fc5 !important;
}

.text-fiil {
    color: #00a329 !important;
}

/* Background */
.bg-primary {
    background-color: #1d948e !important;
}

.navbar-bg {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 115px;
    background-color: #138a84;
    z-index: -1;
}

.btn-primary,
.btn-primary.disabled {
    box-shadow: 0 2px 6px #b6eeeb !important;
    background-color: #1d948e;
    border-color: #1d948e;
}
.btn-primary:focus,
.btn-primary.disabled:focus {
    background-color: #138a84 !important;
}
.btn-primary:focus:active,
.btn-primary.disabled:focus:active {
    background-color: #138a84 !important;
}
.btn-primary:active,
.btn-primary:hover,
.btn-primary.disabled:active,
.btn-primary.disabled:hover {
    background-color: #138a84 !important;
}

.btn-secondary,
.btn-secondary.disabled {
    box-shadow: 0 2px 6px #e1e5e8;
    background-color: #9c9b9b;
    border-color: #cdd3d8;
    color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.disabled:hover,
.btn-secondary.disabled:focus,
.btn-secondary.disabled:active {
    background-color: #b4b4b4 !important;
    color: #fff !important;
}

.btn-success,
.btn-success.disabled {
    box-shadow: 0 2px 6px #81d694;
    /* background-color: #28A745; */
    border-color: #47c363;
    color: #fff;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.disabled:hover,
.btn-success.disabled:focus,
.btn-success.disabled:active {
    background-color: #3bb557 !important;
    color: #fff !important;
}

.btn-outline-primary,
.btn-outline-primary.disabled {
    border-color: #1d948e;
    color: #1d948e;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.disabled:hover,
.btn-outline-primary.disabled:focus,
.btn-outline-primary.disabled:active {
    background-color: #1d948e !important;
    color: #fff;
}

body.sidebar-mini .main-sidebar .sidebar-menu > li.active > a {
    box-shadow: 0 4px 8px #d1f7f5;
    background-color: #1d948e;
    color: #fff;
}

body.sidebar-mini
    .main-sidebar
    .sidebar-menu
    > li
    ul.dropdown-menu
    li
    > a:focus,
body.sidebar-mini
    .main-sidebar
    .sidebar-menu
    > li
    ul.dropdown-menu
    li.active
    > a,
body.sidebar-mini
    .main-sidebar
    .sidebar-menu
    > li
    ul.dropdown-menu
    li.active
    > a:hover {
    color: #fff;
    background-color: #1d948e !important;
}

.card.card-primary {
    border-top: 2px solid #1d948e;
}

.card .card-header h4 {
    font-size: 16px;
    line-height: 28px;
    color: #138a84;
    padding-right: 10px;
    margin-bottom: 0;
}

/* 3.2 Form */
.form-control,
.input-group-text,
.custom-select,
.custom-file-label {
    background-color: #fdfdff;
    border-color: #e4e6fc;
}
.form-control:focus,
.input-group-text:focus,
.custom-select:focus,
.custom-file-label:focus {
    background-color: #fefeff;
    border-color: #6dc2bc;
}

.form-control-ar {
    /* font-size: 14px; */
    padding: 5px 5px !important;
    height: 42px !important;
}

/* 3.20 Dropdown */
.tab-content.no-padding > .tab-pane {
    padding: 0;
}
.tab-content > .tab-pane {
    line-height: 28px;
}

ul.nav-tabs li.nav-item a.nav-link i {
    color: #1d948e;
}
ul.nav-tabs li.nav-item a.nav-link span {
    display: block;
    line-height: 60%;
}
ul.nav-tabs li.nav-item a.nav-link span i {
    font-size: 16px !important;
}

ul.nav-tabs li.nav-item a.nav-link.active i {
    color: #191d21;
}

.main-sidebar .sidebar-menu li ul.dropdown-menu li a:hover {
    color: #1d948e;
    background-color: inherit;
}
.main-sidebar .sidebar-menu li ul.dropdown-menu li.active > a {
    color: #1d948e;
    font-weight: 600;
}

.main-sidebar .sidebar-brand a {
    font-family: "Cinzel Decorative" !important;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 1.5px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d948e;
}

/* 3.9 Nav */
.nav-tabs .nav-item .nav-link {
  color: #313131;
}
.nav-tabs .nav-item .nav-link.active {
  color: #1d948e;;
}

.tab-content > .tab-pane {
  padding: 10px 0;
  line-height: 24px;
}

.tab-bordered .tab-pane {
  padding: 15px;
  border: 1px solid #ededed;
  margin-top: -1px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #6777ef;
}
.nav-pills .nav-item .nav-link {
  color: #6777ef;
  padding-left: 15px !important;
  padding-right: 15px !important;
}
.nav-pills .nav-item .nav-link:hover {
  background-color: #f6f7fe;
}
.nav-pills .nav-item .nav-link.active {
  box-shadow: 0 2px 6px #acb5f6;
  color: #fff;
  background-color: #6777ef;
}
.nav-pills .nav-item .nav-link .badge {
  padding: 5px 8px;
  margin-left: 5px;
}

.nav .nav-item .nav-link .ion, .nav .nav-item .nav-link .fas, .nav .nav-item .nav-link .far, .nav .nav-item .nav-link .fab, .nav .nav-item .nav-link .fal {
  margin-right: 3px;
  font-size: 12px;
}

/* 4.2 Section */
.section {
    position: relative;
    z-index: 1;
}
.section > *:first-child {
    margin-top: -7px;
}
.section .section-header {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
    background-color: #fff;
    border-radius: 3px;
    border: none;
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    display: flex;
    align-items: center;
}
.section .section-header h1 {
    margin-bottom: 0;
    font-weight: 700;
    display: inline-block;
    font-size: 24px;
    margin-top: 3px;
    color: #138a84;
}
.section .section-header .section-header-back {
    margin-right: 15px;
}
.section .section-header .section-header-back .btn:hover {
    background-color: #138a84;
    color: #fff;
}
.section .section-header .section-header-button {
    margin-left: 20px;
}
.section .section-header .section-header-breadcrumb {
    margin-left: auto;
    display: flex;
    align-items: center;
}
.section .section-header .section-header-breadcrumb .breadcrumb-item {
    font-size: 12px;
}
.section .section-header .btn {
    font-size: 12px;
}
.section .section-title {
    font-size: 18px;
    color: #191d21;
    font-weight: 600;
    position: relative;
    margin: 30px 0 25px 0;
}
.section .section-title:before {
    content: " ";
    border-radius: 5px;
    height: 8px;
    width: 30px;
    background-color: #138a84;
    display: inline-block;
    /* float: left; */
    margin-top: 6px;
    margin-right: 15px;
}
.section .section-title + .section-lead {
    margin-top: -20px;
}
.section .section-lead {
    margin-left: 45px;
}

/* 1.25 Sweet Alert */
.swal-button {
    border-radius: 3px;
    font-size: 16px;
}
.swal-button:focus {
    box-shadow: none;
}
.swal-button.swal-button--confirm {
    box-shadow: 0 2px 6px #d4fadd;
    background-color: #28a745;
    padding: 10px 24px;
}
.swal-button.swal-button--confirm:focus {
    opacity: 0.8;
}

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

.swal-text {
    text-align: center;
    line-height: 24px;
    font-weight: 500;
}

.swal-content__input,
.swal-content__textarea {
    font-size: 30px;
    font-family: "LPMQ Isepmisbah";
    justify-items: center;
    display: block;
    box-sizing: border-box;
    border-radius: 8px !important;
    width: 100%;
    height: 100%;
}

.swal-content__input:focus,
.swal-content__textarea:focus {
    border: 1px solid #138a84;
}

.card-footer .d-flex {
    flex-wrap: wrap; /* biarkan tombol turun ke baris baru jika ruang tidak cukup */
    gap: 0.5rem; /* jarak antar item */
}

/* jaga margin bawah agar rapi saat membungkus */
.card-footer .d-flex > * {
    margin-bottom: 0 !important;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #1d948e !important;
}

.main-sidebar .sidebar-menu li.active a {
    color: #138a84;
    font-weight: 600;
    background-color: #f8fafb;
}
body:not(.sidebar-mini) .sidebar-style-2 .sidebar-menu > li.active > a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 25px;
    width: 4px;
    background-color: #138a84;
}

.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
    color: #9b0000 !important;
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
}

/* 1.35 Owl Carousel */
.owl-theme .owl-item {
    padding: 10px 0;
}
.owl-theme .owl-dots {
    margin-top: 20px !important;
}
.owl-theme .owl-dots .owl-dot.active span {
    background-color: #008f85;
}

/* 3.6 Table */
.table {
    color: inherit;
}
.table td,
.table:not(.table-bordered) th {
    border-top: none;
}
.table:not(.table-sm):not(.table-md):not(.dataTable) td,
.table:not(.table-sm):not(.table-md):not(.dataTable) th {
    padding: 0 25px;
    height: 60px;
    vertical-align: middle;
}
.table:not(.table-sm) thead th {
    border-bottom: none;
    background-color: rgba(61, 185, 179, 0.144);
    color: #666;
    padding-top: 15px;
    padding-bottom: 15px;
}
.table.table-md th,
.table.table-md td {
    padding: 10px 15px;
}
.table.table-bordered td,
.table.table-bordered th {
    border-color: #f6f6f6;
}

.table-links {
    color: #34395e;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0;
    transition: all 0.3s;
}
.table-links a {
    color: #666;
}

table tr:hover .table-links {
    opacity: 1;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.kalimat-detail-row td {
    padding: 5px 10px !important;
    /* vertical-align: top !important; */
}

/* Loading Overlay*/
#loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.288);
    z-index: 9999;

    /* ready for fade animation */
    display: flex;
    align-items: center;
    justify-content: center;

    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.text-primary,
.text-primary-all *,
.text-primary-all *:before,
.text-primary-all *:after {
    color: #008f85 !important;
}

@media (max-width: 1024px) {
    .sidebar-gone-hide {
        display: none !important;
    }
    .sidebar-gone-show {
        display: block !important;
    }
    .main-sidebar {
        position: fixed !important;
        margin-top: 0 !important;
        z-index: 891;
    }
    body.layout-2 .main-wrapper,
    body.layout-3 .main-wrapper {
        width: 100%;
        padding: 0;
        display: block;
    }
    .main-content {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
    }
    .main-footer {
        padding-left: 15px;
    }
    body.search-show {
        overflow: hidden;
    }
    body.search-show .navbar {
        z-index: 892;
    }
    body.sidebar-show {
        overflow: hidden;
    }
    body.search-show:before,
    body.sidebar-show:before {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: #000;
        opacity: 0;
        z-index: 891;
        -webkit-animation-name: fadeinbackdrop;
        animation-name: fadeinbackdrop;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }
    @-webkit-keyframes fadeinbackdrop {
        to {
            opacity: 0.6;
        }
    }
    @keyframes fadeinbackdrop {
        to {
            opacity: 0.6;
        }
    }
}

@media (max-width: 575.98px) {
    .table-responsive table {
        min-width: 400px;
    }
}

.table-hover tbody tr:hover {
    color: #212529;
    background-color: #138a8413;
}
