@font-face {
    font-family: Poppins;
    src: url(assets/fonts/Poppins-Regular.ttf) format(truetype);
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

input,
textarea,
button,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

html {
    overscroll-behavior: none;
}

body {
    background: #e3e3e3;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    overscroll-behavior: none;
}

input,
select,
textarea {
    font-size: 16px;
    appearance: none;
    outline: none;
    color: black;
}


@media (max-width: 768px) {
    body {
        background: #fff;
    }
}

.b-login {
    background: #e3e3e3;
}

button {
    cursor: pointer;
}

/* BAGIAN UTAMA DASHBOARD */

.main {
    flex: 1;
    width: 100%;
    max-width: 1000px;
    background: #fff;
    margin: 0 auto;
    padding: 20px;
    overflow-y: auto;
}

.width-200px {
    width: 150px;
}

.greeting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 3px solid #122;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(237, 237, 237, 0.712);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.greeting-evenly {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border: 3px solid #122;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 0;
    border: none;
}

.greeting-center {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #122;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 0;
    border: none;
    background: rgba(237, 237, 237, 0.712);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    .main {
        width: 100%;
        max-width: 1000px;
        background: #fff;
        margin: 0 auto;
        padding: 5px;
    }

    .greeting {
        display: flex;
        align-items: center;
        border: 3px solid #122;
        border-radius: 10px;
        margin-bottom: 10px;
        padding: 8px;
    }

    .greeting-evenly {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: 3px solid #122;
        border-radius: 10px;
        margin-bottom: 10px;
        padding: 0;
        border: none;
    }

    .greeting-center {
        display: flex;
        align-items: center;
        border: 3px solid #122;
        border-radius: 10px;
        margin-bottom: 10px;
        padding: 0;
        border: none;
    }
}

.g-clear {
    padding: 0;
    border: none;
    justify-content: space-evenly;
}

@media (max-width: 768px) {
    .g-clear {
        padding: 0;
        border: none;
        justify-content: space-between;
    }
}

.kiri a {
    color: rgb(154, 22, 22);
    text-decoration: none;
}

.ta-c {
    text-align: center;
}

.ta-r {
    text-align: right;
}

.greeting .kanan h2 {
    letter-spacing: 2px;
}

.kiri p a {
    text-decoration: none;
    color: rgb(154, 22, 22);
    font-weight: bold;
}

.kanan a img {
    width: 100%;
    height: 100%;
    max-width: 100px;
    object-fit: cover;
}

