body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overscroll-behavior-y: contain;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.login-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    background: #e0e0e0;
    border-radius: 5px;
}

.tab.active {
    background: #007bff;
    color: white;
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #555555;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
}

.login-button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.login-button:hover {
    background-color: #0056b3;
}

.logo {
    width: 150px; /* Adjust size as needed */
    margin-bottom: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }
body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #f5f5f5; }

/* Button */
.open-modal-btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    width: 90vw;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: auto;
}

.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: red;
}

/* Carousel */
.carousel-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;

    &::-webkit-scrollbar {
        width: 6px;
    }

    &::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    &::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }

    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.carousel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carousel-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ff5f0b;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.carousel-title:hover {
    transform:scale(1.01)
}

.toggle-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.carousel {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    cursor: grab;
    user-select: none;
}

.carousel-greyed {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    cursor: grab;
    user-select: none;
    opacity: 0.5;
}

.carousel-disabled {
    pointer-events: none;
}


.carousel.active {
    cursor: grabbing;
}

.carousel-item {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-align: center;
}

.carousel-item-uncached {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-align: center;
    opacity: 0.5;
}

.carousel-item-disabled {
    pointer-events: none;
}

.carousel-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.title {
    font-size: 14px;
    padding: 5px;
    background: white;
}

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background: red;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.modal-header {
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.modal-header i {
    font-size: 24px;
    color: #007bff;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #ff5f0b;
}
.modal-title-right {
    font-size: 20px;
    font-weight: bold;
    text-align: right;
}

/* Hide the default checkbox */
.switch input {
    display: none;
}

/* Style the slider (the switch) */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* The slider background */
.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

/* The circle inside the slider */
.switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    border-radius: 50%;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

/* When the checkbox is checked (switch on) */
.switch input:checked + .slider {
    background-color: #4CAF50;
}

/* Move the circle when checked */
.switch input:checked + .slider:before {
    transform: translateX(26px);
}

.switch-container {
    display: grid;
    grid-template-columns: 80% 20%;
    gap: 20px; /* Adds space between columns */
}

/* Style for the status text */
.status-text {
    font-size: 14px;
    color: #333;
}
.header-container{


}
.column {
    padding: 20px;
}

.menu-icon {
    position: fixed;
    top: 10px;
    left: 10px;
    cursor: pointer;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.home-icon {
    position: fixed;
    top: 10px;
    left: 70px;
    cursor: pointer;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}
.fs-icon {
    position: fixed;
    top: 10px;
    left: 130px;
    cursor: pointer;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}
.dot-icon {
    position: fixed;
    top: 10px;
    right: 8px;
    cursor: pointer;
    z-index: 1000;
    width: 25px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.home-icon-vert {
    position: fixed;
    top: 70px;
    left: 10px;
    cursor: pointer;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}
.fs-icon-vert {
    position: fixed;
    top: 130px;
    left: 10px;
    cursor: pointer;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-icon div {
    width: 30px;
    height: 4px;
    background-color: black;
    transition: 0.4s;
}

.menu-icon:hover {
    transform: scale(1.1);
}

.menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #333;
    color: white;
    padding-top: 60px;
    transition: left 0.3s ease-in-out;
}
.menu a {
    display: block;
    color: white;
    padding: 15px;
    text-decoration: none;
}
.menu a:hover {
    background: #575757;

}
.menu.open {
    left: 0;
}

.grow-button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transform: scale(0.9);
    animation: grow 0.5s ease-out forwards;
}

@keyframes grow {
    from {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}
.qr-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.qr-modal {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

#reader {
    width: 100%;
    margin: 0 auto;
}

.qr-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
    cursor: pointer;
    z-index: 1001;
}

.swap-camera {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swap-camera svg {
    width: 24px;
    height: 24px;
}

#qr-result {
    margin-top: 10px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
    display: none;
}

#camera-select {
    margin: 10px 0;
    padding: 8px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ddd;
}

#html5-qrcode-button-camera-stop, #html5-qrcode-button-camera-start, #html5-qrcode-button-camera-request, #html5-qrcode-button-camera-permission {
    width: 50%;
    padding: 10px;
    background-color: #007bff;
    border: black;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;

}

.animate-container-shrink {
    display: block;
    overflow: hidden;
    animation: shrinkWidth 1s forwards;

}

@keyframes shrinkWidth {
    from {
        width: 250px;
    }
    to {
        width: 40px;
    }
}

.animate-container-grow {
    display: block;
    overflow: hidden;
    animation: growWidth 1s forwards;
}

@keyframes growWidth {
    from {
        width: 40px;
    }
    to {
        width: 250px;
    }
}