@import url("https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i");

body {
    font-family: "Nunito", sans-serif;
}

.b {
    font-weight: bold;
}

.i {
    font-style: italic;
}
.u {
    text-decoration: underline;
}

p {
    font-size: 0.8rem;
}

/* Preloader */
.preloader {
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 99999;
    background: #fff;
}

.lds-ripple {
    display: inline-block;
    width: 64px;
    height: 64px;
    position: absolute;
    top: calc(50% - 3.5px);
    left: calc(50% - 3.5px);
}

.lds-ripple .lds-pos {
    position: absolute;
    border: 2px solid #005c8f;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.1, 0.5, 1) infinite;
}

.lds-ripple .lds-pos:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: -1px;
        left: -1px;
        width: 58px;
        height: 58px;
        opacity: 0;
    }
}
/* End Preloader Styling */

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px; /* Lebar scrollbar */
}

/* Track */
::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Warna latar belakang track */
}

/* Thumb */
::-webkit-scrollbar-thumb {
    /* background-color: #005c8f; */
    background-color: #a2abaf; /* Warna thumb (scrollbar aktif) */
    border-radius: 5px; /* Membuat sudut bulat pada thumb */
}

/* Saat dihover */
::-webkit-scrollbar-thumb:hover {
    background-color: #005c8f; /* Warna thumb saat dihover */
}
/* END SCROLLBAR */

/* LOGIN */
/* Importing fonts from Google */
/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap"); */

/* Reseting */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito", sans-serif;
}

body {
    background: #ecf0f3;
}

.sidebar {
    background-color: #005c8f;
}

.wrapper {
    max-width: 350px;
    min-height: 500px;
    margin: 80px auto;
    padding: 40px 30px 30px 30px;
    background-color: #ecf0f3;
    border-radius: 15px;
    box-shadow: 13px 13px 20px #cbced1, -13px -13px 20px #fff;
}

.logo {
    width: 80px;
    margin: auto;
}

.logo img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0px 0px 3px #5f5f5f, 0px 0px 0px 5px #ecf0f3,
        8px 8px 15px #a7aaa7, -8px -8px 15px #fff;
}

.wrapper .name {
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 1.3px;
    padding-left: 10px;
    color: #555;
}

.wrapper .form-field input {
    width: 100%;
    display: block;
    border: none;
    outline: none;
    background: none;
    font-size: 1.2rem;
    color: #666;
    padding: 10px 15px 10px 10px;
    /* border: 1px solid red; */
}

.wrapper .form-field {
    padding-left: 10px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: inset 8px 8px 8px #cbced1, inset -8px -8px 8px #fff;
}

.wrapper .form-field .fas {
    color: #555;
}

.wrapper .btn {
    box-shadow: none;
    width: 100%;
    height: 40px;
    background-color: #03a9f4;
    color: #fff;
    border-radius: 25px;
    box-shadow: 3px 3px 3px #b1b1b1, -3px -3px 3px #fff;
    letter-spacing: 1.3px;
}

.wrapper .btn:hover {
    background-color: #039be5;
}

.wrapper a {
    text-decoration: none;
    font-size: 0.8rem;
    color: #03a9f4;
}

.wrapper a:hover {
    color: #039be5;
}

@media (max-width: 380px) {
    .wrapper {
        margin: 30px 20px;
        padding: 40px 15px 15px 15px;
    }
}

/* Theme */
body.dark-mode {
    background-color: #121212;
    color: #f8f9fa;
}

.dark-mode .navbar {
    background-color: #1b1b1b;
    color: #f8f9fa;
}

.dark-mode .card {
    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #1b1b1b;
}

.dark-mode .content {
    background-color: #343a40;
    color: #f8f9fa;
}

.dark-mode .card-body {
    background-color: #343a40;
    color: #f8f9fa;
}

.dark-mode .area {
    background-color: #343a40;
    color: #f8f9fa;
}

.dark-mode .card-header {
    background-color: #343a40;
    color: #f8f9fa;
}

.dark-mode .breadcrumb .h3 {
    background-color: #1b1b1b;
    color: #f8f9fa;
}

.dark-mode .sticky-footer {
    background-color: #1b1b1b;
    color: #f8f9fa;
}

.dark-mode .dropdown-menu {
    background-color: #343a40;
    color: #f8f9fa;
}

.dark-mode .modal-content {
    background-color: #343a40;
    color: #f8f9fa;
}

.dark-mode textarea {
    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #1b1b1b;
}

.dark-mode input {
    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #1b1b1b;
}

.dark-mode select {
    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #1b1b1b;
}

.dark-mode .form-control {
    background-color: #343a40;
    color: #f8f9fa;
}

.dark-mode table.dataTable {
    clear: both;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    max-width: none !important;
    border-collapse: separate !important;
    border-spacing: 0;

    border: 1px solid #1b1b1b;
}
.dark-mode table.dataTable td {
    clear: both;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    max-width: none !important;
    border-collapse: separate !important;
    border-spacing: 0;

    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #1b1b1b;
}
.dark-mode table.dataTable th {
    clear: both;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    max-width: none !important;
    border-collapse: separate !important;
    border-spacing: 0;

    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #1b1b1b;
}

/* TABLE table-surat */
.table-surat {
    font-size: 14px;
    border: 1px solid #000000;
}

.table-surat th,
.table-surat td {
    border: 1px solid #000000;
    padding: 5px;
}

.table-surat thead th,
.table-surat thead td {
    border-bottom-width: 2px;
}

.table-input {
    border: 0;
}

.table-input th,
.table-input td {
    border: 0;
    padding: 5px;
}

.table-input thead th,
.table-input thead td {
    border-bottom-width: 2px;
}
/* END TABLE */

/* PASSWORD TOGGLE */
/* Style untuk ikon mata */
#password-toggle {
    cursor: pointer;
}

/* Atur margin ikon mata agar tidak terlalu dekat dengan input */
.input-group-text {
    padding: 0.375rem 0.75rem;
}

/* Atur warna teks ikon mata */
.fa-eye {
    color: #005c8f; /* Warna biru (dapat disesuaikan) */
}
/* END PASSWORD TOGGLE */

hr.divider {
    width: 100%;
    color: #000000;
}

/* WARNA CYAN-BLUE*/
.cyan-blue {
    background-color: #005c8f;
    color: #f8f9fa;
}
.cyan-blue:hover {
    background-color: #0a689b;
    color: #ffffff;
}
.border-bottom-cyan {
    border-bottom: 0.25rem solid #005c8f !important;
}

.status-btn {
    color: black;
}

.status-btn:hover {
    text-decoration: none;
    color: #343a40;
}

.dark-mode .status-btn {
    color: #f8f9fa;
}

.bg-login {
    background: url("/img/bg.png");
    background-position: center;
    background-size: cover;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

.bg-form {
    background: url("/img/login.png");
    background-position: center;
    background-size: cover;
}

.input-group .form-control-user {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append .input-group-text {
    border-radius: 10rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0 1rem;
}