a.tombol {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 3px solid #122;
    text-decoration: none;
    color: black;
    width: 150px;
    height: 150px;
    padding: 5px;
    border-radius: 10px;
    font-size: medium;
    background: rgba(237, 237, 237, 0.712);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

a.tombol:active {
    position: relative;
    top: 2px;
    left: 2px;
}

@media (max-width: 768px) {
    a.tombol {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border: 3px solid #122;
        text-decoration: none;
        color: black;
        width: 92px;
        padding: 5px;
        border-radius: 10px;
        height: 110px;
        font-size: 16px;
    }
}

@media (max-width: 365px) {
    a.tombol {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border: 3px solid #122;
        text-decoration: none;
        color: black;
        width: 85px;
        padding: 5px;
        border-radius: 10px;
        height: 110px;
        font-size: 15px;
    }
}

.greeting-evenly a.tombol {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 3px solid #122;
    text-decoration: none;
    color: black;
    width: 200px;
    height: 200px;
    padding: 5px;
    border-radius: 10px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .greeting-evenly a.tombol {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border: 3px solid #122;
        text-decoration: none;
        color: black;
        width: 120px;
        padding: 5px;
        border-radius: 10px;
        height: 130px;
        font-size: 18.5px;
    }
}

@media (max-width: 365px) {
    .greeting-evenly a.tombol {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border: 3px solid #122;
        text-decoration: none;
        color: black;
        width: 100px;
        padding: 5px;
        border-radius: 10px;
        height: 120px;
        font-size: 17px;
    }
}

.greeting-center a.tombol {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 3px solid #122;
    text-decoration: none;
    color: black;
    width: 100%;
    height: 300px;
    padding: 15px;
    border-radius: 10px;
    font-size: 24px;
}

@media (max-width: 768px) {
    .greeting-center a.tombol {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border: 3px solid #122;
        text-decoration: none;
        color: black;
        padding: 12px;
        border-radius: 10px;
        height: 145px;
        font-size: 20px;
    }
}

@media (max-width: 365px) {
    .greeting-center a.tombol {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border: 3px solid #122;
        text-decoration: none;
        color: black;
        padding: 12px;
        border-radius: 10px;
        height: 140px;
        font-size: 18.5px;
    }
}

.g-item i {
    font-size: 40px;
}

.g-item p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.greeting-center .g-item i {
    font-size: 125px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .greeting-center .g-item i {
        font-size: 75px;
        margin-bottom: 4px;
    }
}

@media (max-width: 365px) {
    .greeting-center .g-item i {
        font-size: 75px;
        margin-bottom: 4px;
    }
}

/* BAGIAN TOMBOL BESAR */

.g-clear-besar {
    padding: 0;
    border: none;
    justify-content: space-evenly;
    gap: 5px;
}

a.tombol-besar {
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 3px solid #122;
    text-decoration: none;
    color: black;
    padding: 5px;
    border-radius: 10px;
    background: rgba(237, 237, 237, 0.712);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

a.tombol-besar:active {
    position: relative;
    top: 2px;
    left: 2px;
}

a.tombol-besar .g-item h1 {
    font-size: clamp(1.5rem, 8vw, 8rem);
    margin: 0;
    overflow-wrap: break-word;
    text-align: center;
}

.tombol-l {
    text-align: center;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .tombol-l {
        margin-bottom: 10px;
    }
}

.tombol-l a {
    display: inline-block;
    width: 100%;
    border: 3px solid #122;
    border-radius: 10px;
    padding: 5px;
    text-decoration: none;
    color: black;
}

a.bg-grass {
    background: #485f48;
    color: white;
}

a.bg-fresh {
    background: #6d4e4e;
    color: white;
}

a.bg-koreksi {
    background: #444380;
    color: white;
}

a.height-30 {
    padding: 8px;
}

/* BAGIAN LOGIN */

.l-main {
    padding: 8px;
}

.login-container {
    width: 100%;
    align-items: center;
    text-align: center;
    max-width: 600px;
    border: solid 1px #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    padding: 80px 100px 100px 100px;
    background: #ffffff;
    border-radius: 10px;
    margin-top: 30px;
    border-top: 11px solid #485f48;
    border-bottom: 6px solid #bdbdbd;
}

@media (max-width : 768px) {
    .login-container {
        padding: 15px 15px 25px 15px;
    }
}

.login-container h2 {
    margin-bottom: 15px;
}

.login-container .login-icon {
    margin-top: 10px;
    justify-content: center;
}

.login-container .login-icon img {
    width: 140px;
    margin-bottom: 10px;
}

@media (max-width : 768px) {
    .login-container .login-icon img {
        width: 120px;
    }
}

.login-container form .unp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.login-container form .unp label {
    width: 50px;
    height: 50.5px;
    text-align: center;
    border: solid 1px #333;
    padding: 10.5px;
    margin-right: 5px;
    background: #f3f3f3;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-size: 19px;
}

.unp label i {
    font-size: 18px;
}

.login-container form .unp input {
    height: 50.5px;
    padding: 12.5px;
    flex: 1;
    width: 100%;
    background: #f3f3f3;
    border: solid 1px #333;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.login-container form .unp button {
    flex: 1;
    width: 100%;
    padding: 8px;
    background: #485f48;
    color: #fff;
    margin: 0;
    margin-bottom: 15px;
    border-radius: 5px;
    border: solid 1px #333;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-size: large;
}

@media screen and (max-width: 600px) {
    .login-container form .unp input {
        width: calc(100% - 55px);
    }

    .login-container form .unp button {
        width: 100%;
        padding: 12px;
        font-size: medium;
    }
}

@supports (-webkit-touch-callout: none) {
    .login-container form .unp button {
        width: 100%;
    }
}

.error-message {
    margin-top: 5px;
    color: #c94c47;
    font-style: italic;
    margin-bottom: -30px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.error-message.hidden {
    opacity: 0;
    pointer-events: none;
    display: block !important;
    margin-bottom: -30px;
}

@media (max-width : 768px) {
    .error-message {
        margin-top: -12px;
        margin-bottom: -8px;
    }

    .error-message.hidden {
        margin-bottom: -8px;
    }
}


/* Kontainer Kelola Akun */

.kontainer-kelola-akun {
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #242424;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

@media (max-width: 900px) {
    .kontainer-kelola-akun {
        padding: 10px 10px 15px 10px;
        box-shadow: none;
        border: solid 1px #242424;
        border-radius: 5px;
    }
}

.kontainer-kelola-akun h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.kontainer-kelola-akun form {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.kontainer-kelola-akun label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 0.9px;
    margin-bottom: 3px;
}

.kontainer-kelola-akun input {
    width: 100%;
    padding: 10px;
    border: 1px solid #242424;
    border-radius: 5px;
    box-sizing: border-box;
    outline: solid 1px #000;
    background: #f2f3ed;
}

.kontainer-kelola-akun button:hover {
    background-color: #1d3429;
}

.username {
    color: #3f6869;
}

input:read-only {
    background: #d2d1ce;
    cursor: not-allowed;
}

input[type="date"].bg-readonly {
    background: #d2d1ce;
}

/* FORM GROUP */

.form-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.form-group-10 {
    display: flex;
    justify-content: space-around;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 3px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mt-10 {
    margin-top: 10px;
}

.ph-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.gap-5 {
    gap: 5px;
}

.b-hor {
    border-left: 2px dashed #474747;
    border-right: 2px dashed #474747;
}

.pt-10 {
    padding-top: 10px;
}

.bg-cream {
    background: rgb(220, 222, 206);
}

.bg-dark-cream {
    background: rgb(179, 182, 157);
}

.bg-brown {
    background: rgb(81, 78, 77);
    font-weight: normal;
    color: white;
    border: 2px solid #122;
    border-radius: 5px;
}

.pb-10 {
    padding-bottom: 10px;
}

#mulai-siklus-baru {
    margin-bottom: -2px;
}

.m-v-5 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.form-group button {
    background: #2d5543;
    color: white;
    padding: 10px;
    margin-top: 13px;
    transition: .5s;
    flex: 1;
    border: none;
}

.form-group label,
.form-group input {
    padding: 5px;
    flex: 1;
}

.form-group input {
    min-height: 4.5em;
    border: 3px solid #242424;
    border-radius: 10px;
}

.form-group-10 button {
    background: #2d5543;
    color: white;
    padding: 10px;
    margin-top: 10px;
    transition: .5s;
    flex: 1;
    border: none;
}

.form-group button:hover {
    background: #224234;
}

button.bg-red {
    background: rgb(180, 48, 48);
}

button.bg-grass {
    background: rgb(24, 93, 42);
    transition: all 0.3s ease-in-out;
}

button.bg-grass:hover {
    background: rgb(22, 87, 39);
}

button.bg-gold {
    background: rgb(201, 170, 15);
    transition: all 0.3s ease-in-out;
}

button.bg-gold:hover {
    background: rgb(176, 149, 9);
}

button.bg-darkred {
    background: rgb(139, 34, 34);
    transition: all 0.3s ease-in-out;
}

button.bg-darkred:hover {
    background: rgb(92, 23, 23);
}

button.bg-red:hover {
    background: rgb(167, 43, 43);
}

button.bg-darkgray {
    background: rgb(103, 103, 103);
}

button.bg-darkgray:hover {
    background: rgb(66, 66, 66);
}

/* FOOTER */

footer {
    background: #314231;
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer p a {
    text-decoration: none;
    color: white;
}

.profile-picture {
    width: 100%;
    text-align: center;
}

.profile-picture label img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #242424;
    cursor: pointer;
}

.tambah-foto-profil {
    width: 100%;
    text-align: center;
}

.tambah-foto-profil label img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #242424;
    cursor: pointer;
}

/* Inner */

select#jenis_kesehatan {
    width: 100%;
    height: 43px;
    padding: 5px 10px;
    border: none;
    background: #f9f9f9;
    font-size: 14px;
    color: #333;
    appearance: none;
    outline: none;
    border: 2px solid #9a9a9a;
    border-radius: 5px;
}

select#jenis_kesehatan option {
    padding: 10px;
    background: #fff;
    color: #333;
    font-size: 16px;
}

select#jenis_kesehatan option:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* Input Data */

select#input {
    width: 100%;
    height: 40px;
    padding: 5px 10px;
    border: none;
    background: #f9f9f9;
    color: #333;
    appearance: none;
    outline: none;
}

