@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/** Hide number input arrow **/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

:root {
    --poppins: "Poppins", sans-serif;
    --mainColor: #e70202;
    --greyBgColor: #ecedf0;
    --greyColor: #979797;
}

* {
    font-family: var(--poppins);
    box-sizing: border-box;
    margin: 0;
}

body {
    background-color: #f9f9f9;
}

label {
    font-weight: 600;
}

.text-color-red {
    color: var(--mainColor);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--greyColor);
    border-radius: 10px;
    transition: 0.5s;
}

::-webkit-scrollbar-thumb:hover {
    background: #979797;
    transition: 0.5s;
}

section {
    overflow-x: hidden;
}

.table-wrapper {
    padding-top: 10px;
}

.back-button {
    font-size: 1.2rem;
    outline: none;
    text-decoration: none;
    font-style: none;
    color: var(--greyColor);
}

/* compontent */
.h-100vh {
    height: 100vh;
}

.style-profile {
    width: 40px;
    width: 40px;
    background-color: var(--greyColor);
}

.card-custom {
    border-radius: 50px;
    padding: 54px;
    background-color: white;
    box-shadow: 3px 5px 30px 10px rgba(0, 0, 0, 0.05);
}

.card-custom2 {
    border-radius: 30px;
    background-color: white;
    transition: .2s;
    box-shadow: 3px 5px 30px 10px rgba(0, 0, 0, 0.05);
}

.card-custom2:hover {
    transition: .3s;
    transform: translateY(-3px);
}

.card-custom2 img {
    max-width: 160px;
}

.card-custom2 a {
    text-decoration: none !important;
    outline: none !important;
    font-style: none !important;
}

.dropdown-item {
    font-size: 12px !important;
}

.card-custom2 .card-custom2-img {
    height: 210px;
}

.card-custom2 .card-custom2-button {
    width: 100%;
    color: white;
    background-color: var(--mainColor);
    border: none;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.card-custom .button-custom-red {
    width: 100%;
    outline: none;
    text-decoration: none;
    border-radius: 50px;
    padding: 10px 20px;
    background-color: var(--mainColor);
    color: white;
    font-weight: 600;
    border: none;
}

.card-custom .button-custom-red:hover {
    color: whitesmoke;
}

.button-custom-red2 {
    outline: none;
    text-decoration: none;
    /* border-radius: 50px; */
    border-radius: 3px;
    padding: 5px 20px;
    background-color: var(--mainColor);
    color: white;
    font-weight: 600;
    border: none;
    transition: .3s;
}

.button-custom-red2:hover {
    color: whitesmoke;
    transition: .3s;
}

.button-custom-red3 {
    outline: none;
    text-decoration: none;
    border-radius: 3px;
    padding: 5px 20px;
    background-color: #c2c2c2a3;
    color: white;
    font-weight: 600;
    border: none;
    transition: .3s;
}

.button-custom-red3.active {
    background-color: var(--mainColor);
}

.button-custom-red3:hover {
    color: whitesmoke;
    transition: .3s;
    background-color: #e70202a3;
}

.button-custom-green {
    outline: none;
    text-decoration: none;
    border-radius: 50px;
    padding: 5px 20px;
    background-color: #157347;
    color: white;
    font-weight: 600;
    border: none;
    transition: .3s;
}

.button-custom-green:hover {
    color: whitesmoke;
    background-color: #13633e;
    transition: .3s;
}

input {
    color: black !important;
    text-align: center;
    /* border-radius: 50px !important; */
    padding: 20px 10px;
}

/* Navbar */
.logo_navbar {
    height: 34px;
}

.navbar p {
    margin-bottom: 0 !important;
}

.navbar i {
    font-size: 27px;
    padding: 0;
    margin: 0;
}

header {
    box-shadow: 0px 4px 10px 5px rgba(0, 0, 0, 0.05);
}

@media only screen and (max-width: 600px) {

    /* compontent */
    .h-100vh {
        height: auto;
    }
}

@media only screen and (max-width: 768px) {}

/* Modal */
.modal-header {
    background-color: var(--mainColor) !important;
    color: white;
}

/*  table */
table {
    /* text-align: center; */
    vertical-align: middle;
}

table thead th {
    text-align: center;
}

.thead {
    background-color: var(--mainColor) !important;
    color: white;
}

.action {
    background-color: #69a689 !important;
}

.action2 {
    background-color: #15734763 !important;
}

.action3 {
    background-color: #0d6efd63 !important;
}

.action4 {
    background-color: #ffc10763 !important;
}

.action5 {
    background-color: #FF5966 !important;
}

.action6 {
    background-color: #19c2ed !important;
}

.action7 {
    background-color: #d6e6fe !important;
}

.bg-lightred {
    background-color: rgb(255, 236, 236);
}

.hover-shadow:hover {
    box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.15) !important;
}

.transition {
    transition: all 0.3s ease-in-out;
}

.card {
    border-radius: 12px;
}

.workspace-card {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 14px;
    padding: 20px 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease-in-out;
    text-align: center;
    height: 100%;
    margin-left: 4px;
    /* untuk menggeser dikit ke kiri */
    margin-right: 4px;
}

.workspace-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.1);
    transform: translateY(-3px);
}

.workspace-card .img-box {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.workspace-card img {
    max-height: 50px;
    object-fit: contain;
    transition: transform 0.2s;
}

.workspace-card:hover img {
    transform: scale(1.05);
}

.text-center small {
    font-size: 14px;
    letter-spacing: 0.2px;
}

@media (max-width: 576px) {
    .workspace-card {
        padding: 16px 10px;
    }

    .workspace-card img {
        max-height: 40px;
    }
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.table th,
.table td {
    vertical-align: middle !important;
}

.table th {
    white-space: nowrap;
}

.card {
    background-color: #ffffff;
}

.table-hover tbody tr:hover {
    background-color: #f1f5f9;
}

.custom-checkbox {
    width: 22px;
    height: 22px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
}

.checkbox-cell {
    text-align: center;
}
