.navbar.navbar-expand-lg {
    background-color: #f3f5f7;
}

pre {
    font-family: Geneva, Tahoma, sans-serif;
}

body {
    background: #e9ecef;
    font-family: Geneva, Tahoma, sans-serif
    /* background: #4c4c4c;
    color: #e1dcdc; */
}

.landing-intro-text {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #8da9dd;
}

.landing-intro-desc {
    font-size: 16px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #8996af;
    
}

.pricing-text {
    font-size: 40px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #6d8fcf;
    font-weight:bolder;
}

.pricing-text-original {
    font-size: 30px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #df3f1b;
    text-decoration: line-through;
    display: inline-block;
}

.index-h1 {
    margin-top: 5%;
    margin-bottom: 2%;
    padding-right: 5%;
    padding-left: 5%;
}

.active-tab {
    background-color: #ffffff;
}

div.scrollmenu {
    background-color: #e0e1e3;
    overflow: auto;
    white-space: nowrap;
    scrollbar-color: #f6f2f2 #f1f1f1;
}

div.scrollmenu::-webkit-scrollbar {
    height: 2px;
}
  
div.scrollmenu::-webkit-scrollbar-track {
    background: #f2f4f6;
}

div.scrollmenu::-webkit-scrollbar-thumb {
    background-color: #a29e9e;
}

/* div.scrollmenu::-webkit-scrollbar-thumb:hover {
background-color: #555;
} */

div.scrollmenu a {
    display: inline-block;
    /* color: #161617; */
    /* text-align: center; */
    padding: 10px;
    text-decoration: none;
}

.account-tabs {
    border-bottom: solid 1px #efe9e9;
}

.user-account-tabs {
    text-decoration:none;
    color: #000000;
}

div.scrollmenu-two {
    background-color: #262424;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: auto;
    white-space: nowrap;
    scrollbar-color: #262424 #f1f1f1;
}

div.scrollmenu-two::-webkit-scrollbar {
  height: 2px;
}

div.scrollmenu-two::-webkit-scrollbar-track {
  background: #3f413f;
}

div.scrollmenu-two::-webkit-scrollbar-thumb {
  background-color: #888;
}

div.scrollmenu-two::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.scrollmenu-two button {
    display: inline-block;
    /* color: #161617; */
    /* text-align: center; */
    padding: 10px;
    text-decoration: none;
}

.active-demo-tab {
    background-color: #3f413f !important;
    color: #fff !important;
    /* margin: 10px 10px 0px 10px; */

}

.demo-tabs .nav-link {
    color: #050505;
    border-radius: 5px 5px 0px 0px;
    margin-top: 10px;
    background-color: #ebf6f8;
}

.pricing-section {
    background-color: #cdddf9;
    border-radius: 10px;
}

.pricing-table {
    border-bottom: solid 3px #8da9dd;
}

.premium-color {
    color: #f58a25;
}

.orange-button {
    background-color: #f58a25;
    color: #fffdfc;
    margin-left: 2px;
    margin-right: 2px;
}

.info-landing-card {
    border-radius:10px;
    box-shadow:0px 0px 10px #b8ccdd;
    height: 100%;
    padding: 20px;
}

.info-landing-card > .fas{
    color: #8da9dd;
}

.snippets-display{
    margin-top: 30px;
    margin-bottom: 30px;
    color: #333331;
}

.search-snippets,
.create-snippets,
.create-new-ai {
    display: inline-block;
    padding: 8px 16px; /* Adjust padding as needed */
    border-radius: 5px;
    font-size: small; /* Adjust font size as needed */
    margin: 2px; /* Adjust margin as needed */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.search-snippets {
    background-color: #d8c662;
    color: #171615;
}

.create-snippets {
    background-color: #a9c2f0;
    color: black;
}

.search-snippets:hover {
    background-color: #f1db60;
}
.create-snippets:hover {
    /* Add hover effect */
    background-color: #c4d8ff;
}

.search-snippets:focus,
.create-snippets:focus, 
.create-new-ai:focus {
    outline: none;
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.2); /* Add focus effect */
}

.create-new-ai {
    background-color: #6d7f9e;
    color: #fff;
}
  
.create-new-ai:hover {
    background-color: #8b9bb7;
    color: #fcf7f7;
}

/* Styles for filter buttons */
.filter-button {
    display: inline-block;
    padding: 8px 20px; /* Reduce the top and bottom padding */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px; /* Reduce the font size */
    line-height: 1; /* Ensure proper vertical alignment */
}