select#input option {
    padding: 10px;
    background: #fff;
    color: #333;
}

select#pilih-kandang {
    width: 100%;
    height: 45px;
    padding: 10px;
    border: 3px solid #122;
    color: #000;
    appearance: none;
    outline: none;
    border-radius: 10px;
}

select#pilih-kandang option {
    padding: 10px;
    background: #fff;
    color: #000;
}

select#input option:hover {
    background-color: #f0f0f0;
    color: #333;
}

.g-input {
    flex: 2;
    border: 2px solid #9a9a9a;
    border-radius: 10px;
}

.g-input input {
    width: 100%;
    height: 40px;
    padding: 5px 10px;
    border: none;
    background: #f9f9f9;
    color: #333;
    appearance: none;
    outline: none;
}

.g-input input:read-only {
    background: #dfdfdf;
    cursor: not-allowed;
}

.first {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.last {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.g-show {
    flex: 1;
    text-align: center;
    background: #dfdfdf;
    border: 2px solid #9a9a9a;
    font-size: 40px;
    height: 83px;
    border-radius: 10px;
    align-content: center;
    font-weight: bold;
}

.gap-10 {
    gap: 10px;
}

/* CUSTOM CONFIRM */

.custom-confirm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.818);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
    padding: 0;
}

@media (max-width: 900px) {
    .custom-confirm {
        padding: 5px;
    }
}

