
/* static fonts */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100; font-display: swap; src: url("../assets/font/inter/Inter-Thin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 200; font-display: swap; src: url("../assets/font/inter/Inter-ExtraLight.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/font/inter/Inter-Light.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/font/inter/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/font/inter/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/font/inter/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/font/inter/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/font/inter/Inter-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("../assets/font/inter/Inter-Black.woff2") format("woff2"); }


@font-face {
    font-family: 'Marcellus';
    src: url('../assets/font/marcellus/Marcellus-Regular.woff2') format('woff2'),
        url('../assets/font/marcellus/Marcellus-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


::-webkit-scrollbar {
  width: 2px;
  border-radius: 3px;
  background-color: #F5F5F5;
  margin-right: -15px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #F5F5F5;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--secondary);
  border: 0px solid var(--border-color);
  border-radius: 3px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}
body {
  font-family: "Inter", sans-serif;
  background-color: var(--primary);
  color: var(--secondary);
  margin: 0;
  padding: 25px 29px;
  font-style: normal;
  font-weight: 400;
  font-kerning: normal;
  font-feature-settings: "liga", "kern";
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
}

header {
    display: flex;
    width: 100%;
    height: calc(100dvh - var(--gap)*2 - 150px);
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: var(--radius);
    flex-direction: column;
    overflow: hidden;

}

main {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
}

.menu.secondary {
    border-bottom: 1px solid var(--border);
    padding: 20px;
    padding-top: 25px;
}
.menu .logo {
    cursor: pointer;
}

.menu .logo svg {
    width: 39px;
}

.menu nav {
    display: flex;
    align-items: center;
    gap: var(--gap);
    z-index: 999;
   
}

.menu nav ul {
    list-style-type: none;
    display: flex;
    gap: var(--gap);
    align-items: center;
}

.menu nav ul li a {
    font-weight: 600;
    font-size: 1rem;
    transition: all ease-out 300ms;
    font-family: "Marcellus", serif;
    
}

.menu nav ul li a:hover {
    opacity: 0.7;
}

.menu nav .language-switch {
    padding: 5px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    font-size: 11px;
    cursor: pointer;
    
}

.menu nav .language-switch i {
    margin-left: 9px;
}

.container {
    display: flex;
    position: relative;
    height: 100%;
    max-width: 1100px;
}

:root {
    --primary: #F3E7DD;
    --secondary: #113D3C;
    --highlight: #F3BA91;
    --foreground: #FFFFFF;
    --radius-sm: 8.021px;
    --radius: 21px;
    --radius-lg: 33.979px;
    --border: rgba(58, 138, 137, 0.14);
    --gap: 30px;
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--primary);
    color: var(--secondary);
    margin: 0;
    font-style: normal;
    font-weight: 400;
    font-kerning: normal;
    font-feature-settings: "liga", "kern";
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    margin-bottom: 10px;
    position: sticky !important;
    top: 0px;
    z-index: 12;
    color: var(--secondary);
    border-bottom: 1px solid var(--border);
    background-color: var(--primary);
    /* box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15); */

    transition: all ease-in-out;

  }

  .header.iphonepad {
    padding-top: 60px;
  }

  
  .header h1 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0px;
    font-family: "Marcellus", serif;
  } 

  .header i, .header a {
    color: var(--secondary) !important;
  }
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    padding: 0px 15px ;

  }

  .header i {
    transition: all ease 300ms;
  }

  .header i:hover {
    opacity: 0.5;
  }
  
  .add-btn {
    font-size: 18px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .search-container {
    position: relative;
  }
  
  .search-input {
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    width: 0px;
    transition: all 0.3s ease;
    opacity: 0;

  }
  
  .search-input.expanded {
    width: 200px;
    opacity: 1;
  }
  
  .search-btn {
    background: none;
    border: none;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
  }
  

.dictionary-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    z-index: 9;
}

.dictionary-entry {
    background-color: var(--foreground);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-sm);
    margin: 10px;
    width: 100%;
    max-width: 400px;
    position: relative;
    transition: transform 0.2s ease;
    cursor: pointer;
    display: flex;
    gap: 15px;
    overflow: hidden;
    position: relative;
    transition: all ease 300ms;
    box-shadow: 6px 6px 5px rgba(0, 0, 0, 0.05);

}

.dictionary-entry:hover {
    transform: translate(3.5px,3.5px);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);

}

