
/* general */

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

h1 {
    font-size: 3rem !important;
    font-weight: 500 !important;
}

h2 {
    font-size: 1.5rem !important;
    font-weight: 500 !important;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.4rem !important;
    }
    
    h2 {
        font-size: 1.2rem !important;
    }
  }

li::before {
    content: "•";
    margin-right: 8px;
}

thead{
    height: 40px !important;
}

table{
    border-collapse: collapse;
    border: 2px solid var(--colorBG4) !important;
}

table td, table th {
    padding: 5px 10px !important;
}

table th{
    border : 2px solid var(--colorBG4) !important;
    border-left-width: 0px !important;
    border-right-width: 0px !important;
}
/* end: general */


/* TABLE */
table {
    width: 100%;
}

table thead {
    white-space: nowrap;
    /* Prevent wrapping inside the container */
    height: 60px;
}

table * {
    border: none !important;
}

table tr:nth-child(even) {
    background-color: var(--colorBG1);
}

.tableContainer {
    min-width: 100%;
    overflow-x: auto;
    box-shadow: var(--boxShadow1);
    border-radius: 10px;
}

:root {
    .tableContainer::-webkit-scrollbar {
        width: 12px;
    }

    .tableContainer::-webkit-scrollbar-track {
        background: rgb(255, 255, 255);
        border-radius: 0px 0px 10px 10px;
    }

    .tableContainer::-webkit-scrollbar-thumb {
        background-color: rgb(220, 220, 220);
        border-radius: 0px 0px 10px 10px;
    }
}

:root[theme="dark"] {
    .tableContainer::-webkit-scrollbar {
        width: 12px;
    }

    .tableContainer::-webkit-scrollbar-track {
        background: rgb(70, 70, 70);
        border-radius: 0px 0px 10px 10px;
    }

    .tableContainer::-webkit-scrollbar-thumb {
        background-color: rgb(89, 89, 89);
        border-radius: 0px 0px 10px 10px;
    }
}
/* END: TABLE */

.difuminated {
    mask-image: linear-gradient(to bottom, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(0, 0, 0, 0.8) 40%, 
        rgba(0, 0, 0, 0.5) 70%, 
        rgba(0, 0, 0, 0) 100%);
}

.product-card {
    border: 2px solid var(--colorBG1);
    padding: 1rem;
}


/* OTHERS */
.dialog[open] {
    width: 400px;
    background-color: var(--colorBG1);
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: var(--boxShadow1);
    color: var(--color3);
}

/* Remove border when an element is focused */
* {
    border: none;
    outline: none;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}