.custom-confirm .confirm-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.custom-confirm button {
    margin: 10px 10px 5px 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.custom-confirm button:first-of-type {
    background: #5e735e;
    width: 90px;
    color: white;
    transition: 0.5s;
}

.custom-confirm button:first-of-type:hover {
    background: #435643;
}

.custom-confirm button:last-of-type {
    background: #712d2d;
    width: 90px;
    color: white;
    transition: 0.5s;
}

.custom-confirm button:last-of-type:hover {
    background: #5c2323;
}

.custom-confirm.show {
    opacity: 1;
    visibility: visible;
}

/* Bagian Input */

.main h1.header {
    background: rgb(134, 20, 20);
    color: white;
    border: 3px solid #242424;
    padding: 8px 15px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: larger;
}

.main h1.header-5 {
    background: rgb(134, 20, 20);
    color: white;
    border: 3px solid #242424;
    padding: 8px 15px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 5px;
    font-size: larger;
}

.input-session {
    border: 3px solid #122;
    padding: 15px;
    margin: 26px 0;
    position: relative;
    border-radius: 5px;
}

.session-title {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #e6e5e5;
    padding: 0 10px;
    font-weight: bold;
    border: 3px solid #122;
    border-radius: 5px;
}

.form-group-inside {
    display: flex;
    gap: 12px;
    margin: 10px 0 20px 0;
    justify-content: space-between;
}

.min-gap {
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.form-group-inside:last-child {
    margin: 10px 0 0 0;
}

.rem-pb-10 {
    padding-bottom: -10px;
}

.group-item {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.group-item-square {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.group-item-new {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.group-item a {
    text-decoration: none;
    color: black;
    border: 2px solid #9a9a9a;
    padding: 10px;
    background: #b7b7b7;
    border-radius: 5px;
}

.group-item-square a {
    text-decoration: none;
    color: black;
    border: 2px solid #9a9a9a;
    padding: 10px;
    background: #e1dfd1;
}

.group-item label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #272727;
}

.group-item input {
    padding: 8px;
    border: 2px solid #7b7b7b;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.group-item input[type="date"] {
    background: #d2d1ce;
}

.group-item-new input,
.group-item-new input[type="date"] {
    padding: 8px;
    border: 3px solid #122;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-weight: bold;
    -webkit-appearance: none;
    appearance: none;
}

.group-item-new input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.5);
    cursor: pointer;
}

.group-item-new input[type="date"]::-webkit-inner-spin-button,
.group-item-new input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

.input-session h3 {
    width: 100%;
    border: 3px solid #122;
    margin-top: 20px;
    padding: 5px 10px;
    border-radius: 5px;
}

h3.t-c {
    margin-bottom: 4px;
}

h3.coklat,
h3.jumbo {
    background: rgb(129, 75, 37);
    color: white;
}

h3.cucian,
h3.kecil {
    background: rgb(154, 91, 47);
    color: white;
}

h3.krem {
    background: #ebe6cf;
    color: black;
}

h3.putih {
    background: rgb(245, 240, 240);
    color: black;
}

h3.tik {
    background-color: #f0ead6;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.15) 1px, transparent 1px);
    background-size: 10px 10px;
    color: black;
}

h3.bentes {
    background-color: #e0d9d1;
    background-image:
        linear-gradient(45deg, rgba(0, 0, 0, 0.1) 10%, transparent 10%),
        linear-gradient(-45deg, rgba(0, 0, 0, 0.1) 10%, transparent 10%);
    background-size: 10px 10px;
    color: black;
}

.c-margin {
    margin: 0;
}

#add-field-button {
    width: 100%;
    padding: 10px;
    background: #9b9851;
    transition: .5s;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#add-field-button:hover {
    background: #7e7c40;
}

/* Table */

.table-container {
    overflow-x: auto;
    width: 100%;
    overscroll-behavior-x: none;
    border: 3px solid #242424;
}

.table-container tr:last-child td {
    border-bottom: 3px solid #242424;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead tr th {
    background: rgb(134, 20, 20);
    color: white;
}

table thead tr th,
table tbody tr td {
    border: 3px solid #242424;
    white-space: nowrap;
    padding: 6px 8px;
}

table thead tr th.width-200px,
table tbody tr td.width-200px {
    min-width: 110px;
}

table tbody tr td:first-of-type,
table thead tr th:first-of-type {
    border-left: 1px solid #1e1e1e;
}

table tbody tr td:last-of-type,
table thead tr th:last-of-type {
    border-right: 1px solid #1e1e1e;
}

table thead tr:first-of-type th {
    border-top: 1px solid #1e1e1e;
}

table tbody tr:last-of-type td {
    border-bottom: 1px solid #1e1e1e;
}

strong {
    background: #ffff00;
    color: black;
    letter-spacing: 2px;
    padding: 0 6px;
    transition: ease-in-out .5s;
    cursor: pointer;
    text-align: center;
    font-weight: normal;
    border-radius: 5px;
}

strong.reddish {
    background: #7b5151;
    color: white;
}

strong::after {
    content: '';
    margin-left: -2px;
}

@media (max-width: 768px) {
    strong.reddish {
        letter-spacing: 0;
    }

    strong.reddish::after {
        margin-left: 0;
    }
}

strong:hover {
    background: #242424;
    color: white;
}

span.time {
    background: #1d1d1d;
    color: white;
    letter-spacing: 2px;
    padding: 2px 6px;
    border-radius: 5px;
}

span.day {
    background: #7c8159;
    color: white;
    letter-spacing: 2px;
    padding: 2px 6px;
    border-radius: 5px;
}

span.time::after,
span.day::after {
    content: '';
    margin-left: -2px;
}

span.date {
    display: block;
    background: #805b5b;
    color: white;
    padding: 2px 6px;
    border-radius: 5px;
    margin-top: 4px;
    letter-spacing: .8px;
    max-width: 180px;
    text-align: center;
}

span.date::after {
    content: '';
    margin-left: -0.8px;
}

td.centered {
    text-align: center;
}

td a {
    text-decoration: none;
    background: #294733;
    color: white;
    letter-spacing: 0;
    padding: 3px 12px;
    border-radius: 5px;
    transition: ease-in-out .5s;
}

td a:hover {
    background: #1d3429;
}

button.has-border {
    border: 3px solid #122;
}

/* Bagian Input Kandang */

.new-session {
    display: flex;
    justify-content: space-between;
    border: 3px solid #242424;
    border-radius: 10px;
    padding: 7px;
    gap: 8px;
}

.get2 {
    flex: 2;
}

.get1 {
    flex: 1;
    align-self: center;
    text-align: center;
    font-size: 3.5rem;
    border: 3px solid #242424;
    border-radius: 10px;
    background: #d2d1ce;
    cursor: not-allowed;
}

.get1 select {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 5px 10px;
    border: none;
    font-size: 5rem;
    color: #000;
    appearance: none;
    outline: none;
    background: none;
    text-align: center;
    text-align-last: center;
}

.get1 select option {
    font-size: 2rem;
}

.session-item-inside {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    border: 3px solid #242424;
    border-radius: 5px;
}

.new-input-session {
    border: 3px solid #122;
    padding: 5px;
    margin: 26px 0;
    position: relative;
    border-radius: 10px;
}

.inside-new-input-session {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 18px;
}

.item-new-input {
    flex: 1;
}

h3.t-c {
    text-align: center;
}

/* Untuk Warna */

.its-lightblue {
    background: rgb(240, 250, 255);
}

.its-lightblue td strong {
    background: rgb(220, 245, 255);
    color: rgb(30, 61, 139);
}

.its-lightblue td strong:hover {
    background: rgb(200, 230, 245);
}

.its-darkblue {
    background: rgb(179, 193, 201);
}

.its-darkblue td strong {
    background: rgb(144, 158, 167);
    color: rgb(10, 30, 80);
}

.its-darkblue td strong:hover {
    background: rgb(116, 128, 136);
}

.its-yellow {
    background: rgb(255, 250, 230);
}

.its-yellow td strong {
    background: rgb(255, 235, 200);
    color: rgb(80, 40, 10);
}

.its-yellow td strong:hover {
    background: rgb(245, 225, 180);
}

.its-lime {
    background: rgb(245, 255, 235);
}

.its-lime td strong {
    background: rgb(225, 245, 215);
    color: rgb(20, 50, 20);
}

.its-lime td strong:hover {
    background: rgb(205, 235, 195);
}

.its-darkred {
    background: rgb(238, 209, 209);
}

.its-darkred td strong {
    background: rgb(215, 182, 182);
    color: rgb(100, 76, 76);
}

.its-darkred td strong:hover {
    background: rgb(198, 168, 168);
}

.its-orange {
    background: rgb(255, 245, 235);
}

.its-orange td strong {
    background: rgb(255, 220, 200);
    color: rgb(80, 40, 10);
}

.its-orange td strong:hover {
    background: rgb(245, 210, 190);
}

/* SearchBox */

#searchBox {
    display: flex;
    margin-bottom: 10px;
    justify-content: flex-start;
}

#searchBox input,
#searchBox label {
    border: 3px solid #122;
    font-size: 1.1rem;
    padding: 5px 10px;
    height: 40px;
    border-radius: 5px;
    background: rgb(239, 239, 233);
}

#searchBox input {
    margin-right: 7px;
    flex: 1;
    max-width: 240px;
}

#searchBox input::placeholder {
    color: #000;
    opacity: 1;
}


/* Area Khusus Tindakan */

#formSelector {
    margin-bottom: 10px;
    padding: 0 5px;
}

#formSelector select {
    padding: 5px 10px;
    border-radius: 10px;
    border: 2px solid #122;
    margin-left: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    background: rgb(240, 240, 235);
}