.dictionary-entry .image-column {
    padding: 0;
    margin: 0;
    gap: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    height: 100%;
    min-width: 150px;
    position: relative;
    background-color: #222;
    left: 0;
}

.dictionary-entry .image-column::after {

    content: "";
    width: 10%;
    height: 100%;
    position: absolute;
    z-index: 3;
    left: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

}

.dictionary-entry .image-column img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 150px;
    margin: 0;
    padding: 0;
    border: 0;
    transform: scale(1.1);
    position: absolute;
    /* border-radius: var(--radius-sm); */
}

.content-column {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    padding: 15px;
}


.dictionary-entry .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    letter-spacing: -0.5px;

}
.ngabere-word-container  {
    position: relative;
}
.dictionary-entry .ngabere-word-container {
    display: flex;
    align-items: center;
    
}

.dictionary-entry .ngabere-word-container img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 8px;
}

.dictionary-entry .ngabere-word {
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
}

.dictionary-entry .languages {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 16px;
    gap: 5px;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.dictionary-entry .languages .lang-col {
    margin: 0;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    padding: 6px;
    flex-grow: 1;
    justify-content: space-between;
    transition: all ease-out 300ms;
    width: 100%;
}

.dictionary-entry .languages .lang-col:hover {
    background-color: rgba(131, 60, 14, 0.05);
}

.dictionary-entry .languages .lang-col .thumb-flex {
    display: flex;
    align-items: center;
}

.dictionary-entry .languages .lang-col .thumb-flex .lang-word {
    font-size: 14px;
    opacity: 0.81;
}

.dictionary-entry .languages .lang-col .thumb-flex img {
    width: auto;
    height: 20px;
    max-height: none;
}

.dictionary-entry .languages .lang-col img {
    width: 30px;
    border-radius: 3px;
    margin-right: 5px;
}

.dictionary-entry i {
    cursor: pointer;
    margin-left: 8px;
    font-size: 17px;
    color: var(--secondary);
}

.dictionary-entry .fa-heart.filled {
    color: rgb(199, 50, 50);
}

/* Popup styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 11, 3, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1001;
    backdrop-filter: blur(1.2px);
}

.popup-content {
    background-color: white;
    padding: 30px;
    flex-grow: 1;
    max-width: 600px;
    overflow-y: auto;
}

.popup-content .main-image {
    width: 100%;
    max-height: 400px;
    border-radius: 16px;
    margin-bottom: 20px;
    object-fit: cover;
}

.popup-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    display: inline-block;
    text-transform: capitalize;
}

.popup-content .header-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.popup-content .header-row i {
    font-size: 28px;
    cursor: pointer;
}

.popup-content .details {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.popup-content .details p {
    margin: 5px 0;
    color: #4c685e;
}

.popup-content .languages {
    display: flex;
    font-size: 18px;
    gap: 10px;
}

.popup-content .languages .lang-col {
    margin: 0;
    display: flex;
    align-items: center;
    background-color: rgba(131, 60, 14, 0.05);
    border: 1px solid rgba(131, 60, 14, 0.1);
    border-radius: var(--radius-sm);
    padding: 10px;
    flex-grow: 1;
}

.popup-content .languages .lang-col img {
    width: 40px;
    margin-right: 10px;
}

.popup-content i {
    cursor: pointer;
    margin-left: 8px;
    font-size: 22px;
}

.close-popup {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.close-popup:hover {
    opacity: 0.3;
}

/* General styles for the layout */
.fa-volume-high {
    font-size: 13px !important;
}

.lang-col {
    cursor: pointer;
    text-transform: capitalize;
    /*  */
}



@media (min-width: 768px) {
    .dictionary-entry {
        width: 45%;
    }
}


/* Submenu styles */
.submenu {
    display: none;
    position: absolute;
    top: 10px;
    right: 30px;
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(6px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 12;
    padding: 10px;
    min-width: 150px;
}

.submenu.visible {
    display: block;
}

.submenu a {
    display: flex;
    align-items: center;
    padding: 10px;
    color: var(--secondary);
    width: 100%;
    justify-content: space-between;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    font-size: 12px;
}

.submenu a:hover {
    background-color: rgba(199, 169, 149, 0.1);
}

.submenu i {
    margin-right: 8px;
    font-size: 12px;
}


.thumb-flex {
    display: flex;
    width: 100%;
}


/* Edit Modal Styles */
.edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(2.4px);
  }

  
  .edit-modal-content {
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 80%;
    overflow-y: auto;
    max-height: 650px;
    border-radius: 5px 0 0 5px;
  }
  
  .edit-modal h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
  }
  
  #editForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  #editForm .input-label {
    opacity: 0.6;
  }
  
  #editForm input{
    display: block;
    width: 100%;
    position: relative;
    font-weight: 500;
    
  }

