body {
    overflow-x: hidden;
}

.admin-sidebar {
    width: 250px;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
}

.main-content {
    margin-left: 250px;
}

.admin-sidebar .nav-link {
    padding: 10px 15px;
    border-radius: 5px;
}

.admin-sidebar .nav-link:hover {
    background: rgba(220, 15, 15, 0.1);
}

@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: 0.3s;
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }
}


/* Container for custom multiselect */
.custom-multiselect {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
}

/* Each color option */
.color-option {
    display: flex;
    align-items: center;
    padding: 3px 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.color-option:hover {
    background: #f0f0f0;
}

/* Hidden checkbox */
.color-option input[type="checkbox"] {
    display: none;
}




.colors-multiselect {
    width: 100%;
    height: 200px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    overflow-y: auto;
}

.colors-multiselect option {
    padding: 5px;
}



.color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-circle {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ccc;
    display: inline-block;
}

.color-circle input {
    display: none;
}

.color-circle span {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    transition: transform 0.2s, border 0.2s;
}

/* Checked style */
.color-circle input:checked + span {
    transform: scale(1.2);
    border: 2px solid #000;
}

.select-value {
  margin-left: 70px;
}

.color-box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #ccc;
    display: inline-block;
}



.aiz-file-item.selected {
    border: 2px solid #06f52a; /* blue highlight */
    box-shadow: 0 0 10px rgba(13,110,253,0.5);
}
.aiz-file-item {
    cursor: pointer;
}



.backdrop {
    backdrop-filter: blur(6px);
}


.switch {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 34px;
    margin-right: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    color: #fff;
    text-align: center;
    line-height: 34px;
    border-radius: 34px;
    transition: 0.4s;
    font-weight: bold;
}

.switch input:checked + .slider {
    background-color: #4CAF50; /* green when active */
}



.custom-checkbox input {
    display: none;
}

/* Create a custom checkmark */
.custom-checkbox .checkmark {
    width: 24px;
    height: 24px;
    background-color: #ccc;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* When checked, change background color */
.custom-checkbox input:checked + .checkmark {
    background-color: #4CAF50;
}

/* Add a tick mark */
.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Show tick when checked */
.custom-checkbox input:checked + .checkmark::after {
    display: block;
}





/* Custom multi-select */
.custom-select-wrapper { position: relative; width: 100%; font-family: sans-serif; }
.custom-select { border: 1px solid #ccc; border-radius: 6px; cursor: pointer; }
.custom-select .selected { padding: 8px 12px; }
.custom-select .options { display: none; position: absolute; width: 100%; background: #fff; border: 1px solid #ccc; border-radius: 6px; max-height: 200px; overflow-y: auto; z-index: 10; }
.custom-select .option { padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.custom-select .option:hover { background: #f0f0f0; }
.custom-select .color-box { width: 20px; height: 20px; border: 1px solid #ccc; border-radius: 4px; margin-right: 8px; }
.custom-select .tick { display: none; color: green; font-weight: bold; }
.custom-select .option.selected .tick { display: inline-block; }

/* Custom checkbox */
.custom-checkbox input { display: none; }
.custom-checkbox .checkmark { width: 24px; height: 24px; background-color: #ccc; border-radius: 6px; display: inline-block; position: relative; cursor: pointer; transition: background-color 0.3s; }
.custom-checkbox input:checked + .checkmark { background-color: #4CAF50; }
.custom-checkbox .checkmark::after { content: ""; position: absolute; display: none; left: 8px; top: 4px; width: 6px; height: 12px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.custom-checkbox input:checked + .checkmark::after { display: block; }



