/* albi lupa */
.fc-event-title {
    color: white;
}
/* ---------------------------------- */

.invalid-feedback-custom {
    color: red;
    font-size: 0.857rem;
}

.img-mobile {
    display: none;
}

/* Heading */
.auth-wrapper .bg-login-mobile h2 {
    display: none;
}

@media (max-width: 512px) {
    .img-mobile {
        display: block;
        margin: 0 auto;
        max-width: 60%;
    }

    .auth-wrapper .auth-bg {
        background-color: #f2f2fa;
        margin-top: -30px;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
        padding-bottom: 20px;
    }

    .auth-wrapper .bg-login-mobile h2 {
        display: block;
        font-family: "hind", sans-serif;
        font-size: 20px;
        color: white;
        padding: 50px;
        text-align: center;
    }

    .bg-login-mobile {
        background: radial-gradient(
            297.18% 103.61% at 70.93% -10.25%,
            #be61ec 0%,
            #4848cc 100%
        );
        padding-bottom: 40px;
        margin: 0 auto;
    }

    .mark-title {
        display: none;
    }
    .mark-title-sm {
        display: none;
    }
}

/* CALENDAR */
.fc-scrollgrid,
.fc-scrollgrid-liquid {
    border-radius: 10px;
    overflow: hidden;
}
.fc-scrollgrid,
.fc-scrollgrid-liquid {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
}
.fc-event-time {
    display: none;
}
.fc-col-header {
    background-color: #4848cc;
    color: white;
    opacity: 80%;
}
.fc-col-header-cell {
    padding: 100px;
}

.fc-today-button {
    background-color: #1d9251;
}

/* navbar menu */

.menu-header {
    font-weight: 600;
    padding: 10px 25px;
    font-size: 0.8em;
    letter-spacing: 2px;
    transition: opacity 0.3s;
    opacity: 0.5;
}

/* Style untuk ID CARD di BEranda */

.id-card {
    margin: 50px auto;
    background-color: #fff; /* Warna latar ID Card */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Bayangan ID Card */
    border: 2px solid #000; /* Border dengan ketebalan 2px dan warna hitam */
    width: 55%; /* Lebar ID Card */
    height: 25%; /* Tinggi ID Card */
    padding: 35px; /* Padding untuk menjaga jarak konten dari batas */
    box-sizing: border-box; /* Untuk memastikan border termasuk dalam ukuran yang ditentukan */
}

.id-card-header {
    display: flex;
    align-items: center;
    width: 85.6mm; /* Lebar KTP */
    height: 54mm; /* Tinggi KTP */
}

.id-card-photo {
    flex: 0 0 30%; /* Lebar foto */
}

.id-card-photo img {
    width: 100%;
    border-radius: 20%;
    padding: 20px;
}

.id-card-info {
    flex: 0 0 70%; /* Lebar informasi */
    padding-left: 20px;
}

.id-card-info h2 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333; /* Warna judul */
}

.id-card-info p {
    margin: 5px 0;
    color: #666; /* Warna teks */
}

#previewBtn {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px;
    background-color: #4caf50; /* Warna tombol download */
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#previewBtn:hover {
    background-color: #45a049; /* Warna hover tombol download */
}

/* // STYLE SETTING BANK ACCOUNT ( CARD HOVER ) \\ */

.card-bankaccount {
    position: relative;
    transition: opacity 0.3s ease-in-out;
}

.card-bankaccount:hover {
    background-color: #ffd7b1;
    /* border: 1px;
border-style: solid; */
    border-radius: 6px;
}

.hover-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.card-bankaccount:hover .hover-buttons {
    opacity: 1; /* Munculkan tombol saat card dihover */
}

.hover-buttons .btn {
    margin: 5px;
    opacity: 1; /* Tetapkan opacity tombol ke nilai 1 agar tetap solid */
    outline: 2px solid #fff; /* Menghilangkan outline secara default */
}

/* halaman mapping TP */
.btn-mapping {
    color: #741a36;
    background-color: #e68eaa;
    font-size: 11px;
    border-radius: 20px;
}