#editForm .audifx {
    margin-top: 15px;
}

  #editForm input[type="text"] {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
 
  }

  #editForm input[type="file"] {
    background: none;
  

    
  }

  #editForm input {
    margin-top: 5px;
  }
  
  #editForm button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }
  
  #editForm button[type="submit"] {
    background-color: #c9e7ca;
    border: 1px solid #83a984;
    color: #254b27;
  }
  

  #editForm button[type="button"] {
    background-color: #c9c9c9;
    color: rgb(0, 0, 0);
  }

  #editForm audio {
    margin-bottom: -5px;
  }
  

  /* Audio Recording Styles */
  .audio-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  
  .audio-control button {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
  
  .audio-control audio {
    flex-grow: 1;
  }
  
  /* Responsive Design */
  @media (max-width: 600px) {

    
    .edit-modal-content {
      padding: 1rem;
      width: 100%;
      height: 100%;
      max-height: none;
      top: 0;
      flex-grow: 1;
    }
  
  
  }

  

  .fixed-heart-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 300;
}

.fixed-heart-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 900;
}

.fixed-heart-button i {
    color: rgb(199, 50, 50);
}

.phrases-section {
    margin-top: 15px;
    padding-top: 0px;
  }

  .phrases-section h3 {
   margin-bottom: 4px;
   text-align: center;

   font-size: 14px;
   font-weight: 500;
display: none;
  }

  
  .phrase {
    margin-top: -5px;
    padding: 15px;
    background-color: rgba(131, 60, 14, 0.05);
    border: 1px solid rgba(131, 60, 14, 0.1);
    border-radius: var(--radius-sm);
    

  }


  .clear-edits-btn {
    position: fixed;
    left: 10px;
    bottom: 10px;
    background: var(--foreground);
    color: var(--secondary);
    outline: none;
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 99;
    border-radius: 1231px;
    aspect-ratio: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }


  .fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    color: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fullscreen-menu ul {
    list-style-type: none;
    text-align: center;
}

.fullscreen-menu ul li {
    margin: 20px 0;
}

.fullscreen-menu ul li a {
    font-size: 2rem;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-family: "Marcellus", serif;

}

.fullscreen-menu ul li a:hover {
    opacity: 0.7;
}

.fullscreen-menu .language-switch {
    margin-top: 30px;
    font-size: 1.5rem;
    cursor: pointer;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1000;
    font-size: 24px;
    border-radius: 2px;
    padding: 2px 5px;
}

.hamburger-menu.invert {
    background-color: var(--primary);
}

@media screen and (max-width: 768px) {
    select:focus,
    textarea:focus,
    input:focus {
      font-size: 16px;
      background: #eee;
    }

    select,
    textarea,
    input {
      font-size: 16px;
    }
  


    .hamburger-menu {
        display: block;
    }

    .menu nav {
        display: none;
    }

    .message {
        top: 55px !important;
        width: 70% !important;
        bottom: inherit !important;
    }
}



a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}


/* .login {
  border-radius: 3px;
  padding: 3px 6px;
  align-content: center;
  
}

.login i {
  font-size: 11px;
  margin-left: 5px;
  position: relative;
  top: -1px;
}
 */


.fa-ellipsis-vertical {
    font-size: 14px !important;
    width: 15px;
    text-align: center;
    
   
}

/* Modal styles */
.add-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    backdrop-filter: blur(1.2px);
    padding: 0;

}

