/*
File: Custom Css File
*/

:root {
    --cl-ic-basic: #A1812E;
    --cl-ic-basic-light: #FFF2CF;
    --cl-ic-pink: #FF3131;
    --cl-bg-basic-light: #ffffff;
    --cl-bg-basic-warm: #ffffff;
    --cl-bg-pink: #FFD6D6;
    --cl-ic-dark: #005248;
    --cl-ic-dark-light: #C8D8D6;
    --cl-bg-dark-light: #FAFAFA;
    --cl-tx-dark: #131313;
    --cl-bg-dark: #0b2520;
    --vz-header-bg: #ffffff;
    --cl-border-warm: #EFF6E3;

    
    --cl-tx-darkgreen: #005248;
    --cl-tx-green: #14A9FF;
    --bg-green-light: #EEFFD3;
    --grey-light: #E7E7E7;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins';
}

#wtopbar {
    width: 100%;
    height: 70px;
    margin: 0;
    padding: 0;
    background-color: var(--cl-bg-basic-light);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1002;
    /* background-color: var(--vz-header-bg); */
    -webkit-transition: all .1s ease-out;
    transition: all .1s ease-out;
    border-bottom: 1px solid var(--vz-header-border)
}

.rounded-30 {
    border-radius: 30px;
}

.margin-10 {
    margin-left: 10px;
    margin-right: 10px;
}

.margin-20 {
    margin-left: 20px;
    margin-right: 20px;
}

.m-top-1 {
    margin-top: 10px;
}

.ml-1 {
    margin-left: 10px;
}

.ml-2 {
    margin-left: 20px;
}

.ml-3 {
    margin-left: 30px;
}

.ml-4 {
    margin-left: 40px;
}

.ml-5 {
    margin-left: 50px;
}

.vh-50 {
    height: 50vh;
}

.vh-60 {
    height: 60vh;
}

.vh-70 {
    height: 70vh;
}

.vh-80 {
    height: 80vh;
}

.vh-90 {
    height: 90vh;
}

.cs-fs-7 {
    font-size: 7em;
}

.cs-fs-6 {
    font-size: 6em;
}

.cs-fs-5 {
    font-size: 5em;
}

.cs-fs-4 {
    font-size: 4em;
}

.cs-fs-3 {
    font-size: 3em;
}

.cs-fs-2 {
    font-size: 2em;
}

.cs-fs-1-5 {
    font-size: 1.6em;
}

.cs-fs-1-2 {
    font-size: 1.2rem;
}

.cs-fs-1 {
    font-size: 1em;
}

.cs-ic-32 {
    height: 32px;
    width: 32px;
}

.bg-clr-warm {
    color: var(--cl-bg-basic-light);
}

.bg-clr-warm-2 {
    background-color: var(--cl-bg-basic-warm);
}

.bg-ic-pink {
    background-color: var(--cl-bg-pink);
    border-radius: 5px;
    padding: 3px 5px;
}

.bg-greenLight {
    background-color: var(--bg-green-light);
}

.bg-greyLight {
    background-color: var(--grey-light);
}

.bg-greenDark {
    background-color: var(--cl-tx-darkgreen) !important;
}

.border-clr-warm {
    border: 1px solid var(--cl-border-warm);
}

.border-clrGreen {
    border: 1px solid var(--cl-tx-green);
}

.cs-border-30 {
    border-radius: 30px;
}

.txClr-ic-1 {
    color: var(--cl-ic-basic);
}

.txClr-ic-2 {
    color: var(--cl-ic-dark);
}

.txClr-dark {
    color: var(--cl-tx-dark);
}

.txClr-greenDark {
    color: var(--cl-tx-darkgreen);
}

.txClr-green {
    color: var(--cl-tx-green);
}

.txClr-greenLight {
    color: var(--bg-green-light);
}

.icClr-pink {
    color: var(--cl-ic-pink);
}

.tx-h3-green {
    text-align: left;
    color: var(--cl-ic-dark);
    margin-top: 10px;
    margin-bottom: 10px;
}