.filter-true {
    background-color: #a9f0d1;
    color: #000000;
    margin: 3px 2px;
}

.filter-false {
    background-color: #d59784;
    color: #000000;
    margin: 3px 2px;
}

.filter-true:hover {
    background-color: #89d3b3;
}

.filter-false:hover {
    background-color: #f0baa9;
}

.row:before, .row:after {
    display: flex !important;
}

.snippets-loop-count {
    padding: 50px;
}

.snippets-card {
    width: 100%;
    padding: 50px;
    background-color: #3f413f;
}
/* 
.dark-mode-card {
    width: 100%;
    padding: 50px;
    background-color: #3f413f;
} */

.light-mode-card {
    margin: 0 auto;
    width: 80%;
    padding: 50px;
    background-color: #dedfde;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .snippets-loop-count {
        padding: 10px;
    }

    .snippets-card {
        padding: 10px;
    }
}

.snippets-card tbody {
    color: #F1EFE2;
}

.blog-container {
    margin-top: 2%;
    margin-bottom: 5%;
}

.card-title.lead {
    color: darkkhaki;
}

.text-field {
    margin-left: 2%;
    margin-right: 2%;
    /* margin-top: 30px;
    margin-bottom: 15px; */
    width: 90%;
}

.text-field-quick-saves {
    margin-left: 2%;
    margin-right: 2%;
    min-height: 400px;
}

.snippets-about{
    color: black;
    margin-top: 30px;
    margin-bottom: 50px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
}

.invalid-error {
    color: #dd3308;
}

.quick-save-notification {
    color: #0b7a5e;
}

.accordion-header {
    background-color: #a9c2f0;
}

.pagination > li > a
{
    background-color: #ffffff;
    color: black;
    border: solid 1px #171615 
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover
{
    color: #171615;
    background-color: #fff4b4;
    border-color: #171615 ;
}

.pagination > .active > a
{
    color: #171615 !Important;
    background-color: #d8c662 !Important;
    border: solid 1px !Important;
}

.hidden-text  {
    opacity: 0;
}

.fa-thumbs-up {
    margin-left: -10px;
}

.liked-comment {
    color: #ff7c01;
}

.unsaved-snippet-icon.far.btn {
    color: #e99c93;
}

.saved-snippet-icon.far.btn{
    color: #3caa84;
}

/* unvisited link */
.snippet-text > a:link {
    text-decoration:none;
    color: #E7E4D3;
}

/* visited link */
.snippet-text > a:visited {
    text-decoration:none;
    color: #E7E4D3;
}

/* mouse over link */
.snippet-text > a:hover {
    text-decoration:none;
    color: #fbf9e8;
}

.requests-card {
    width: 100%;
    padding: 30px;
    background-color: #5d6f8d;
}

.requests-card tbody {
    color: #f9f8f3;
}

.demo-requests-card {
    width: 100%;
    padding: 30px;
    background-color: #3f413f;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .demo-requests-loop-count {
        padding: 10px;
    }

    .demo-requests-card {
        padding: 10px;
    }
}

.demo-requests-card tbody {
    color: #F1EFE2;
}

/* selected link */
.request-text > a:active {
    text-decoration:none;
}

/* unvisited link */
.request-text > a:link {
    text-decoration:none;
    color: #f9f8f3;
}

/* visited link */
.request-text > a:visited {
    text-decoration:none;
    color: #f9f8f3;
}

/* mouse over link */
.request-text > a:hover {
    text-decoration:none;
    color: #6bb8ff;
}

/* selected link */
.snippet-text > a:active {
    text-decoration:none;
}

.vote-count {
    font-size: small;
}

.dot {
    height: 7px;
    width: 7px;
    margin-top: 3px;
    background-color: #d8c662;
    border-radius: 50%;
    display: inline-block;
}

.fa-notes-medical {
    color: #e2f1f0;
}

.send-message{
    background-color: #a9c2f0;
    color: #171615;
    font-size: small;
}

.error-handler {
    margin-left: 10%;
    margin-right: 20%;
    margin-top: 30px;
    width: 50%;
    font-family:'Courier New', Courier, monospace
}

.fa-list-ol {
    animation: notification 2.5s infinite;
    color: #ec8d35;
}

