 * {
            box-sizing: border-box;
            scrollbar-width: thin;
            scrollbar-color: #888 transparent;
        }

        html,
        body {
            height: 100%;
            margin: 0;
            padding: 0;
        }

       

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgb(28 28 28 / 30%);
            z-index: 0;
        }

        .form-container {
            position: relative;
            background: rgb(71 72 73 / 89%);
            padding: 40px;
            border-radius: 15px;
            max-width: 500px;
            margin-right: 5%;
            z-index: 1;
            width: 100%;

        }

        .form-container-2 {
            max-height: 450px;
            overflow-y: scroll;
            overflow-y: scroll;
            overflow-x: hidden;
        }

        label {
            font-weight: bold;
            font-size: 15px;
        }

        .form-container input,
        .form-container select {
            background: black !important;
            border: 1px solid black;
            color: white !important;
        }

        ::placeholder {
            color: #ccc !important;
        }

        .toast-success {
            background-color: #51A351 !important;
            color: white !important;
        }

        .toast-error {
            background-color: #BD362F !important;
            color: white !important;
        }

        .toast-info {
            background-color: #2F96B4 !important;
            color: white !important;
        }

        .toast-warning {
            background-color: #F89406 !important;
            color: white !important;
        }

        #qrSection {
            display: none;
        }

        .qr-box {
            border: 1px solid #f5c2c7;
            background-color: #fff3cd;
            padding: 20px;
            border-radius: 10px;
            margin-top: 15px;
            text-align: center;
        }

        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: transparent;
        }

        ::-webkit-scrollbar-thumb {
            background-color: #888;
            border-radius: 10px;
            border: 1px solid #555;
        }

        ::-webkit-scrollbar-thumb:hover {
            background-color: #aaa;
        }

        .form-check-input:focus {
            outline: none !important;
            box-shadow: none !important;
        }

        /* Hide default radio style and create custom black radio buttons */
        input.custom-radio[type="radio"] {
            appearance: none;
            -webkit-appearance: none;
            background-color: black;
            /* border: 2px solid white; */
            border-radius: 50%;
            width: 18px;
            height: 18px;
            position: relative;
            top: 4px;
            cursor: pointer;
            margin-right: 5px;
        }

        /* When checked, show white inner dot */
        input.custom-radio[type="radio"]:checked::before {
            content: '';
            position: absolute;
            top: 4px;
            left: 4px;
            width: 8px;
            height: 8px;
            background-color: white;
            border-radius: 50%;
        }

        /* Hide default checkbox appearance and create custom black checkbox */
        input.custom-checkbox[type="checkbox"] {
            appearance: none;
            -webkit-appearance: none;
            background-color: black;
            /* border: 2px solid white; */
            width: 18px;
            height: 18px;
            cursor: pointer;
            position: relative;
            top: 4px;
            margin-right: 5px;
        }

        /* Checkmark when checked */
        input.custom-checkbox[type="checkbox"]:checked::before {
            content: "✔";
            color: white;
            position: absolute;
            /* left: 2px; */
            top: -2px;
            font-size: 13px;
            font-weight: bold;
        }

        /* Optional: Remove focus outlines */
        input.custom-checkbox:focus {
            outline: none;
            box-shadow: none;
        }

        input[type="date"] {
            color-scheme: dark;
            /* Ensures date popover matches theme */
            background-color: black;
            color: white;
            border: 1px solid #ccc;
        }

        .form-container select {
            background: black !important;
            border: 1px solid black;
            color: white !important;
            appearance: auto !important;
            /* ensures dropdown arrow is visible */
        }

       