.add-modal-content {
    background-color: var(--primary);
    padding: 35px !important;
    /* border-radius: 25px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100vw;
    max-height: 100vh;
    overflow-y: auto;
    margin: 0;
    padding-top: 60px !important;

    padding-bottom: 60px !important;

}

.add-modal h2 {
    margin-top: 10px;
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Marcellus';

}

.add-modal form {
    display: flex;
    flex-direction: column;
}

.add-modal label {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #555;
}
.add-modal input[type="text"] {
    margin-bottom: 15px;
}

.add-modal input[type="text"],
.add-modal input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    margin-top: 5px;
}

.add-modal input[type="file"] {
    padding: 0.3rem;
    margin-bottom: 15px;
}

.add-modal button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-modal button[type="submit"] {
    background-color: #c9e7ca;
    border: 1px solid #83a984;
    color: #254b27;
}

.add-modal button[type="submit"]:hover {
    background-color: rgba(109, 179, 111, 0.486);
}

.add-modal button[type="button"] {
    background-color: rgba(137, 137, 137, 0.188);
    border:1px solid rgba(133, 133, 133, 0.8);
    color: rgba(139, 139, 139, 0.8);
    transition: all ease 300ms;
}

.add-modal button[type="button"]:hover {
    background-color: rgba(167, 167, 167, 0.11);
    border:1px solid rgba(133, 133, 133, 0.3);
}

/* Responsive design */
@media (max-width: 600px) {
    .add-modal-content {
        width: 95%;
        padding: 1rem;
    }
}

/* Animation */
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.add-modal-content {
    animation: modalFadeIn 0.3s ease-out;
}


.message {
    position: absolute;
    bottom: 20px;
    left: 50%;
   
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    transform: translate(-100%,-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 14px;
    text-align: center;
    width: 50%;
    backdrop-filter: blur(3px);
    font-weight: 500;
}

.message.info-message {
    background-color: rgb(255,255,255,0.3);
}

.success-message {
    background-color: rgba(76, 175, 79, 0.5);
    border: 1px solid rgba(26, 79, 28, 0.5);
    color: rgb(15, 83, 24);
}

.error-message {
    background-color: #f44336;
    color: white;
}

.message.show {
    opacity: 1;
    transform: translate(-50%,0px);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translate(-50%,-20px); }
    10%, 90% { opacity: 1; transform: translate(-50%,0px); }
}

.message.show {
    animation: fadeInOut 3s ease-in-out;
}


.btn-row {
    display: flex;
    width: 100%;
    gap: 10px;
}

.btn-row button {
    flex-grow: 1;
    width: 100%;
}

.edit-modal h2,.add-modal h2 {
    text-align: center;
}

.header-sort-groups {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.sort-btn {
    background: transparent;
    border: none;
    cursor: pointer;
}



.audio-row {
display: flex;
align-items: center;
gap: 10px;
   
   
}

.audio-row input,.audio-row button {
    flex-grow: 1;
    width: 100%;
}
.audio-row button {
    height: 30px;
}

.record-btn,.stop-btn {
    background-color: #e25c5c !important;
    border: 1px solid #601717;
    color: #601717 !important;
    font-size: 12px !important;
    height: 40px !important;
    margin-top: 10px;
    letter-spacing: -0.25px;
    border-radius: 999px !important;


   
}

.record-btn:hover,.stop-btn:hover {
    opacity: 0.8;
}




.fa-microphone, .fa-circle-stop {
    transform: scale(0.8);
}


audio {
    width: 100%;

    border-radius: 5px;
    margin: 5px 0;
    height: 30px;
}


.add-modal .audio-row {
    margin-top: -10px;
    margin-bottom: 15px;
}

.add-modal audio {
    margin-top: -10px;
    margin-bottom: 15px;
}



.edit-modal .record-btn {
    border: 1px solid #601717 !important;
}

.part-of-speech {
    display: block;
    font-style: italic;
    color: #555;
    margin-left: 5px;
    font-size: 11px;
    background: var(--border);
    padding: 3px 6px;
    border-radius: 3px;
  }

  .header-row {
    position: relative;

  }
  
.dictionary-entry .part-of-speech { 
display: none;
}


.input-label {
    font-size: 14.5px !important;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 12px;
    margin-bottom: 0;
    display: block;
}

.edit-modal audio {
    margin-bottom: 20px !important;
    display: block;
}

.choose-image-txt {
    font-size: 14px;
    font-weight: 500;
}

.edit-modal .choose-image-txt {
    margin: 5px 0 10px 0;
}

#selectImageButton {

    margin: 7.5px 0;
    font-size: 13px !important;
    width: 100%;
}



.preview-image {
    max-height: 150px;
    margin: 5px 0;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.delete, .delete i {
    color: #952020 !important;
   
}


.logout {

    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    color: var(--secondary);
    font-family: "Marcellus", "inter", sans-serif;
    font-weight: 700;
    font-size: inherit;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);


}

.logout span {
    font-weight: 400;
    font-family: "Marcellus", "inter", sans-serif;

}


.fullscreen-menu .logout {
    font-size: 23px;
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
}
.menu.secondary .logout {
    background: transparent;
    border: 1px solid var(--border);

}

a.current {
    opacity: 0.6;
}