/* https://1stwebdesigner.com/20-amazing-pure-css-animated-buttons/ */
@keyframes notification {
    0% {
      opacity: 1;
    }
    80% {
      opacity: 0;
    }
}

.small-text {
    font-size: 15px;
}

.fa-times-circle {
    color:#c76a62
}

.fa-check-circle {
    color:#47a85c 
}

.img-fluid {
    border-radius: 10px;
    /* border-bottom: solid 1px #ff7c01;
    border-top: solid 1px #ff7c01; */
}

.layout-footer {
    font-size: small;
    margin-top: 5%;
    margin-left: 20%;
    margin-right: 20%;
    border-top: solid 3px #3f413f;
}

/* unvisited link */
.accordion-link {
    text-decoration:none;
    color: #2b41e8;
}

/* visited link */
.accordion-link {
    text-decoration:none;
    color: #2b41e8;
}

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

.chat-box-log {
    height: 600px; /* set a fixed height */
    overflow: auto; /* make the container scrollable */
    border-radius: 10px;
}

.chat-box {
    min-height: 100px; /* set a fixed height */
    border-radius: 10px;
}

.chat-box-content {
    white-space: pre-wrap;
    cursor: pointer;
}

.ai-text-recipient{
    background-color: #e7eaf1;
    color: black;
    padding: 10px;
}

.ai-text-sender{
    color: #171615;
    padding-left: 10px;
}

.chat-text-recipient{
    background-color: #a9c2f0;
    color: black;
    padding: 10px;
}

.chat-text-sender{
    background-color: #d8c662;
    color: #171615;
    padding-left: 10px;
}

.discount {
    font-size: 20px;
    color: #dc3545;
}

/* .browse-buttons {
    text-align: center;
}
  
@media (min-width: 768px) {
    .browse-buttons {
        display: flex;
        justify-content: left;
        text-align: left;
    }
  
    .browse-buttons a {
        margin: 0 10px;
    }
} */

@media (max-width: 767.98px) {
    .vimeo-container .container {
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .requests-checkbox .col-sm-3 {
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        max-width: 100%;
    }
}

i:hover {
    cursor: pointer;
}
.info-landing-card i:hover {
    cursor: default;
}

.switch-wrapper {
    position: relative;
    display: inline-flex;
    padding: 6px;
    margin-bottom: 10px;
    border-radius: 30px;
    background: #f1f6ff;
}
.switch-wrapper [type="radio"] {
    position: absolute;
    left: -9999px;
}
.switch-wrapper [type="radio"]:checked#monthly ~ label[for="monthly"]:hover,
.switch-wrapper [type="radio"]:checked#yearly ~ label[for="yearly"]:hover {
    background: transparent;
}
.switch-wrapper
    [type="radio"]:checked#monthly
    + label[for="yearly"]
    ~ .highlighter {
    transform: none;
}
.switch-wrapper
    [type="radio"]:checked#yearly
    + label[for="monthly"]
    ~ .highlighter {
    transform: translateX(100%);
}
.switch-wrapper label {
    font-size: 16px;
    z-index: 1;
    min-width: 100px;
    line-height: 32px;
    cursor: pointer;
    border-radius: 30px;
    transition: color 0.25s ease-in-out;
}
.switch-wrapper label:hover {
    background: #dee6f6;
}
.switch-wrapper .highlighter {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    border-radius: 30px;
    background: #ffd399;
    transition: transform 0.25s ease-in-out;
}

/* DEMO PAGE ANIMATIONS */
.fade-in {
    opacity: 0;
    animation-name: fade-in-animation;
    animation-duration: 1s;
    animation-fill-mode: forwards;
  }
  
/* Keyframes for fade-in animation */
@keyframes fade-in-animation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reset custom styles for radio buttons with .register-radio class */
.register-radio input[type="radio"] {
    opacity: initial;
    position: initial;
}

.register-radio input[type="radio"] + span {
    font-family: initial;
    color: initial;
    border-radius: initial;
    padding: initial;
    transition: initial;
    -webkit-transition: initial;
    display: initial;
    text-align: initial;
    background-color: initial;
}

.register-radio input[type="radio"]:checked + span {
    color: initial;
    background-color: initial;
}

.register-radio input[type="radio"]:focus + span {
    color: initial;
}

/* Styles for #formatRadios */
#formatRadios {
    display: flex;
    justify-content: center;
}

#formatRadios label {
    cursor: pointer;
    position: relative;
    margin: 0 5px;
    border-radius: 5px;
    flex: 1;
}

