/* PITA CARD` */

/* source :
https://medium.com/@so_deep.dev/ribbon-style-badge-for-cards-with-css-5c9da53d908e */

:root {
    --red-pustaka: #f0242c;
    --cyan-pustaka: #3fcdc7;
    --green-pustaka: #41cf2e;
    --blue-pustaka: #2282ff;
}

.img-zoom:hover {
    transform: scale(
        1.1
    ); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.img-zoom {
    /* padding: 10px; */
    /* background-color: green; */
    transition: 0.5s; /* Animation */
    /* width: 200px;
  height: 200px; */
    margin: 0 auto;
    /* overflow: hidden !important; */
    /* position: relative !important; */
}

.gallery {
    border: #ffffff solid 1px;
    padding: 0px;
    padding-left: 0;
    padding-right: 0;
}

.shadow-panel {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 15px;
    overflow-y: auto;
    border-radius: 20px;
}

.contact-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 10px;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.table-striped,
.table-bordered,
.table-responsive {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
}

/* PITA PEMBATAS HALAMAN */
.page-divider {
    position: relative;
    height: 33px;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
}

.warna-red {
    background: var(--red-pustaka);
}

.warna-cyan {
    background: var(--cyan-pustaka);
}

.warna-green {
    background: var(--green-pustaka);
}

.warna-blue {
    background: var(--blue-pustaka);
}

/* DIV SEBAGAI ANCHOR */
.anchor-div {
    cursor: pointer;
}

/* DASHBOARD.START */

.dashboard {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    font-family: var(--bs-font-sans-serif);
    min-height: 500px;
}

.dashboard a {
    color: black;
}

.dashboard .nav-link a {
    color: white;
}

.dashboard .nav-link {
    padding-top: 5px;
    color: white;
}

.dashboard .nav-link .feather {
    padding-bottom: 5px;
}

.large-icon {
    font-size: 48px;
    color: #68a4c4;
}

.judul-buku {
    font-size: 28px;
    font-weight: bold;
}

.pembaca_artikel {
    font-family: "Open Sans", sans-serif;
    line-height: 24px;
    font-size: 15px !important;
    color: #444;
    text-align: justify;
}

/* UNTUK RECENT POST SIDEBAR */
.recent-post-div {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.recent-post-img {
    margin-left: 20px;
    margin-right: 6px;
    width: 80px;
    transition: transform 0.2s;
}

.recent-post-img:hover {
    transform: scale(1.1);
}

.recent-post-div .p1 {
    font-weight: bold;
}

.recent-post-div .p2 {
    font-weight: normal;
}

.recent-text {
    display: flex;
    flex-direction: column;
}

/* untuk file box  */
.file-box {
    width: 100%;
    height: 40px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding-left: 5px;
    padding: 10px;
    margin-bottom: 5px;
}

.file-name {
    font-size: 13px;
    color: #333;
}

.page-header-style {
    color: #ffd700;
    border-radius: 20px;
    background: linear-gradient(#000, #8d096a);
}

/* DASHBOARD.END */

.page-title {
    background-image: linear-gradient(to right, #310336, #8d096a);
    margin: 0px;
    padding: 11px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

body {
    background-color: #f4f6f8;
}

.page-title h5 {
    color: gold;
    padding-left: 1rem !important;
}

.shadow-panel {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 15px;
    overflow-y: auto;
    border-radius: 20px;
}

.contact-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 10px;
}

.list-group-item:hover {
    background-color: #e9f5ff;
    /* Warna latar saat hover */
    cursor: pointer;
}

.list-group-item:hover span {
    color: #007bff;
    /* Warna teks saat hover */
    /* font-weight: 600; */
}

.list-group-item.active {
    background-image: linear-gradient(to right, #310336, #8d096a);
    color: gold;
}

button[data-tooltip] {
    position: relative;
}

button[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%; /* di atas tombol */
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

button[data-tooltip]:hover::after {
    opacity: 1;
}