.cb1 {
    border: 1px solid var(--cl-ic-basic);
    background-color: var(--cl-bg-basic-light);
}

.cb2 {
    border: 1px solid var(--cl-ic-dark);
    background-color: var(--cl-bg-dark-light);
}

.btn-ic-1 {
    color: var(--cl-ic-basic);
    background-color: var(--cl-ic-basic-light);
}

.btn-ic-2 {
    color: var(--cl-ic-dark);
    background-color: var(--cl-ic-dark-light);
}

.btn-greenDark {
    color: #ffffff;
    background-color: var(--cl-tx-darkgreen);
}

.btn-greenDark:hover,
.btn-greenDark.active {
    color: #ffffff;
    background-color: var(--cl-bg-dark);
}

.card-animate {
    height: 240px;
    margin-left: 10px;
    margin-right: 10px;
}

.input-group {
    position: relative;
}

.input-group input {
    padding-right: 100px;
    /* Memberikan ruang untuk button */
}

.input-group button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-custom {
    border: 1px solid #ccc;
    color: var(--cl-tx-dark);
}

.btn-custom.active {
    border-color: green;
    background-color: rgba(165, 165, 165, 0);
    color: var(--cl-tx-dark);
}

.btn-like {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

.btn-like i {
    color: black;
}

.btn-like.liked i {
    color: red;
}

.auth-page-content {
    min-height: 100vh;
}

.navbar-brand-box,

/* .navbar-nav {
    background-color: var(--vz-header-bg);
} */

ul.nav.nav-sm {
    list-style-type: disc !important;
    /* Pastikan nilai disc diterapkan */
    padding-left: 20px;
    /* Sesuaikan padding sesuai kebutuhan */
}


/* .menu-dropdown ul li {
    margin-left: 10px;
} */

.list-menu {
    list-style: disc !important;
    margin-top: 10px;
    /* margin-bottom: 10px; */
    color: var(--cl-ic-basic);
}

.txClr-menu {
    color: var(--cl-bg-dark);
}

.bodycontainer {
    background: #ffffff;
}


/* Garis vertikal */

.vertical-line {
    border-right: 1px solid #81D1FF;
    height: 40px;
    /* Perbesar tinggi */
    margin-left: 10px;
}

.dashboard-icon a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
}

.dashboard-icon a img {
    margin-right: 10px;
}

.dashboard-icon a span {
    font-size: 18px;
    /* Perbesar teks */
    font-weight: 500;
    color: #000000;
}

.color-gold {
    color: var(--cl-ic-basic);
}


/* Gaya untuk tautan navigasi */

.topnav-link {
    text-decoration: none;
    color: #81D1FF;
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    /* Perbesar teks */
    transition: color 0.3s, transform 0.3s;
    /* Animasi hover */
}


/* Gaya ikon di dalam tautan */

.topnav-link i {
    font-size: 32px;
    /* Perbesar ikon */
    color: #81D1FF;
    transition: color 0.3s, transform 0.3s;
}


/* Efek hover */

.topnav-link:hover,
.topnav-link i:hover {
    color: #14A9FF;
    transform: scale(1.1);
    /* Animasi zoom saat hover */
}


/* Gaya untuk tautan aktif */

.topnav-link.active,
.topnav-link.active i {
    color: #14A9FF;
}

.topnav-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 70%;
    /* Perbesar lebar underline */
    height: 3px;
    /* Tambahkan ketebalan */
    background-color: #14A9FF;
    border-radius: 5px;
}


/* Hamburger icon Ervais blue override */
.hamburger-icon span {
    background-color: #14A9FF !important;
}

/* Tambahkan jarak antar elemen */

.margin-20 {
    margin: 0 20px;
}

.card {
    border-radius: 20px;
    overflow: hidden;
}


/* Upload file */

.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    background-color: green;
    color: white;
    text-align: center;
    margin-top: 10px;
}