input[type="radio"] {
    opacity: 0;
    position: absolute;
}

input[type="radio"] + span {
    font-family: 'Material Icons';
    color: #141415;
    border-radius: 5px;
    padding: 10px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    display: block;
    text-align: center;
    background-color: #dadde4;
}

input[type="radio"]:checked + span {
    color: #000000;
    background-color: #d8c662; /* Background color for checked radios in #formatRadios */
}

input[type="radio"]:focus + span {
    color: #fff;
}

/* Styles for #noteTypeRadios */
#noteTypeRadios {
    display: flex;
    justify-content: center;
}

#noteTypeRadios label {
    cursor: pointer;
    position: relative;
    margin: 5px 5px;
    border-radius: 5px;
    flex: 1;
}

/* Styles for checked radio buttons in #noteTypeRadios with different background color */
#noteTypeRadios input[type="radio"]:checked + span {
    color: #000000;
    background-color: #a9c2f0/* Your desired background color for checked radios in #noteTypeRadios */;
}

/* Style the textarea */
textarea {
    border-radius: 10px;
    padding: 10px;
    /* margin: 5px; */
    border: 1px solid #ccc;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    /* font-family: Arial, sans-serif;
    font-size: 14px; */
    color: #333;
    height: 100px;
    min-height: 100px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease;
    resize: vertical;
    position: relative;
  }
  
  /* Style the custom handle overlay */
  textarea::before {
    content: '';
    position: absolute;
    /* bottom: 0;
    right: 0; */
    width: 12px;
    height: 12px;
    background-color: #007bff;
    border-radius: 10px;
    cursor: pointer;
    pointer-events: none; /* Allow click-through to the resizing handle */
    z-index: 1; /* Ensure the overlay is above the resizing handle */
  }
  
  /* Add hover styles for the custom handle overlay */
  textarea:hover::before {
    background-color: #0056b3; /* Change background color on hover */
  }

.editable-container {
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

.editable-section {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    text-align: center; /* Center the text within the container */
}

.editable-snippet {
    text-align: left; /* Reset text alignment for the snippet */
}

.editable {
    border: none;
    background-color: transparent;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer; /* Add a pointer cursor for better UX */
}

.editable:focus {
    outline: none;
    background-color: transparent;
    text-decoration: underline;
}

.highlighted-border {
    border: 2px solid #17a2b8; /* Bootstrap color-info */
    transition: border-color 0.3s ease-in-out; /* Add a smooth transition effect */
}

.accordion-collapse  {
    border: solid #ffffff;
}

#accordionDocsMenu .accordion-header {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border: solid #ffffff;
}

#accordionDocsMenu .accordion-button {
    background-color: #6d7f9e;
    color: #fff;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.accordion-button.collapsed::after,
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#accordionDocsMenu .accordion-collapse .sidebar {
    width: 100%;
    max-width: 100%; /* keeps it from overflowing */
    box-sizing: border-box;
}

.sidebar .list-group-item {
    padding: 10px 15px;
    color: #333;
    background-color: #f7f9fb;
    transition: background-color 0.3s;
    border: none;
}

.sidebar .list-group-item:hover {
    background-color: #dae8ff;
}

.sidebar .list-group-item.current-page {
    background-color: #dae8ff;
    color: #3f6d9e;
}

.sidebar .sidebar-links {
    text-decoration: none !important; /* Remove underlines with !important */
    color: #6d7f9e;
    display: block;
}

.sidebar .list-group-item::before {
    content: none;
}

.sidebar .sidebar-links:hover {
    text-decoration: underline;
    color: #3f6d9e;
}

.responsive-image {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
}

@media (min-width: 768px) {
    .responsive-image {
        max-width: 700px;
    }
}

mark {
    background-color: rgb(205, 230, 255);
}

[contenteditable="true"] {
    outline: none;
    border: none;
    cursor: text;
    text-decoration: none;
    color: inherit;
}

#selectedNoteTypes {
  max-width: 600px;
  margin: 0 auto;
}