.btn-mapping-add {
    color: #25256e;
    background-color: #9898e2;
    border-radius: 20px;
    font-size: 11px;
    width: max-content;
}

.btn-mapping-subject {
    color: #25256e;
    background-color: #9898e2;
    border-radius: 20px;
    font-size: 11px;
    width: max-content;
}

.btn-mapping-submit {
    color: #ffffff;
    background-color: #4848cc;
    border-radius: 20px;
    font-size: 11px;
    width: max-content;
}

.btn-mapping-main {
    border-radius: 20px;
    background-color: #d6c9ec;
    font-size: 11px;
    color: black;
}

.table-hover {
    font-size: 12px;
    font-family: "Hind", sans-serif;
}

/* Mengatur gaya dropdown */

/* Mengatur gaya label dropdown */
.dropdown-subject {
    display: flex;
    width: 30rem;
    margin-bottom: 15px;
    /* Jarak antara label dan dropdown */
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 8px;
}

/* Mengatur gaya dropdown select */
select {
    width: 100%;
    padding: 5px;
    /* Tambahkan padding */
}

.btn-submit-mapping {
    display: flex;
    justify-content: center;
    border-radius: 27px;
    background: #4848cc;
    color: white;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 35px;
    padding-right: 35px;
    border-style: none;
    margin: 0 auto;
}

/* CSS Sweet Alert */
.btn-sweet {
    background-color: #2ab726;
    color: white;
    border-style: none;
    padding: 10px 15px;
    padding-right: 50px;
    padding-left: 50px;
    cursor: pointer;
    border-radius: 15px;
    font-size: 16px;
}

.swal-footer {
    text-align: center;
    padding-top: 13px;
    margin-top: 13px;
    padding: 13px 16px;
    border-radius: inherit;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.swal-modal {
    border-radius: 18px;
}

.th-mapping {
    text-align: center;
    background: #d5cce5 !important;
    padding-top: 20px;
    padding-bottom: 20px;
    color: black;
    text-transform: capitalize;
    font-family: Montserrat;
    font-weight: 500;
}
/* css untuk switcher toggle */
.button-box {
    width: 200px;
    font-size: 12px;
    margin: 0 auto;
    position: relative;
    border-style: solid;
    border-radius: 30px;
    background: #b9b9b9;
    padding-right: 25px;
    border-width: 0px;
    height: 40px;
    display: flex;
    overflow: hidden; /* Mengatur overflow agar tombol switch tetap terlihat saat bertransisi */
}

.switch {
    position: relative;
    width: 200px;
    height: 40px;
    border-radius: 25px;
}

.switch input {
    appearance: none;
    width: 200px;
    height: 50px;
    border-radius: 25px;
    background: #1e1e1e;
    outline: none;
}

.switch input::before,
.switch input::after {
    z-index: 2;
    position: absolute;
    top: 56%;
    transform: translateY(-50%);
    font-weight: bolder;
    font-size: 9px;
}

.switch input::before {
    content: "Nilai";
    left: 50px;
    top: 23px;
}

.switch input::after {
    content: "Edit";
    right: 50px;
    top: 22px;
}

.switch input:checked {
    background: #c1c1c1;
}

.switch label {
    z-index: 1;
    position: absolute;
    top: 10px;
    bottom: 4px;
    border-radius: 20px;
}

.switch input {
    transition: 0.25s;
}

.switch input:checked::after,
.switch input:checked::before {
    color: #fff;
    transition: color 0.5s;
    font-size: 9px;
    font-weight: bold;
}

.switch input:checked + label {
    left: 10px;
    right: 100px;
    background: white;
    transition: left 0.5s, right 0.4s 0.2s;
}

.switch input:not(:checked) {
    background: #9899e2;
    transition: background 0.4s;
}

.switch input:not(:checked)::before {
    color: #ffff;
    font-size: 9px;
    transition: color 0.5s;
}

.switch input:not(:checked)::after {
    color: #ffff;
    transition: color 0.5s 0.2s;
}

.switch input:not(:checked) + label {
    left: 100px;
    right: 10px;
    background: #ffff;
    transition: left 0.4s 0.2s, right 0.5s, background 0.35s;
}

.hidden {
    display: none;
}

/* tombol lihat nilai dan cetak raport */

.lihat-nilai {
    background: #4848cc;
    color: white;
    padding-right: 45px;
    padding-left: 45px;
    border-radius: 35px;
}

.cetak-raport {
    background: #4848cc;
    color: white;
    padding-right: 45px;
    padding-left: 45px;
    border-radius: 35px;
}

.table-hover thead th,
.table-hover tbody td {
    text-align: center;
}

.card {
    width: 100%; /* Kartu mengikuti lebar tabel */
}

.th-mapping.name-column {
    white-space: nowrap;
}

.btn-mapping-main,
.btn-mapping-submit {
    margin-bottom: 10px; /* Tambahkan margin bottom */
    max-width: max-content; /* Atur lebar maksimum konten */
}

/* style cetak raport */
.student-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5%;
}

