/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: none; /* Remove bottom border */
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}



.nav-tabs-bordered .nav-link {
    margin-bottom: 0;
    border: none;
    color: #2c384e;
    border-top: 2px solid #ebeef4; /* Add top border to tabs */
    border-bottom: 2px solid #ffc107;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #ffc107;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #ffc107;
    border-bottom: 2px solid #ffc107; /* Add top border to the active tab */
}

.image-preview {
    aspect-ratio: 15/9;
    border: 2px dashed #ccc;
    border-radius: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-position: center;
    background-size: cover;

    & small {
        background-color: rgba(255, 255, 255, .9);
        padding: 5px 10px;
        border-radius: .5rem;
        color: #999999;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.image-preview .btn {
    position: absolute; /* Mengatur posisi tombol absolut */
    top: 5px; /* Menjadikan posisi tombol sedikit dari atas */
    right: 2px; /* Menjadikan posisi tombol sedikit dari kanan */
}



/* Style untuk masing-masing elemen di dalam small */
.image-preview small > * {
    margin-bottom: 5px; /* Memberi jarak antara ikon dan teks */
}