.note-wrapper {
  background-color: #d8dbe1;
  border-radius: 10px;
  margin-bottom: 8px;
  margin-left: 5px;
  cursor: grab;
  user-select: none;
  display: flex;
  flex-direction: column;
  /* transition: background-color 0.3s ease, border 0.3s ease; */
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.note-wrapper.dragging {
  opacity: 0.6;
  border: 2px dashed #666;
  background-color: #c4c6cd;
  cursor: grabbing;
}

.note-toggle {
  padding: 8px 8px;
  border-bottom: 1px solid #ccc;
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.note-toggle p {
  margin: 0;
  flex-grow: 1;
  cursor: pointer;
  user-select: none;
}

.move-buttons {
  display: flex;
  gap: 2px;
  margin-left: 12px;
  flex-shrink: 0;
}

.move-buttons button {
  color: rgb(58, 58, 58);
  background-color: #d8dbe1;
  padding: 3px 5px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  /* transition: background-color 0.2s ease; */
}

.move-buttons button:disabled {
  background-color: #b6bde2;
  cursor: not-allowed;
}

.move-buttons button:hover:not(:disabled) {
  background-color: #b6bde2;
}

.note-content {
  padding: 10px 16px;
  background-color: #f5f5f5;
  border-top: none;
  display: none;
  font-weight: 400;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  user-select: text;
  cursor:auto;
}

.note-wrapper.drag-over {
  border: 2px dashed #999;
  background-color: #f0f0f0;
}

.layout {
  display: flex;
}

.sidebar {
  width: 300px;
  /* flex-direction: column; */
}

.sidebar-header {
  padding: 8px;
  margin-left: 8px;
}

.sidebar-body {
  padding: 8px;
  /* overflow-y: auto;
  flex-grow: 1; */
}

.main-content {
  flex-grow: 1;
  padding: 24px;
}

.form-border-section {
  background-color: #f4f6fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.form-border-section h2 {
  margin-top: 0;
  font-size: 18px;
  color: #2e3a59;
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
}

.test-custom-note,
.saveNoteBtn,
.move-up,
.move-down,
#cancelNoteBtn {
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#cancelNoteBtn {
  background-color: #d8c662;
  color: #171615;
}

#cancelNoteBtn:hover {
  background-color: #efdd76;
}

.saveNoteBtn {
  color: black;
  background-color: #a9c2f0;
}

.saveNoteBtn:hover {
  background-color: #bdd4ff;
}

.test-custom-note {
  color: white;
  background-color: #f58a25;
}

.test-custom-note:hover {
  background-color: #ff9939;
}

.helper-text {
  font-size: 12px;
  color: #555;
  margin-top: 8px;
}

.pill {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
    color: white;
    cursor: default;
}

.pill-blue { background-color: #007BFF; }
.pill-green { background-color: #28A745; }
.pill-yellow { background-color: #FFC107; color: #212529; }
.pill-red { background-color: #DC3545; }
.pill-purple { background-color: #6F42C1; }
.pill-gray { background-color: #6C757D; }

.pill {
    position: relative;
    display: inline-block;
    padding: 6px 12px;
    margin: 4px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
    color: white;
    cursor: pointer;
}

.pill-blue { 
    background-color: #007BFF;
    cursor: pointer;
}

/* Tooltip styles */
.pill .tooltip {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 6px 8px;
    border-radius: 4px;
    position: absolute;
    z-index: 10;
    bottom: 125%; /* Position above pill */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.pill:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Optional: Tooltip arrow */
.pill .tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* Arrow on bottom of tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

@keyframes flashHighlight {
  0% { background-color: #a8d0ff; }   /* very light blue */
  50% { background-color: #b0d3fc; }  /* light sky blue */
  100% { background-color: transparent; }
}

.highlight-flash {
  animation: flashHighlight 2s ease-in-out;
}

@media (max-width: 768px) {
  .layout {
    flex-direction: column; /* stack vertically */
    height: auto; /* let it grow */
  }
  .sidebar {
    flex: none;
    width: 100%;  /* full width */
    overflow-y: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  .main-content {
    flex: none;
    width: 100%;
    /* max-height: 60vh; */
    overflow-y: auto;
  }
}

.ellipsis-container {
  display: flex;
  align-items: center;  /* vertically centers */
  justify-content: center; /* horizontally centers */
  height: 40px; /* or a fixed height like 40px */
}

.ellipsis-button {
  text-align: end;
  font-size: 18px;
  cursor: pointer;
  margin-left: 0px;
  margin-bottom: 3%;
  /* padding: 4px 8px; */
  border-radius: 6px;
  /* background-color: transparent; */
  /* transition: background-color 0.2s ease; */
  user-select: none;
}

.ellipsis-button:hover {
  color: #a81d1d;
}
