.d-flex {
    display: flex !important;
}

.d-none{
    display: none;
}

.d-block{
    display: block !important;
}

.text-center{
    text-align: center !important;
}

.text-decoration-none{ text-decoration: none;}

.text-sm {
    font-size: 0.875rem;
    line-height: calc(1.25 / 0.75);
}

.text-xs{
    font-size: 0.75rem;
    line-height: calc(1 / 0.75);
}

.btn-action.activate { background: #4fff30; }

.btn-activate-modal {
  background: #FF3B30;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-edit-modal.sm, .btn-activate-modal.sm {
    padding: 6px 12px;
    font-size: 0.75rem;
}

.lang-panel { display: none; }
.lang-panel.active { display: block; }

/* service image preview */
.image-preview-container{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.image-preview{
    position: relative;
    width: 100px;
    height: 100px;
}

.image-preview img, .image-preview video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.image-remove{
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.dot-inactive {
  width: 6px;
  height: 6px;
  background: #af4c4c;
  border-radius: 50%;
}

.menu-item .left img {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: #8E8E93;
}

/* Promotion add prizes */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 13px;
}

.toggle-switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 26px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 7px;
    width: 7px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .slider {
    background-color: #545554;
}

input:checked + .slider:before {
    transform: translateX(12px);
}

#prizes-container, #offers-container{
    background-color: #F5F2EB;
    padding: 20px;
    border-radius: 20px;
    display: none;
}

#prizes-container p, #offers-container p{
    margin-top: 10px;
    font-weight: bold;
}

.prizes-item, .offers-item {
    margin-bottom: 20px;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem;
}

/* Quill text editor */

/* font families */
.ql-font-aref-ruqaa {
    font-family: 'Aref Ruqaa', serif;
}

.ql-font-roboto {
    font-family: 'Roboto', sans-serif;
}

.ql-font-mirza {
    font-family: 'Mirza', cursive;
}

/* dropdown */
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='aref-ruqaa']::before {
    content: 'Aref Ruquaa';
    font-family: 'Aref Ruqaa', serif;
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="roboto"]::before {
    content: 'Roboto';
    font-family: 'Roboto', sans-serif;
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="mirza"]::before {
    content: 'Mirza';
    font-family: 'Mirza', cursive;
}

/* See more */
.clamped {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

.expanded {
    display: block;
}

.toggle-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0;
    margin-top: 4px;
    text-decoration: underline;
    display: inline-block;
}

.toggle-btn:hover {
    color: #ffcc00;
}

/* previe */
.preview-trigger{
    cursor: pointer;
}


/* Custom  */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 120px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
}

.dropdown-item:hover{
    background: #ffcc00;
}

/* splash csrenn */
.splash-screen{
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-self: center;
    overflow: hidden;
}

.splash-screen video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.splash-screen img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}