.form-container {
    border: 3px solid #122;
    padding: 8px;
    border-radius: 10px;
    width: 100%;
}

.kontainer-tindakan-show {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 2px dashed #a3a3a3;
}

.b-top {
    border-top: 2px dashed #474747;
}

.b-bot {
    border-bottom: 2px dashed #474747;
}

.m-vert-10 {
    margin: 10px 0;
}

.kontainer-tindakan-show label {
    flex: 2;
}

.kontainer-tindakan-show input {
    flex: 3;
    border: 3px solid #122;
    border-radius: 10px;
    padding: 5px 10px;
    min-height: 4em;
}

.input-silo {
    display: flex;
    gap: 5px;
    align-items: stretch;
    justify-content: space-between;
}

.kontainer-tindakan-input {
    flex: 1;
    display: flex;
    gap: 5px;
    align-items: center;
}

.kontainer-tindakan-input:nth-child(2) {
    margin: 10px 0;
}

.kontainer-tindakan-input label {
    flex: 0 0 35%;
}

.kontainer-tindakan-input input {
    width: 90%;
    border: 3px solid #122;
    padding: 10px;
    border-radius: 10px;
    height: 45px;
}


.kontainer-tindakan-input select {
    border: 3px solid #122;
}

.myGrid {
    display: grid;
    grid-template-columns: 1fr 0.8fr 0.4fr;
    grid-template-rows: 1fr;
    gap: 5px;
    align-items: center;
}

.myGrid-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 5px;
}

.myGrid-label label {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 60px;
    height: auto;
    padding: 5px;
    line-height: 1.2;
    word-break: break-word;
}



.myGrid-input {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 5px;
}

.myGrid-input input {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 60px;
    height: auto;
    padding: 5px;
    line-height: 1.2;
    border: 3px solid #122;
    padding: 10px;
    border-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

.myGrid-select {
    height: 100%;
    width: 100%;
}


select#kandang {
    height: 100%;
    width: 100%;
    font-size: 3.2rem;
    border: 3px solid #122;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    text-align-last: center;
    line-height: 3rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

select#kandang option {
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.2rem;
}

#formSelector select#options {
    padding: 9px 5px;
}

/* Model Ketiga */

div.button-container {
    display: flex;
    justify-content: space-between;
}

div.button-container button {
    flex: 1;
    width: 100%;
    padding: 10px;
    border: none;
    color: white;
}

div.button-container button:first-of-type {
    background: #214133;
}

div.button-container button:last-of-type {
    background: #666431;
}

/* Flex Column */

.vertical-flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.vertical-flex-column a {
    text-decoration: none;
    width: 100%;
    max-width: 400px;
    border: 3px solid #122;
    color: #000;
    border-radius: 10px;
    background: #efefef;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.vertical-flex-column a:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.vertical-flex-column a h1 {
    font-size: 5rem;
}

.vertical-flex-column a p {
    font-size: 1.5rem;
}

.flex-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    text-align: center;
}

/* Tak Bertuan */

td.centered button.edit-btn {
    background: #224234;
    padding: 5px 10px;
    border: 3px solid #122;
    border-radius: 5px;
    color: white;
}

td.centered button.edit-button {
    background: #224234;
    padding: 5px 10px;
    border: 3px solid #122;
    border-radius: 5px;
    color: white;
}

td.centered button.delete-button {
    background: #422222;
    padding: 5px 10px;
    border: 3px solid #122;
    border-radius: 5px;
    color: white;
}

td.centered button.password-reset-button {
    background: #424222;
    padding: 5px 10px;
    border: 3px solid #122;
    border-radius: 5px;
    color: white;
}