.student-info-table td {
    padding: 3px;
    border: 0px solid #ddd;
    vertical-align: top;
    /* Mengatur vertikal alignment ke atas */
}

.student-info-table td:first-child {
    width: 15%;
    /* Lebar kolom untuk label */
}

.student-info-table td:nth-child(2) {
    width: 1%;
    /* Lebar kolom untuk konten */
}

.student-info-table td:nth-child(3) {
    width: 45%;
    /* Lebar kolom untuk fase, kelas, dan guru */
}

.student-info-table td:nth-child(4) {
    width: 15%;
}
.student-info-table td:nth-child(5) {
    width: 1%;
}

.student-info-table td div {
    text-align: center;
}

.report-table {
    width: 100%;
    font-size: 17px;
    border-collapse: collapse;
    /* Jarak antara tabel */
}

.report-table th {
    padding: 3px;
    border: 1px solid #000;
    vertical-align: top;
    text-align: center;
    /* Mengatur vertikal alignment ke atas */
}

.report-table td {
    padding: 5px;
    border: 1px solid #000;
    vertical-align: top;
    /* Mengatur vertikal alignment ke atas */
}

.report-table td:first-child {
    width: 5%;
    /* Lebar kolom untuk nomor */
    text-align: center;
}

.report-table td:nth-child(2) {
    width: 20.8%;
    /* Lebar kolom untuk mata pelajaran */
    text-align: left;
}

.report-table td:nth-child(3) {
    width: 8%;
    /* Lebar kolom untuk nilai akhir */
    text-align: center;
}

.report-table td:nth-child(4) {
    width: 48%;
    text-align: left;
    /* Lebar kolom untuk capaian kompetensi */
}

.report-table td div {
    text-align: left;
    /* Capaian kompetensi disusun rata kiri */
}

.ttd-walkel {
    text-align: left;
    /* Mengubah penataan menjadi left */
    margin-top: 50px;
    /* Menambahkan margin atas */
}

.ttd-walkel p {
    margin: 5px 0;

    /* Menambahkan jarak antara paragraf */
}

.hasil-belajar {
    text-align: center;
    padding-bottom: 20px;
    color: black;
    /* padding-top: 20px; */
}

/* tabel ekskul */
.ekskul-table {
    width: 70%;
    border-collapse: collapse;
    font-size: 15px;
    margin-top: 40px;
    /* Jarak antara tabel */
}

.ekskul-table th {
    padding: 3px;
    border: 1px solid #000;
    vertical-align: top;
    text-align: center;
    /* Mengatur vertikal alignment ke atas */
}

.ekskul-table td {
    padding: 5px;
    border: 1px solid #000;
    vertical-align: top;
    /* Mengatur vertikal alignment ke atas */
}

.ekskul-table td:first-child {
    width: 5.5%;
    /* Lebar kolom untuk nomor */
    text-align: center;
}

.ekskul-table td:nth-child(2) {
    width: 30%;
    /* Lebar kolom untuk ekstarkulikuler */
    text-align: left;
}

.ekskul-table td:nth-child(3) {
    width: 60%;
    /* Lebar kolom untuk keterangan */
    text-align: left;
}

.ekskul-table td div {
    text-align: left;
    /* Capaian kompetensi disusun rata kiri */
}

