* {
    color: black;
}

.text-white {
    color: white;
}

/* LOADER */

.loader-wrapper {
    position: fixed;
    /* Sticks the loader to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    /* Enables flexbox */
    justify-content: center;
    /* Centers horizontally */
    align-items: center;
    /* Centers vertically */
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black overlay */
    z-index: 10001;
    /* Ensures it's above other content */
}

.loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #25b09b;
    --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn);
    }
}

/* The loader container */
.transaction-loader {
    width: 200px;
    height: 200px;
    perspective: 200px;
}

/* The dot */
.dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-left: -60px;
    border-radius: 100px;
    border: 40px outset #1e3f57;
    transform-origin: 50% 50%;
    transform: rotateX(24deg) rotateY(20deg) rotateZ(0deg) translateZ(-25px);
    background-color: transparent;
    animation: dot1 1000ms cubic-bezier(0.49, 0.06, 0.43, 0.85) infinite;
}

.dot:nth-child(2) {
    width: 140px;
    height: 140px;
    margin-top: -70px;
    margin-left: -70px;
    border-width: 30px;
    border-color: #447891;
    animation-name: dot2;
    animation-delay: 75ms;
    box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.1);
    transform: rotateX(24deg) rotateY(20deg) rotateZ(0deg) translateZ(-25px);
}

.dot:nth-child(3) {
    width: 160px;
    height: 160px;
    margin-top: -80px;
    margin-left: -80px;
    border-width: 20px;
    border-color: #6bb2cd;
    animation-name: dot3;
    animation-delay: 150ms;
    box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.1);
    transform: rotateX(24deg) rotateY(20deg) rotateZ(0deg) translateZ(-25px);
}

@keyframes dot1 {
    0% {
        border-color: #1e3f57;
        transform: rotateX(24deg) rotateY(20deg) rotateZ(0deg) translateZ(-25px);
    }

    50% {
        border-color: #1e574f;
        transform: rotateX(20deg) rotateY(20deg) rotateZ(50deg) translateZ(0px);
    }

    100% {
        border-color: #1e3f57;
        transform: rotateX(24deg) rotateY(20deg) rotateZ(0deg) translateZ(-25px);
    }
}

@keyframes dot2 {
    0% {
        border-color: #447891;
        box-shadow: inset 0 0 15px 0 rgba(255, 255, 255, 0.2);
        transform: rotateX(24deg) rotateY(20deg) rotateZ(0deg) translateZ(-25px);
    }

    50% {
        border-color: #449180;
        box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.8);
        transform: rotateX(20deg) rotateY(20deg) rotateZ(50deg) translateZ(0px);
    }

    100% {
        border-color: #447891;
        box-shadow: inset 0 0 15px 0 rgba(255, 255, 255, 0.2);
        transform: rotateX(24deg) rotateY(20deg) rotateZ(0deg) translateZ(-25px);
    }
}

@keyframes dot3 {
    0% {
        border-color: #6bb2cd;
        box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.1);
        transform: rotateX(24deg) rotateY(20deg) rotateZ(0deg) translateZ(-25px);
    }

    50% {
        border-color: #6bcdb2;
        box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.8);
        transform: rotateX(20deg) rotateY(20deg) rotateZ(50deg) translateZ(0px);
    }

    100% {
        border-color: #6bb2cd;
        box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.1);
        transform: rotateX(24deg) rotateY(20deg) rotateZ(0deg) translateZ(-25px);
    }
}

/* LOADER */

/* OVERLAY */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.85;
    z-index: 9999;
    display: block;
}

.overlay-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 3rem;
    border-radius: 5px;
    z-index: 10000;
    width: 50%;
    max-height: 95%;
    overflow-y: auto;
}

/* OVERLAY */

/* TABLE */

.scrollable {
    height: 50vh !important;
    overflow-y: auto !important;
}

/* TABLE */

/* INPUT FIELD */

.inputGroup {
    position: relative;
}

.inputGroup input {
    font-size: 100%;
    padding: 0.8em;
    outline: none;
    border: 2px solid rgb(200, 200, 200);
    background-color: transparent;
    border-radius: 8px;
    width: 100%;
    font-weight: bold;
}

.inputGroup label {
    font-size: 100%;
    position: absolute;
    left: 0;
    padding: 0.8em;
    margin-left: 0.5em;
    pointer-events: none;
    transition: all 0.3s ease;
    color: gray;
}

.inputGroup :is(input:focus, input:valid, .has-value)~label {
    transform: translateY(-50%) scale(0.9);
    margin: 0em;
    margin-left: 1.3em;
    padding: 0.4em;
    background-color: white;
    color: black;
}

.inputGroup :is(input:focus, input:valid, .has-value) {
    border-color: black;
}

.qtyInput {
    align-self: center;
}

.qtyInput input {
    padding: 0.4rem;
    width: 40%;
    border: 1px solid rgb(200, 200, 200);
    background-color: transparent;
    border-radius: 8px;
}

.prod-input {
    width: 100%;
    height: 54px;
    border: 2px solid black;
    border-radius: 8px;
}

/* INPUT FIELD */

/* CUSTOM RADIO BUTTON */

:focus {
    outline: 0;
    border-color: #2260ff;
    box-shadow: 0 0 0 4px #b5c9fc;
}

.mydict div {
    display: flex;
    flex-wrap: wrap;
}

.mydict input[type="radio"] {
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.mydict input[type="radio"]:checked+span {
    box-shadow: 0 0 0 0.0625em #0043ed;
    background-color: #dee7ff;
    z-index: 1;
    color: #0043ed;
}

label span {
    display: block;
    cursor: pointer;
    background-color: #fff;
    padding: 0.85em;
    position: relative;
    margin-left: 0.0625em;
    box-shadow: 0 0 0 0.0625em #b5bfd9;
    letter-spacing: 0.05em;
    color: #3e4963;
    text-align: center;
    transition: background-color 0.5s ease;
}

label:first-child span {
    border-radius: 0.375em 0 0 0.375em;
}

label:last-child span {
    border-radius: 0 0.375em 0.375em 0;
}

/* CUSTOM RADIO BUTTON */

/* TRANSACTION PAGE */

#inputTransactionOverlay {
    width: 90%;
}

#transactionHdr,
#prodTableModal,
#productDetailOverlay,
#productStockOverlay {
    width: 70%;
}

/* TRANSACTION PAGE */

/* PRODUCT PAGE */

.v-line {
    border-left: 2px solid black;
    height: 1.5rem;
    margin: 0 1rem;
}

.text-btn {
    cursor: pointer;
}

.text {
    font-size: 1.2rem;
}

.text-btn:hover:not(.active) {
    background-color: #e9ecef;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.text-btn.active {
    border-bottom: 2px solid black;
}

/* PRODUCT PAGE */

/* REPORT PAGE */

.icon-hover {
    transition: color 0.3s ease;
}

.icon-hover:hover {
    color: red !important;
}

.popup {
    position: absolute;
    top: 70px;
    right: 25px;
    /* top: 100px;
    right: 50px; */
    z-index: 1000;
    width: 25%;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 5px;
}

.popup-content {
    display: flex;
    flex-direction: column;
}

.swal-progress {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.swal-progress>div {
    height: 100%;
    width: 0;
    background: #4e73df;
    transition: width .4s ease;
}

/* REPORT PAGE */