@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{
    --white: #fff;
    --black: #000; 
    --lightBulue: #17a;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.blog {
    position: relative;
    width: 100%;
    padding-top: 1%;
    padding-bottom: 1%;
}

.blog .blog-item {
    margin-bottom: 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog .blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

.blog .blog-img {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 0px 0;
    background-color: #f8f8f8;
}
.blog .blog-img img {
    width: 150px;
    height: 159px;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.blog .blog-img img:hover {
    transform: scale(1.1);
}

.blog .meta-date {
    position: absolute;
    width: 70px;
    height: 70px;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    background: #ffc107;
    color: #ffffff;
    opacity: 0;
    transition: all 0.5s ease;
}
.blog .meta-date span {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
}
.blog .meta-date strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.blog .blog-item:hover .meta-date {
    bottom: 50%;
    left: calc(50% - 35px);
    opacity: 1;
}

.blog .blog-text {
    padding: 20px 15px;
    text-align: center;
    background-color: #ffffff;
}
.blog .blog-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #001eff;
    margin-bottom: 8px;
}
.blog .blog-text h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.blog .blog-text h3 a:hover {
    color: #0b7200;
}
.blog .blog-text p {
    font-size: 16px;
    color: #555;
    margin: 0;
}
.blog .blog-meta {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}
.blog .blog-meta p {
    margin: 0;
    font-size: 14px;
    line-height: 14px;
    padding: 0 10px;
    color: #888;
    border-right: 1px solid rgba(0, 0, 0, .15);
}
.blog .blog-meta p:first-child {
    padding-left: 0;
}
.blog .blog-meta p:last-child {
    padding-right: 0;
    border: none;
}
.blog .blog-meta i {
    color: #999999;
    margin-right: 5px;
}
.blog .blog-meta a:hover {
    color: #ffc107;
}

.table thead th {
    white-space: nowrap;
}

.table tbody td {
    white-space: nowrap;
}
/* Mengatur jarak kanan-kiri tabel agar lebih rapi */
.table-wrapper {
    margin: 0 auto;
    max-width: 100%; /* Mengurangi lebar tabel */
    position: relative;
    overflow-x: auto;
}
/* Menyesuaikan layout tabel dan form saat sidebar aktif */
.sidebar.active .table-wrapper,
.sidebar.active .add-form-container {
    max-width: 100%;
}
h1.text-center,
.table-wrapper {
    transition: margin-left 0.3s ease;
}