/* tabel ketidakhadiran*/
.ketidakhadiran-table {
    width: 40%;
    font-size: 17px;
    border-collapse: collapse;
    margin-top: 20px;
    /* Jarak antara tabel */
}

.ketidakhadiran-table th {
    padding: 3px;
    border: 1px solid #000;
    vertical-align: top;
    text-align: center;
    /* Mengatur vertikal alignment ke atas */
}

.ketidakhadiran-table td {
    padding: 5px;
    border: 1px solid #000;
    vertical-align: top;
    /* Mengatur vertikal alignment ke atas */
}

.ketidakhadiran-table td:first-child {
    width: 10%;
    /* Lebar kolom untuk nomor */
    text-align: left;
}

.ketidakhadiran-table td:nth-child(2) {
    width: 15%;
    /* Lebar kolom untuk ekstarkulikuler */
    text-align: left;
}

/* tabel ttd */
.ttd-table {
    width: 100%;
    font-size: 16px;
    border-collapse: collapse;
    margin-top: 40px;
    /* Jarak antara tabel */
}

.ttd-table th {
    padding: 5px;
    border: 1px solid #000;
    vertical-align: top;
    text-align: center;

    /* Mengatur vertikal alignment ke atas */
}

.ttd-table td {
    padding: 10px;
    border: 0px solid #000;
    vertical-align: top;
    text-align: center;
    font-weight: 600;
    /* Mengatur vertikal alignment ke atas */
}

.ttd-table td div {
    padding: 1px;
    text-align: center;
    /* Capaian kompetensi disusun rata kiri */
}

/* CSS untuk mengatur tata letak tombol print */
.card-print {
    display: flex;
    justify-content: flex-end;
    background-color: white;
    padding-bottom: 20px;
    border-radius: 10px;
    border: solid #d2d2d4;
}

.print-button {
    margin-right: 20px; /* Jarak antara tombol cetak dan konten lainnya */
}

.print-button button {
    padding: 10px 35px 10px 35px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    display: flex; /* Menggunakan flexbox untuk mengatur tata letak */
    align-items: center; /* Menyamakan ikon dan teks secara vertikal */
}

.print-button button svg {
    width: 20px; /* Menetapkan lebar ikon */
    height: 20px; /* Menetapkan tinggi ikon */
    margin-right: 5px; /* Jarak antara ikon dan teks */
    fill: white;
}

.print-button button:hover {
    background-color: #45a049;
}

/* catatan walas */
.catatan-walas {
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 15px;
    padding: 20px;
}

.judul-catatan-walas {
    font-size: 20px;
    margin-top: 3%;
    font-weight: 600;
}

.garis-raport {
    border-top: 1px solid black;
}

.cop-surat {
    text-align: center;
    margin-bottom: 2rem;
}

.cop-surat img {
    width: 80px; /* Ubah ukuran logo sesuai kebutuhan */
}

.cop-surat h3,
.cop-surat p {
    margin: 0;
    line-height: 1.4;
}

.cop-surat h3 {
    font-size: 22px;
    font-weight: 700;
}

.cop-surat p {
    font-size: 16px;
}

.garis-bawah {
    margin: 20px auto;
    border: 1px solid black;
    width: 95%;
}

.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
    width: 70%;
    height: auto;
}

/* MENU */
.menu-header {
    font-weight: 600;
    padding: 10px 25px;
    font-size: 0.8em;
    letter-spacing: 2px;
    transition: opacity 0.3s;
    opacity: 0.5;
}

/* style buat ngeprint di halaman cetak raport */
@media print {
    /* Set ukuran kertas menjadi A4 */
    @page {
        size: 21cm 30cm;
    }

    /* Atur margin menjadi nol agar konten mencetak hingga ke tepi kertas */
    body {
        margin: 0;
        font-family: Arial, Helvetica, sans-serif !important;
        color: black;
    }

    /* Menambahkan footer kustom */
    .custom-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: left;
        font-size: 12px;
        color: #000;
        padding: 10px;
        background-color: #fff;
        box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .judul-catatan-walas {
        page-break-inside: avoid;
    }

    .ketidakhadiran-table {
        page-break-inside: avoid;
    }

    .ttd-table {
        page-break-inside: avoid;
    }
}