.file-list {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.file-item button {
    margin-left: 10px;
}

.level-btn {
    min-width: 100px;
    max-width: 110px;
    white-space: nowrap;
    text-align: center;
}

.level-btn.active {
    background-color: var(--cl-bg-basic-light);
    color: var(--cl-ic-basic);
    border-color: var(--cl-ic-basic);
}

.overflow-auto {
    white-space: nowrap;
    /* Prevent wrapping */
}

.overflow-auto::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for WebKit browsers */
}


/* Optional: Style the scrollbar for other browsers */

.overflow-auto {
    white-space: nowrap;
    /* Prevent wrapping */
}

.overflow-auto::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for WebKit browsers */
}


/* Optional: Style the scrollbar for other browsers */

.overflow-auto {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.carousel-control-prev,
.carousel-control-next {
    /* background-color: #005248; */
    width: 30px;
}

.card-left {
    background-color: var( --cl-tx-darkgreen);
    width: 50%;
}

.table th,
.table td {
    white-space: nowrap;
    /* Prevents text from wrapping in cells */
}

.table th {
    text-align: center;
    /* Center-aligns table header text */
}


/* On small screens, stack the sides */

@media (max-width: 1199px) {
    .card {
        flex-direction: column;
        border-radius: 10px;
    }
    .card-left {
        width: 100%;
        text-align: center;
        padding: 2rem;
    }
    .card-body {
        width: 100%;
        padding: 2rem;
    }
    .card-left img {
        max-width: 50vw;
    }
    h2,
    h3,
    h5 {
        text-align: center;
    }
}


/* Text responsiveness */

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    h5 {
        font-size: 1rem;
    }
}

[data-theme="dark"] {
    --background-color: #333333;
    --text-color: #ffffff;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
}

@media (max-width: 750px) {
    .logo {
        display: none;
        /* Menyembunyikan logo */
    }
    .dashboard-icon {
        display: flex;
        /* Menampilkan ikon dashboard */
    }
    .nameSchool {
        display: none;
        /* Menyembunyikan nama sekolah */
    }
    .dashboard-icon img {
        display: block;
        /* Menampilkan gambar sebagai block untuk memudahkan klik */
        margin: 0 auto;
        /* Menyusun gambar agar berada di tengah */
    }
    .dashboard-icon span {
        display: none;
        /* Menyembunyikan teks 'Dashboard' */
    }
}


/*** Siderbar Menu ***/


/* unused */

.sidebar-menu-header {
    width: 90%;
    height: 100%;
    background: #FFF0B9;
    border-radius: 7px;
    color: #A1812E;
    font-size: 18px;
    font-family: 'Poppins';
    font-weight: 500;
    word-wrap: break-word;
    padding-left: 12px;
    padding-top: 6px;
    padding-bottom: 7px;
    margin-left: 12px;
    margin-top: 7px;
}

.sidebar-menu-list {
    color: #4C4C4C;
    font-size: 14px;
    font-family: 'Poppins';
    font-weight: 400;
    word-wrap: break-word;
}

.sidebar-menu-list-active {
    color: #A1812E;
    font-family: 'Poppins';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


/*** Siderbar Menu ***/


/*** Button #6EBC6C ***/

.btn-new-primary {
    background-color: #6EBC6C !important;
    border-color: #6EBC6C !important;
    color: white !important;
}

.btn-new-primary:hover {
    background-color: #5DA85D !important;
    border-color: #5DA85D !important;
    color: white !important;
}

.btn-new-outline-primary {
    color: #6EBC6C;
    border-color: #6EBC6C;
}

.btn-new-outline-primary:hover {
    background-color: #6EBC6C;
    color: #fff;
    border: #6EBC6C;
}


/*** Button #6EBC6C ***/


/*** Datatable Pagination ***/


/* Gaya tombol pagination yang aktif */

.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
    background-color: #6EBC6C !important;
    color: white !important;
    border-color: #6EBC6C !important;
    margin: 0 2.5px !important;
    border-radius: 5px !important;
}


/* Gaya tombol pagination yang tidak aktif */

.dataTables_wrapper .dataTables_paginate .page-item .page-link {
    color: #6EBC6C !important;
    border: 1px solid #6EBC6C !important;
    margin: 0 2.5px !important;
    border-radius: 5px !important;
}


