html {
  font-size: 13px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

h1 {
    font-size: 22px;
    color: #3A88EC;
    margin-bottom:0.25rem;
}
.tableDetails {
    width: 95%;
    border-color: black;
}

.RemoveButton {
    background: url(../images/minus.png) no-repeat 0 0;
    border: 0px !important;
    min-width: 0px !important;
    width: 20px !important;
    height: 20px;
}

body {
    overflow: hidden;
    width: 280px;
    margin: 0 auto;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.428571429;
    color: #333333;
    background-color: #ffffff;
}

.nav-item {
    right: 24px;
    top: 15px;
    position: absolute;
}

#navDiv {
    justify-content: center !important;
}
main {
    text-align: center;
    margin-top: 8px;
    max-height: 370px;
}

.customerDetailsTable {
    margin: 0 auto;
}

#loginDiv > input, #loginDiv > button, #passwordDiv > input, #usernameDiv > input {
    border: 1px solid #e0e3e5;
    padding: 7px 8% 7px 2%;
    margin: 3px auto 15px auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 100% !important;
}

.GoBack {
    background: white !important;
    color: #3A88EC !important;
}

button {
    border: 1px solid #3A88EC;
    padding: 7px 8% 7px 2%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.scanned-item {
    background-color: #66ee10;
}
.module-buttons {
    margin-top: 8px;
    overflow-y: auto;
}

#logOffBtn{
    margin-top:30px;
}

.btn-primary:hover {
    background: none;
    border: 1px solid #3A88EC;
    color: #3A88EC;
}
.btn-primary {
    background: #3A88EC;
    width: 85%;
}

    .btn-primary:focus {
        box-shadow: none !important;
    }
select:focus {
    box-shadow: none !important;
}
input:focus, input:focus-visible {
    box-shadow: none !important;
    border: 2px solid #3A88EC !important;
    background: #e3ecef;
    outline: none;
}

#loginErrorMessage {
    margin-bottom: 5px;
    color: red;
}

button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
    border: 1px solid #999; 
}

button:disabled:hover {
    background-color: #ccc;
}

</style >

.loginDiv {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds equal space between all elements */
}

#addEditUserDiv {
    max-height: 80vh;
    overflow-y: auto;
    padding: 10px;
    text-align:left;
}

    #addEditUserDiv label {
        font-weight: bold;
    }
#addEidtUserDiv input {
    border: 1px solid #e0e3e5;
    width: 89%;
    border-radius: 5px;
    min-width: 120px;
}

.scanReceived input{
    border: 1px solid #e0e3e5;
    width: 89%;
    /* color: #9e9e; */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    min-width: 120px;
}
#scanTablePartial th{
    width:11%;
}

.SelectButtonSelected {
    color: #fff !important;
    background: #449040 !important;
    width: 86%;
    margin: 1px 2px 5px 2px;
    color: #000;
    font-size: 12px;
    padding: 5px;
    background: #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid;
    cursor: pointer;
    text-transform: capitalize;
}

.SelectButton {
    width: 86%;
    margin: 1px 2px 5px 2px;
    color: #000;
    font-size: 12px;
    padding: 5px;
    background: #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid;
    cursor: pointer;
    text-transform: capitalize;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.overlay-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.progress-box {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 20%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

#progressStatus {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}

#progressBar {
    width: 100%;
    height: 22px;
}

#spinnerOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(128, 128, 128, 0.4);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(1px);
}

.dotted-circle-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

    .dotted-circle-spinner div {
        position: absolute;
        width: 8px;
        height: 8px;
        background: #007bff;
        border-radius: 50%;
        animation: growFade 1.2s infinite ease-in-out;
    }

        .dotted-circle-spinner div:nth-child(1) {
            top: 0;
            left: 26px;
            animation-delay: 0s;
        }

        .dotted-circle-spinner div:nth-child(2) {
            top: 8px;
            left: 43px;
            animation-delay: 0.15s;
        }

        .dotted-circle-spinner div:nth-child(3) {
            top: 26px;
            left: 52px;
            animation-delay: 0.3s;
        }

        .dotted-circle-spinner div:nth-child(4) {
            top: 43px;
            left: 43px;
            animation-delay: 0.45s;
        }

        .dotted-circle-spinner div:nth-child(5) {
            top: 52px;
            left: 26px;
            animation-delay: 0.6s;
        }

        .dotted-circle-spinner div:nth-child(6) {
            top: 43px;
            left: 8px;
            animation-delay: 0.75s;
        }

        .dotted-circle-spinner div:nth-child(7) {
            top: 26px;
            left: 0;
            animation-delay: 0.9s;
        }

        .dotted-circle-spinner div:nth-child(8) {
            top: 8px;
            left: 8px;
            animation-delay: 1.05s;
        }

@keyframes growFade {
    0% {
        transform: scale(0.5);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }

    100% {
        transform: scale(0.5);
        opacity: 0.3;
    }
}