/* profile image for show user murid in menu admin */
.profile-img {
    max-width: 90%;
    max-height: 50%; /* Tinggi gambar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Menambahkan bayangan */
    border-radius: 5px; /* Menambahkan sudut yang sedikit melengkung */
    /* object-fit: cover; Mengatur ukuran gambar agar sesuai dengan dimensi */
}

.profile-img-id-card {
    max-width: 90%;
    max-height: 50%; /* Tinggi gambar */
    border-radius: 5px; /* Menambahkan sudut yang sedikit melengkung */
    /* object-fit: cover; Mengatur ukuran gambar agar sesuai dengan dimensi */
}

/* pic and title jadwal */
.event-item {
    margin-bottom: 10px; /* Menambahkan margin bawah untuk memberikan sedikit ruang di antara item acara */
}

.event-details {
    margin: 0; /* Menghapus margin default dari paragraf */
}

/* checkbox input nilai */
.checkbox-label {
    display: block;
    margin-bottom: 5px;
}

.checkbox-label .d-flex {
    display: flex;
    align-items: center;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-mapping {
    vertical-align: top;
}

/* kalendar */
.card-grid-event {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolom dengan lebar yang sama */
    gap: 20px; /* Jarak antar card */
    padding: 20px; /* Padding untuk kontainer grid */
}

.card-header-da {
    background-color: #7367f059; /* Warna latar belakang header */
    padding: 10px; /* Padding dalam header */
    border-bottom: 1px solid #ccc; /* Garis bawah header */
    border-radius: 10px 10px 0px 0px;
}

.card-body-da {
    padding: 10px; /* Padding dalam body */
    background-color: #f2f2f2;
    min-height: 155px;
    border-radius: 0px 0px 10px 10px;
}

.event-details {
    margin: 5px 0; /* Margin untuk detail event */
    font-size: 16px; /* Ukuran font detail event */
    padding-bottom: 10px;
    color: black;
    font-weight: 900;
}

.event-pj {
    margin: 5px 0; /* Margin untuk detail event */
    font-size: 14px; /* Ukuran font detail event */
}

.event-description {
    font-style: italic; /* Gaya font deskripsi */
    color: #666; /* Warna teks deskripsi */
}

.text-create-ekskul {
    color: white;
    padding: 30px;
    font-weight: bold;
    font-size: 20px;
}

.head-create-ekskul {
    background: var(
        --Gradient,
        radial-gradient(
            387.96% 225.83% at 74.07% -68.96%,
            #be61ec 0%,
            #4848cc 100%
        )
    );
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 10px 10px 0px 0px;
}

/* Halaman Index CBT */
.btn-buat-ujian {
    color: white;
    background-color: #6868d0;
    font-size: 11px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* halaman bobot Eraport */
.input-group-bobot {
    display: flex;
    align-items: center;
}
.input-group-bobot input {
    flex: 1;
    margin-right: 5px;
}
.input-group-bobot .percent-sign {
    white-space: nowrap;
}

/* video Tutorial di dashboard */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.video-item {
    padding: 20px;
    text-align: center;
}

.video-item h3 {
    margin-bottom: 15px;
}

.video-container iframe {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .video-item {
        padding: 10px;
    }

    .video-container iframe {
        height: 250px; /* Smaller height for mobile devices */
    }

    .dropdown-subject {
        display: flex;
        width: 20rem;
        margin-bottom: 15px;
        /* Jarak antara label dan dropdown */
        padding-top: 20px;
        padding-bottom: 20px;
        border-radius: 8px;
    }

    input.form-nilai-uts {
        width: 100px !important;
    }

    @media (max-width: 480px) {
        .video-container iframe {
            height: 200px; /* Even smaller height for smaller mobile screens */
            margin-left: -300px;
        }
        .video-item h3 {
            margin-bottom: 15px;
            margin-left: -300px;
        }
    }
}

/* buat dipake select2 jika ada error pada field <= custom */
.select2-container.is-invalid .select2-selection {
    border-color: red !important;
}