.btn-tambah-saldo,
.btn-kurangi-saldo {
    padding: 5px 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    font-weight: bold;
    border: 3px solid #122;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-tambah-saldo:active,
.btn-kurangi-saldo:active {
    background-color: #242424;
    border-color: #0a1e13;
    transform: scale(1.02);
    box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 2px;
    left: 2px;
}

.btn-tambah-saldo {
    background: #264d3c;
    color: white;
}

.btn-kurangi-saldo {
    background: #4d2626;
    color: white;
}

.btn-cetak-surat,
.btn-cetak-surat-afkir {
    padding: 5px 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    font-weight: bold;
    border: 3px solid #122;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2d2b54;
    color: white;
    font-size: 18px;
}

.button-behavior {
    padding: 5px 10px;
    text-align: center;
    border: 3px solid #122;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2d2b54;
    color: white;
}

tr.height-50 td a.button-behavior:hover {
    background: #1d1c37;
}

.button-behavior:active {
    background: #1f1e3b;
    border-color: #0a1e13;
    transform: scale(1.02);
    box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 2px;
    left: 2px;
}

.btn-cetak-surat:active,
.btn-cetak-surat-afkir:active {
    background: #1f1e3b;
    border-color: #0a1e13;
    transform: scale(1.02);
    box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 2px;
    left: 2px;
}

.btn-tambah-saldo,
.btn-kurangi-saldo,
.btn-cetak-surat,
.btn-cetak-surat-afkir {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    background-clip: padding-box;
}

.btn-tambah-saldo:focus,
.btn-kurangi-saldo:focus,
.btn-cetak-surat:focus,
.btn-cetak-surat-afkir:focus {
    outline: none;
    box-shadow: none;
}

a.pressable-button {
    padding: 5px 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    font-weight: bold;
    border: 3px solid #122;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #373466;
    color: white;
    font-size: 18px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    background-clip: padding-box;
}

a.pressable-button:active {
    background: #2f2c57;
    border-color: #0a1e13;
    transform: scale(1.02);
    box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 2px;
    left: 2px;
}

a.pressable-button:hover {
    background: rgb(30, 28, 56);
}

a.pressable-button-whatsapp {
    padding: 5px 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    font-weight: bold;
    border: 3px solid #122;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #25D366;
    color: white;
    font-size: 18px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    background-clip: padding-box;
}

a.pressable-button-whatsapp:active {
    background: #1ebc58;
    border-color: #0a1e13;
    transform: scale(1.02);
    box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 2px;
    left: 2px;
}

a.pressable-button-whatsapp:hover {
    background: #1cb754;
}

button.pressable-button {
    padding: 5px 10px;
    width: 45px;
    height: 45px;
    text-align: center;
    font-weight: bold;
    border: 3px solid #122;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #373466;
    color: white;
    font-size: 18px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    background-clip: padding-box;
}

button.pressable-button:active {
    background: #2f2c57;
    border-color: #0a1e13;
    transform: scale(1.02);
    box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 2px;
    left: 2px;
}

button.pressable-button:hover {
    background: rgb(30, 28, 56);
}

tr.height-55 {
    height: 55px;
}

/* Kelola Akun Pengelola */

.form-group-silo {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    grid-template-rows: 3.3rem;
    margin-top: 4px;
}

.form-group-silo label {
    padding: 5px;
    align-self: center;
    grid-column: 1;
}

.form-group-silo input {
    min-height: 2.9em;
    border: 3px solid #242424;
    border-radius: 10px;
    padding: 5px;
    grid-column: 2;
    box-sizing: border-box;
    width: 100%;
    background: rgb(243, 243, 243);
}

.form-group-silo input:read-only {
    background: rgb(203, 203, 203);
}

.form-group-pengelola {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    grid-template-rows: 3.3rem;
    gap: 6px;
    margin-top: 4px;
}

.form-group-pengelola label {
    padding: 5px;
    align-self: center;
    grid-column: 1;
}

.form-group-pengelola input,
.form-group-pengelola select {
    min-height: 2.9em;
    border: 3px solid #242424;
    border-radius: 10px;
    padding: 5px;
    grid-column: 2;
    box-sizing: border-box;
    width: 100%;
    background: rgb(236, 236, 230);
}

.form-group-pengelola input:read-only {
    background: rgb(209, 209, 201);
}

.form-group-pengelola select {
    color: #000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

.form-group-pengelola select option {
    padding: 5px 6px;
    color: #000;
}

.confirm-box {
    background: #ecede0;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 10px;
}

.confirm-box .confirm-content button {
    width: 70px;
    text-align: center;
    padding: 8px;
    margin: 6px 0;
    border-radius: 10px;
    border: 1px solid #242424;
}

.confirm-box .confirm-content button#confirm-yes {
    background: #214133;
    color: white;
}

.confirm-box .confirm-content button#confirm-no {
    background: #462222;
    color: white;
}

.w-80px {
    width: 80px;
}

p#confirm-message {
    font-size: large;
}

.get-rad {
    border-radius: 10px;
}

button.get-border {
    border: 3px solid #242424;
}

button.get-rad10 {
    border-radius: 10px;
}

#btn-mulai-siklus-baru {
    font-size: 16px;
    background: #597452;
    border: 3px solid #242424;
    margin-bottom: 10px;
    border-radius: 5px;
}

.informasi-saldo {
    display: flex;
    justify-content: flex-end;
    padding: 0 5px 10px 5px;
    align-items: center;
}

@media (min-width: 768px) {
    .informasi-saldo {
        padding: 0 0 10px 0;
    }
}

.informasi-saldo label {
    flex: 1;
    text-align: right;
    margin-right: 10px;
}

.informasi-saldo input {
    flex: 1;
    padding: 4px 10px;
    border-radius: 10px;
    border: 3px solid #242424;
    max-width: 400px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media (max-width: 768px) {
    .informasi-saldo label {
        text-align: right;
    }

    .informasi-saldo input {
        max-width: 66%;
    }
}

.text-left {
    text-align: left;
}

.form-group-pengelola select:disabled {
    border: 3px solid #242424;
    opacity: 1;
    background: rgb(209, 209, 201);
}

.text-right {
    text-align: right;
}

.horizontal-scrollable {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-top: 10px;
    padding-bottom: 10px;
}

.horizontal-scrollable::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scrollable::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.horizontal-scrollable::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.form-transaksi input[type="number"],
.form-transaksi input[type="text"] {
    padding: 6px;
    border: none;
    width: 100%;
    min-width: 180px;
}

.clear-padding {
    padding: 0;
}

#get-bold-border button {
    border: 3px solid #122;
    border-radius: 10px;
    margin-top: 0;
    margin-bottom: 3px;
}

#get-bold-border-no-mt button {
    border: 3px solid #122;
    border-radius: 10px;
    margin-bottom: 3px;
}

#get-bold-border-no-mt button:first-of-type {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#get-bold-border-no-mt button:last-of-type {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#get-bold-special-border button {
    border: 3px solid #122;
    margin-top: 0;
    margin-bottom: 3px;
}

#get-bold-border button:first-of-type {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#get-bold-border button:last-of-type {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#total-pembelian {
    width: 100%;
    height: 100%;
    padding: 5px;
    background: none;
    border: none;
}

#for-tp {
    padding: 0;
    background: #d2d1ce;
}


/* Khusus Perborderan Duniawi */

.bl-none {
    border-left: none;
}

.br-none {
    border-right: none;
}

.bt-none {
    border-top: none;
}

.bb-none {
    border-bottom: none;
}

.table-container table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

table tbody tr td.br-none {
    border-right: none;
}

table tbody tr td.bl-none {
    border-left: none;
}

.ta-r {
    text-align: right;
}

table tbody tr td.ta-r {
    text-align: right;
}

.get-letter-space2 {
    letter-spacing: 2px;
}

tr.height-50 {
    height: 50px;
}

h7 {
    margin-bottom: 3px;
}

.mb-4 {
    margin-bottom: 4px;
}

a .flex-item h4 {
    margin-bottom: 0;
    font-size: 72px;
}

