
/* Custom styles can go here */
.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    overflow: hidden;
}
.input-group p {
    padding: 0.5rem;
    background-color: #f3f4f6;
}
.input-group input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    outline: none;
}
.input-group button {
    padding: 0.5rem 1rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    cursor: pointer;
}
.input-group button:hover {
    background-color: #2563eb;
}

 /* Custom styles can go here */
 .topbar .toggle-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
/* Toggle switch styles */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px; width: 16px;
    left: 2px; bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #3b82f6;
}
input:checked + .slider:before {
    transform: translateX(20px);
}
#editor::before {
    content: attr(data-placeholder);
    color: #999;
    position: absolute;
    pointer-events: none;
}
/* Info Icon Styling */
.info-icon {
    cursor: pointer;
    margin-right: 8px;
    font-size: 18px;
  }
  
  /* Modal Styling */
  .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
  }
  
  /* Modal Content Box */
  .modal-content {
    background-color: #fff;
    margin: 15% auto; /* Center the box */
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    position: relative;
  }
  
  /* Close Button */
  .close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-button:hover {
    color: #000;
  }
  
  /* Highlighted Text */
  .highlight {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
  }
  