/* Efek hover pada tombol pagination */

.dataTables_wrapper .dataTables_paginate .page-item .page-link:hover {
    background-color: #6EBC6C !important;
    color: white !important;
    border-color: #6EBC6C !important;
}


/*** Datatable Pagination ***/


/*** Accordion Header ***/

.custom-accordion-header {
    background: #EFF6E3;
    color: #000;
}

.custom-accordion-header:focus,
.custom-accordion-header[aria-expanded="true"] {
    background: #EFF6E3;
    color: #000;
}


/*** Accordion Header ***/


/*** Checkbox ***/


/* Container untuk membuat checkbox dan label sejajar */

.form-check {
    display: flex;
    align-items: center;
}


/* Atur ukuran dan warna checkbox */

.form-check-input {
    width: 20px;
    height: 20px;
}


/* Warna saat checkbox dicentang */

.form-check-input:checked {
    background-color: #6EBC6C;
    border-color: #6EBC6C;
}


/* Beri jarak antara checkbox dan label */

.form-check-label {
    margin-left: 8px;
    padding-top: 5px;
}


/*** Checkbox ***/


/* Table CSS */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
    text-align: left;
}

th,
td {
    padding: 12px 15px;
    /* border: 1px solid #ddd; */
}

th {
    background-color: #f4f4f4;
    cursor: pointer;
    position: relative;
}

th a {
    text-decoration: none;
    color: #333;
}

th:hover .sort-icon,
th a:hover {
    color: #007bff;
}

.sort-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease, color 0.3s ease;
    color: #aaa;
    /* Warna default */
}

.sort-icon.active {
    color: #007bff;
    font-weight: bold;
}


/* Efek saat klik ikon */

.sort-icon.bx-sort-up {
    transform: rotate(0deg);
}

.sort-icon.bx-sort-down {
    transform: rotate(180deg);
}


/* Hover untuk kolom */

th:hover .sort-icon {
    color: #007bff;
}


/* Styling untuk pagination */

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 10px;
}

.pagination-links {
    display: flex;
    gap: 5px;
}

.pagination-links a {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #007bff;
}

.pagination-links a:hover {
    background-color: #007bff;
    color: white;
}

.pagination-links .disabled {
    color: #ccc;
    pointer-events: none;
}

.pagination-links .active {
    font-weight: bold;
    color: #007bff;
}

.dp {
    width: 56px;
    height: 56px;
    object-fit: cover;
}

.dp2 {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.dp3 {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.table.t-bottom tbody tr {
    border-bottom: 1px solid #dee2e6;
    /* Warna dan ketebalan border dapat disesuaikan */
}


/* Remove side and top borders */

.table.t-bottom td,
.table.t-bottom th {
    border-top: none;
    border-left: none;
    border-right: none;
}

.bg-overlay-landing {
    background-image: url(../images/landing/bg.png) !important;
}

.bg-overlay-landing-circle {
    background-image: url(../images/landing/ellipse.png) !important;
    background-color: transparent;
    background-position: 10% 10%;
    background-size: 30%;
    background-repeat: no-repeat;
    opacity: .9;
}

.no-shadow {
    -webkit-box-shadow: none;
    box-shadow: none;
}


/* Drag & Drop */

.upload-area {
    border: 2px dashed var(--cl-tx-green);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: var(--cl-tx-green);
    font-size: 18px;
    cursor: pointer;
}

.upload-area.drag-over {
    background-color: #F3FFF1;
    ;
}

.file-preview {
    margin-top: 20px;
    padding: 10px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.file-item .view-btn,
.file-item .remove-btn {
    font-size: 12px;
    padding: 5px 10px;
}

.file-item .view-btn {
    background-color: var(--bg-green-light);
    color: var(--cl-tx-darkgreen);
}

.file-item .remove-btn {
    /* background-color: #dc3545; */
    color: #fff;
}

.drag-text {
    margin-top: 10px;
    font-size: 16px;
    color: #000;
    font-weight: bold;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.browse-text {
    cursor: pointer;
    border: 1px solid var(--cl-tx-green);
    border-radius: 8px;
}