u {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.smoothRed {
    background-color: #ffe6e6;
    color: #cc0000;
}

.smoothYellow {
    background-color: #fff9e6;
    color: #cc9900;
}

.smoothGreen {
    background-color: #e6ffe6;
    color: #006600;
}

.smoothBlue {
    background-color: #e6f2ff;
    color: #004080;
}

.margin-top-20 {
    margin-top: 20px;
}

paid {
    background: rgb(150, 52, 43);
    padding: 5px 10px;
    border-radius: 20px;
    color: white;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 10px;
}

.pagination button {
    flex: 1;
    font-size: 18px;
    padding: 6px 12px;
    background: rgb(194, 194, 194);
    color: black;
    border-radius: 5px;
    border: 3px solid #122;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.pagination button:hover {
    background: darkgray;
}

.pagination button:active {
    background: rgb(120, 120, 120);
    transform: scale(1.01);
    box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 2px;
    left: 2px;
}

.greenRow {
    background-color: #edffed;
    color: #003000;
}

.redRow {
    background-color: #ffecec;
    color: #3d0000;
}

#all-pantau-buttons {
    display: flex;
    font-size: 14.5px;
    margin-bottom: 10px;
    justify-content: space-between;
    gap: 2px;
}

#all-pantau-buttons button {
    flex: auto;
    font-size: 14.5px;
    padding: 3px 2px;
    background: rgb(219, 219, 219);
    color: black;
    border-radius: 5px;
    border: 3px solid #122;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

#all-pantau-buttons button:hover {
    background: darkgray;
}

#all-pantau-buttons button:active {
    background: rgb(120, 120, 120);
    transform: scale(1.01);
    box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 1px;
    left: 1px;
}

#grafik-mingguan {
    border: 3px solid #122;
    margin-bottom: 10px;
    border-radius: 10px;
    padding: 5px;
}

#grafik-vitamin {
    border: 2px solid rgb(176, 185, 185);
    margin-bottom: 10px;
    border-radius: 0;
    padding: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.02);
}

.flex-item .for-i i {
    font-size: 47px;
}

.flex-item p.for-p {
    font-size: 22px;
}

#grafik-vitamin {
    border-radius: 10px;
    background: #f4f4f1;
}

@media (min-width: 1024px) {
    #barChartVitamin {
        max-height: 550px;
    }
}

tr.padding-10 td {
    padding: 10px 5px;
}

#get-bold-border button.active {
    background: #2d5543;
}

#get-bold-border button.inactive {
    background: #b0b0b0;
    cursor: not-allowed;
    color: black;
}

.product-container {
    text-align: center;
    padding: 10px;
    border: 3px solid #242424;
    border-radius: 15px;
    margin-bottom: 10px;
    background: #f0f0e9;
}

@media (max-width: 700px) {
    .product-container {
        text-align: left;
    }
}

.product-container .product-image {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.product-container .product-image img {
    width: 100%;
    border: 3px solid #242424;
    border-radius: 10px;
}

.form-group-pembelian {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 0 0;
    justify-content: space-between;
}

.group-item-pembelian {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.group-item-pembelian label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #272727;
}

.group-item-pembelian input {
    padding: 8px;
    border: 3px solid #242424;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

.group-item-pembelian select {
    padding: 8px;
    border: 3px solid #242424;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .form-group-pembelian {
        flex-direction: column;
    }
}

button.w-42px {
    width: 42px;
    height: 42px;
    padding: 5px 10px;
    border: 3px solid #122;
    border-radius: 10px;
    color: white;
    font-size: 20px;
}

button.w-52px {
    width: 46px;
    height: 46px;
    padding: 5px 10px;
    border: 3px solid #122;
    border-radius: 10px;
    color: white;
    font-size: 17px;
}

button.w-42px:active {
    position: relative;
    top: 2px;
    left: 2px;
}

button.w-52px:active {
    position: relative;
    top: 2px;
    left: 2px;
}

.table-container table thead tr td.w60,
.table-container table tbody tr th.w60 {
    width: 60px;
}

.first-width-60 table tr:first-child th,
.first-width-60 table tr:first-child td {
    width: 30px;
}

span.on-cart {
    display: inline;
    align-items: center;
    justify-content: center;
    background: #298433;
    color: #fff;
    padding: 6.5px;
    border-radius: 15px;
    border: solid 3px #1d6725;
    font-size: 13px;
    transition: all 0.3s ease-in-out;
}

span.on-cart:hover {
    background: #1d6725;
    border: solid 3px #17551d;
    cursor: pointer;
}


/* Custom Pagignation */

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    gap: 2px;
    flex-wrap: wrap;
}

#pagination button,
#faktur-pagination button,
#mitra-pagination button,
#pagination-surat-jalan button,
#piutang-cicilan-pagination button,
#hutang-cicilan-pagination button,
#hutang-pagination button,
#piutang-pagination button,
#pagination-hutang button,
#pagination-piutang button {
    min-width: 29px;
    padding: 8px;
    border: none;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #111;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    border: 2px solid rgb(63, 63, 63);
}

#pagination button:first-child,
#pagination button:last-child,
#mitra-pagination button:first-child,
#pagination-surat-jalan button:first-child,
#faktur-pagination button:first-child,
#faktur-pagination button:last-child,
#mitra-pagination button:last-child,
#pagination-surat-jalan button:last-child,
#piutang-cicilan-pagination button:first-child,
#hutang-cicilan-pagination button:first-child,
#hutang-pagination button:first-child,
#piutang-pagination button:first-child,
#piutang-cicilan-pagination button:last-child,
#hutang-cicilan-pagination button:last-child,
#hutang-pagination button:last-child,
#piutang-pagination button:last-child,
#pagination-hutang button:last-child,
#pagination-piutang button:last-child {
    width: auto;
    padding: 8px;
}

#pagination button:hover,
#faktur-pagination button:hover,
#mitra-pagination button:hover,
#pagination-surat-jalan button:hover,
#piutang-cicilan-pagination button:hover,
#hutang-cicilan-pagination button:hover,
#hutang-pagination button:hover,
#piutang-pagination button:hover,
#pagination-hutang button:hover,
#pagination-piutang button:hover {
    background-color: #ddd;
}

#pagination button.active,
#faktur-pagination button.active,
#mitra-pagination button.active,
#pagination-surat-jalan button.active,
#piutang-cicilan-pagination button.active,
#hutang-cicilan-pagination button.active,
#hutang-pagination button.active,
#piutang-pagination button.active,
#pagination-hutang button.active,
#pagination-piutang button.active {
    background-color: #666;
    color: #000;
}

#pagination button:disabled,
#faktur-pagination button:disabled,
#mitra-pagination button:disabled,
#pagination-surat-jalan button:disabled,
#piutang-cicilan-pagination button:disabled,
#hutang-cicilan-pagination button:disabled,
#hutang-pagination button:disabled,
#piutang-pagination button:disabled,
#pagination-hutang button:disabled,
#pagination-piutang button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

a.smooth-green-background {
    background: #bbd3bb;
    color: #202020;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
}

a.smooth-green-background:hover {
    background: #93b193;
}

/* Global Scrollbar */

::-webkit-scrollbar {
    height: 10px;
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #e0e0e0;
}

::-webkit-scrollbar-thumb {
    background: #a0a0a0;
    transition: all 0.3s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background: #888888;
}

/* Smart Backgound Color */

.bg-number-1 {
    background-color: rgba(255, 218, 218, 0.4);
    color: #000;
}

.bg-number-2 {
    background-color: rgba(211, 240, 255, 0.4);
    color: #000;
}

.bg-number-3 {
    background-color: rgba(255, 229, 204, 0.4);
    color: #000;
}

.bg-number-4 {
    background-color: rgba(228, 255, 234, 0.4);
    color: #000;
}

.bg-number-5 {
    background-color: rgba(255, 230, 237, 0.4);
    color: #000;
}

.bg-number-6 {
    background-color: rgba(242, 227, 245, 0.4);
    color: #000;
}

.bg-number-7 {
    background-color: rgba(255, 245, 214, 0.4);
    color: #000;
}

.bg-number-8 {
    background-color: rgba(228, 255, 228, 0.4);
    color: #000;
}

.bg-number-9 {
    background-color: rgba(255, 248, 214, 0.4);
    color: #000;
}

.bg-number-10 {
    background-color: rgba(228, 236, 245, 0.4);
    color: #000;
}

.bg-number-11 {
    background-color: rgba(219, 255, 255, 0.4);
    color: #000;
}

.bg-number-12 {
    background-color: rgba(250, 232, 214, 0.4);
    color: #000;
}

.bg-number-13 {
    background-color: rgba(242, 218, 242, 0.4);
    color: #000;
}

.bg-number-14 {
    background-color: rgba(208, 248, 240, 0.4);
    color: #000;
}

.bg-number-15 {
    background-color: rgba(255, 229, 204, 0.4);
    color: #000;
}

.bg-number-16 {
    background-color: rgba(225, 243, 250, 0.4);
    color: #000;
}

.bg-number-17 {
    background-color: rgba(234, 248, 204, 0.4);
    color: #000;
}

.bg-number-18 {
    background-color: rgba(255, 216, 216, 0.4);
    color: #000;
}

.bg-number-19 {
    background-color: rgba(250, 205, 235, 0.4);
    color: #000;
}

.bg-number-20 {
    background-color: rgba(218, 248, 250, 0.4);
    color: #000;
}

.bg-number-21 {
    background-color: rgba(252, 230, 214, 0.4);
    color: #000;
}

.bg-number-22 {
    background-color: rgba(211, 236, 250, 0.4);
    color: #000;
}

.bg-number-23 {
    background-color: rgba(255, 242, 218, 0.4);
    color: #000;
}

.bg-number-24 {
    background-color: rgba(228, 204, 250, 0.4);
    color: #000;
}

.bg-number-25 {
    background-color: rgba(243, 255, 204, 0.4);
    color: #000;
}

.bg-number-26 {
    background-color: rgba(250, 214, 250, 0.4);
    color: #000;
}

/* Filter Button */

.filter-button {
    padding: 8px 13px;
    margin: 1px 5px 4px 5px;
    border: 1px solid #d1c7c7;
    background-color: #e7e0e0;
    cursor: pointer;
    border-radius: 12px;
    transition: background-color 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.filter-button:first-of-type {
    margin-left: 0;
}

.filter-button:last-of-type {
    margin-right: 0;
}

.filter-button:hover {
    background-color: #ccc1c1;
    border: 1px solid #cdc0c0;
}

.filter-button.active {
    background-color: #a72c28;
    color: white;
    border-color: #8d1f1c;
    animation: ripple-active 0.6s ease-out;
}

@keyframes ripple-active {
    0% {
        box-shadow: 0 0 0 0 rgba(167, 44, 40, 0.5);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(167, 44, 40, 0);
    }
}

.filter-button.deactive {
    animation: ripple-deactive 0.4s ease-out;
    background-color: #e7e0e0;
    border-color: #d1c7c7;
    color: black;
}

@keyframes ripple-deactive {
    0% {
        box-shadow: 0 0 0 12px rgba(167, 44, 40, 0.5);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(167, 44, 40, 0);
    }
}

input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

/* Input Vitamin */

#vitamin-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vitamin-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.vitamin-row select,
.vitamin-row input {
    flex: 1;
    min-width: 120px;
    padding: 10px;
    border-radius: 4px;
    border: 2px solid #7b7b7b;
    font-size: 16px;
    height: 48px;
}

.remove-vitamin {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    height: 48px;
}

#add-vitamin {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 10px;
    font-size: 16px;
}

input.fixedNumber::-webkit-outer-spin-button,
input.fixedNumber::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 768px) {
    .vitamin-row {
        flex-direction: column;
        gap: 8px;
    }

    .vitamin-row select,
    .vitamin-row input {
        width: 100%;
    }

    .remove-vitamin {
        width: 100%;
        margin-top: 5px;
    }

    #add-vitamin {
        width: 100%;
        margin-top: 15px;
    }

    .form-group-inside {
        flex-direction: column;
    }

    .group-item {
        width: 100%;
    }
}