@font-face {
  font-family: 'Segoe UI';
  src: url("../fonts/segoe/SegoeUI-Light.eot");
  src: local("Segoe UI Light"), local("SegoeUI-Light"), url("../fonts/segoe/SegoeUI-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/segoe/SegoeUI-Light.woff") format("woff"), url("../fonts/segoe/SegoeUI-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal; }

@font-face {
  font-family: 'Segoe UI';
  src: url("../fonts/segoe/SegoeUI-BoldItalic.eot");
  src: local("Segoe UI Bold Italic"), local("SegoeUI-BoldItalic"), url("../fonts/segoe/SegoeUI-BoldItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/segoe/SegoeUI-BoldItalic.woff") format("woff"), url("../fonts/segoe/SegoeUI-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic; }

@font-face {
  font-family: 'Segoe UI';
  src: url("../fonts/segoe/SegoeUI-SemiBold.eot");
  src: local("Segoe UI Semibold"), local("SegoeUI-SemiBold"), url("../fonts/segoe/SegoeUI-SemiBold.eot?#iefix") format("embedded-opentype"), url("../fonts/segoe/SegoeUI-SemiBold.woff") format("woff"), url("../fonts/segoe/SegoeUI-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal; }

@font-face {
  font-family: 'Segoe UI';
  src: url("../fonts/segoe/SegoeUI.eot");
  src: local("Segoe UI"), local("SegoeUI"), url("../fonts/segoe/SegoeUI.eot?#iefix") format("embedded-opentype"), url("../fonts/segoe/SegoeUI.woff") format("woff"), url("../fonts/segoe/SegoeUI.ttf") format("truetype");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'Segoe UI';
  src: url("../fonts/segoe/SegoeUI-Bold.eot");
  src: local("Segoe UI Bold"), local("SegoeUI-Bold"), url("../fonts/segoe/SegoeUI-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/segoe/SegoeUI-Bold.woff") format("woff"), url("../fonts/segoe/SegoeUI-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal; }

@font-face {
  font-family: 'Segoe UI';
  src: url("../fonts/segoe/SegoeUI-Italic.eot");
  src: local("Segoe UI Italic"), local("SegoeUI-Italic"), url("../fonts/segoe/SegoeUI-Italic.eot?#iefix") format("embedded-opentype"), url("../fonts/segoe/SegoeUI-Italic.woff") format("woff"), url("../fonts/segoe/SegoeUI-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic; }

@-webkit-keyframes animation-glow {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@keyframes animation-glow {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

.chat,
.counter-form {
  height: 100%;
  position: relative;
  /*private message*/ }
  .chat .gift-menu,
  .counter-form .gift-menu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    background-color: #1c1d1f;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin-bottom: 5px;
    max-width: 551px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; }
    .chat .gift-menu.active,
    .counter-form .gift-menu.active {
      visibility: visible;
      pointer-events: visible;
      opacity: 1; }
    .chat .gift-menu .header,
    .counter-form .gift-menu .header {
      padding-top: 15px;
      padding-bottom: 15px;
      background-color: #000;
      font-weight: 600;
      text-align: center;
      font-size: 16px;
      color: #fff;
      border-radius: 5px 5px 0 0; }
    .chat .gift-menu .bottom-tooltip,
    .counter-form .gift-menu .bottom-tooltip {
      position: absolute;
      right: 15px;
      bottom: 15px;
      cursor: help; }
    .chat .gift-menu .items-inside,
    .counter-form .gift-menu .items-inside {
      height: 100px;
      font-size: 0;
      padding: 10px 0; }
    .chat .gift-menu .gift-cover,
    .counter-form .gift-menu .gift-cover {
      text-align: center;
      display: inline-block;
      vertical-align: top;
      cursor: pointer;
      width: 20%;
      cursor: pointer;
      position: relative; }
      .chat .gift-menu .gift-cover img,
      .counter-form .gift-menu .gift-cover img {
        max-height: 50px;
        display: inline-block;
        position: relative;
        z-index: 2; }
      .chat .gift-menu .gift-cover .username,
      .counter-form .gift-menu .gift-cover .username {
        text-align: center;
        color: #bababa;
        white-space: nowrap;
        transition: color .3s;
        font-size: 14px;
        font-weight: 400;
        margin-top: 10px;
        position: relative;
        z-index: 2; }
      .chat .gift-menu .gift-cover:before,
      .counter-form .gift-menu .gift-cover:before {
        content: '';
        -webkit-transform: scale(0);
        transform: scale(0);
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -40px;
        width: 80px;
        height: 88px;
        background: #000;
        z-index: 1;
        border-radius: 5px;
        transition: .2s; }
      .chat .gift-menu .gift-cover:hover .username,
      .counter-form .gift-menu .gift-cover:hover .username {
        color: #fff; }
      .chat .gift-menu .gift-cover:hover:before,
      .counter-form .gift-menu .gift-cover:hover:before {
        -webkit-transform: scale(1);
        transform: scale(1); }
    .chat .gift-menu .gallery-slider,
    .counter-form .gift-menu .gallery-slider {
      padding: 0; }
  .chat .gift-column,
  .counter-form .gift-column {
    width: 40px; }
    .chat .gift-column .anchor-btn,
    .counter-form .gift-column .anchor-btn {
      height: 36px;
      width: 36px;
      display: block;
      background-color: transparent;
      border: 0;
      border-radius: 50%; }
      .chat .gift-column .anchor-btn .border-path,
      .counter-form .gift-column .anchor-btn .border-path {
        transition: fill .3s; }
      .chat .gift-column .anchor-btn .glow-fast,
      .counter-form .gift-column .anchor-btn .glow-fast {
        -webkit-animation: animation-glow .5s ease infinite;
        animation: animation-glow .5s ease infinite; }
      .chat .gift-column .anchor-btn .glow-slow,
      .counter-form .gift-column .anchor-btn .glow-slow {
        -webkit-animation: animation-glow 1s ease infinite;
        animation: animation-glow 1s ease infinite; }
      .chat .gift-column .anchor-btn .glow-middle,
      .counter-form .gift-column .anchor-btn .glow-middle {
        -webkit-animation: animation-glow .8s ease infinite;
        animation: animation-glow .8s ease infinite; }
      .chat .gift-column .anchor-btn:hover .border-path, .chat .gift-column .anchor-btn.active .border-path,
      .counter-form .gift-column .anchor-btn:hover .border-path,
      .counter-form .gift-column .anchor-btn.active .border-path {
        fill: #ff9100; }
  .chat .scrolled,
  .counter-form .scrolled {
    height: 100%;
    overflow: hidden;
    padding: 10px 0 15px; }
  .chat .messages,
  .counter-form .messages {
    height: calc(100% - 54px); }
    .chat .messages .divider,
    .counter-form .messages .divider {
      text-align: center;
      font-weight: 600;
      font-size: 13px;
      overflow: hidden; }
      .chat .messages .divider > span,
      .counter-form .messages .divider > span {
        display: inline-block;
        position: relative;
        padding: 5px 10px; }
        .chat .messages .divider > span:before, .chat .messages .divider > span:after,
        .counter-form .messages .divider > span:before,
        .counter-form .messages .divider > span:after {
          content: '';
          display: block;
          height: 1px;
          width: 1000px;
          position: absolute;
          top: 50%;
          background: rgba(255, 255, 255, 0.1); }
        .chat .messages .divider > span:after,
        .counter-form .messages .divider > span:after {
          left: 100%; }
        .chat .messages .divider > span:before,
        .counter-form .messages .divider > span:before {
          right: 100%; }
    .chat .messages .bold,
    .counter-form .messages .bold {
      font-weight: bold; }
  .chat .footer,
  .counter-form .footer {
    position: relative;
    z-index: 4;
    background-color: #161617;
    border-radius: 64px;
    padding: 5px;
    -webkit-transform: translateY(10px);
    transform: translateY(10px); }
    .chat .footer [data-dropdown][data-origin="top-left"] .dropdown-menu,
    .counter-form .footer [data-dropdown][data-origin="top-left"] .dropdown-menu {
      -webkit-transform-origin: 10% 100%;
      transform-origin: 10% 100%;
      -webkit-transform: scale(1) !important;
      transform: scale(1) !important;
      transition: 0s !important; }
      .chat .footer [data-dropdown][data-origin="top-left"] .dropdown-menu:before,
      .counter-form .footer [data-dropdown][data-origin="top-left"] .dropdown-menu:before {
        left: 26px; }
    .chat .footer .layout,
    .counter-form .footer .layout {
      display: table;
      width: 100%;
      table-layout: fixed; }
      .chat .footer .layout .column,
      .counter-form .footer .layout .column {
        display: table-cell;
        vertical-align: middle; }
        .chat .footer .layout .column.textarea,
        .counter-form .footer .layout .column.textarea {
          width: auto;
          border-right: 2px solid #161617; }
        .chat .footer .layout .column.buttons,
        .counter-form .footer .layout .column.buttons {
          width: 380px; }
        .chat .footer .layout .column.small-buttons,
        .counter-form .footer .layout .column.small-buttons {
          width: 84px;
          background-color: #4f4f4f;
          border-radius: 0 24px 24px 0; }
    .chat .footer .send-large,
    .counter-form .footer .send-large {
      border-radius: 0;
      height: 30px;
      width: 30px;
      padding: 0;
      font-size: 18px; }
  .chat .textarea-outer,
  .counter-form .textarea-outer {
    position: relative;
    background-color: #222222;
    border-radius: 24px 0 0 24px; }
    .chat .textarea-outer.bordered,
    .counter-form .textarea-outer.bordered {
      border-bottom: 1px solid #707070;
      padding-left: 0;
      padding-right: 0; }
    .chat .textarea-outer textarea:focus ~ .counter,
    .counter-form .textarea-outer textarea:focus ~ .counter {
      opacity: 1;
      -webkit-transform: translateY(0);
      transform: translateY(0); }
    .chat .textarea-outer .counter,
    .counter-form .textarea-outer .counter {
      font-size: 12px;
      position: absolute;
      z-index: 2;
      transition: .2s;
      bottom: 100%;
      right: 10px;
      background: #111;
      color: #fff;
      padding: 5px 10px;
      border-radius: 4px;
      margin-bottom: -10px;
      pointer-events: none;
      opacity: 0;
      -webkit-transform: translateY(10px);
      transform: translateY(10px); }
    .chat .textarea-outer .progress,
    .counter-form .textarea-outer .progress {
      display: block;
      margin-top: 5px;
      background: rgba(255, 255, 255, 0.2); }
      .chat .textarea-outer .progress span,
      .counter-form .textarea-outer .progress span {
        display: block;
        height: 2px;
        width: 0;
        background: #ff9100; }
  .chat textarea.input,
  .counter-form textarea.input {
    height: 36px;
    min-height: 10px;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    padding: 5px 10px;
    transition: box-shadow .2s;
    border-radius: 24px 0 0 24px; }
    .chat textarea.input.scroll,
    .counter-form textarea.input.scroll {
      overflow-y: auto; }
  .chat .message-item,
  .counter-form .message-item {
    border-bottom: 1px solid #949494; }
    .chat .message-item:last-child,
    .counter-form .message-item:last-child {
      border-bottom: 0; }
  .chat .message-list,
  .counter-form .message-list {
    font-size: 14px; }
  .chat .message, .chat .private-message,
  .counter-form .message,
  .counter-form .private-message {
    display: block;
    position: relative;
    padding-left: 65px;
    min-height: 36px;
    padding: 8px 15px 5px 65px;
    text-align: left;
    overflow: hidden; }
    .chat .message .image, .chat .private-message .image,
    .counter-form .message .image,
    .counter-form .private-message .image {
      position: absolute;
      top: 6px;
      left: 15px;
      width: 26px;
      height: 26px; }
      .chat .message .image img, .chat .private-message .image img,
      .counter-form .message .image img,
      .counter-form .private-message .image img {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        overflow: hidden; }
      .chat .message .image .icon-vip, .chat .private-message .image .icon-vip,
      .counter-form .message .image .icon-vip,
      .counter-form .private-message .image .icon-vip {
        color: #ff9100; }
      .chat .message .image .icon, .chat .private-message .image .icon,
      .counter-form .message .image .icon,
      .counter-form .private-message .image .icon {
        position: absolute;
        text-align: center;
        left: 100%;
        top: 4px;
        margin-left: 8px; }
    .chat .message .content, .chat .private-message .content,
    .counter-form .message .content,
    .counter-form .private-message .content {
      white-space: nowrap;
      padding: 0;
      display: inline-block;
      color: #fff; }
      .chat .message .content .name, .chat .private-message .content .name,
      .chat .message .content .text,
      .chat .private-message .content .text,
      .counter-form .message .content .name,
      .counter-form .private-message .content .name,
      .counter-form .message .content .text,
      .counter-form .private-message .content .text {
        display: inline-block;
        vertical-align: top; }
      .chat .message .content .name, .chat .private-message .content .name,
      .counter-form .message .content .name,
      .counter-form .private-message .content .name {
        white-space: nowrap;
        text-decoration: none;
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 4px;
        color: #a2a2a2; }
        .chat .message .content .name:hover, .chat .private-message .content .name:hover,
        .counter-form .message .content .name:hover,
        .counter-form .private-message .content .name:hover {
          color: #ff9100; }
      
      .chat .message .content .text,
      .chat .private-message .content .text,
      .counter-form .message .content .text,
      .counter-form .private-message .content .text {
        white-space: normal;
        line-height: 17px;
        max-width: 90%;
        padding: 0 5px;
        border-radius: 2px; }
        .chat .message .content .text img, .chat .private-message .content .text img,
        .counter-form .message .content .text img,
        .counter-form .private-message .content .text img {
          display: inline-block;
          vertical-align: top;
          width: 16px;
          height: 16px;
          margin: 10px; }
          .chat .message .content .text img.sticker, .chat .private-message .content .text img.sticker,
          .counter-form .message .content .text img.sticker,
          .counter-form .private-message .content .text img.sticker {
            width: auto;
            height: auto;
            max-width: 64px;
            max-height: 64px;
            width: 100%;
            height: 100%;
            margin-left: 2px; }
      .chat .message .content .primary, .chat .private-message .content .primary,
      .counter-form .message .content .primary,
      .counter-form .private-message .content .primary {
        margin-right: 3px; }
      .chat .message .content .btn, .chat .private-message .content .btn,
      .counter-form .message .content .btn,
      .counter-form .private-message .content .btn {
        margin: 0;
        height: 24px;
        line-height: 14px; }
    .chat .message.system .content, .chat .system.private-message .content,
    .counter-form .message.system .content,
    .counter-form .system.private-message .content {
      background: linear-gradient(135deg, #ffd700, #ffb300);
      color: #1a1a1a;
      border: 2px solid #ffc107;
      border-radius: 10px;
      padding: 8px 12px;
      font-weight: 600;
      text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
      box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4); }
      .chat .message.system .content .text, .chat .system.private-message .content .text,
      .counter-form .message.system .content .text,
      .counter-form .system.private-message .content .text {
        max-width: 100%; }
    .chat .message.vip .content .name, .chat .vip.private-message .content .name,
    .counter-form .message.vip .content .name,
    .counter-form .vip.private-message .content .name {
      color: #ff9100; }
    .chat .message.error .content, .chat .error.private-message .content,
    .counter-form .message.error .content,
    .counter-form .error.private-message .content {
      background: #661c00;
      color: rgba(255, 255, 255, 0.7);
      color: #fff; }
      .chat .message.error .content .text, .chat .error.private-message .content .text,
      .counter-form .message.error .content .text,
      .counter-form .error.private-message .content .text {
        max-width: 100%; }
    .chat .message.success .content, .chat .success.private-message .content,
    .counter-form .message.success .content,
    .counter-form .success.private-message .content {
      background: #2baf2b;
      font-weight: bold; }
      .chat .message.success .content .text, .chat .success.private-message .content .text,
      .counter-form .message.success .content .text,
      .counter-form .success.private-message .content .text {
        max-width: 100%; }
    .chat .message.action .content, .chat .action.private-message .content,
    .counter-form .message.action .content,
    .counter-form .action.private-message .content {
      color: #2DB72D; }
    .chat .message.final .name, .chat .final.private-message .name,
    .counter-form .message.final .name,
    .counter-form .final.private-message .name {
      color: #fff;
      margin-left: 5px; }
      .chat .message.final .name:hover, .chat .final.private-message .name:hover,
      .counter-form .message.final .name:hover,
      .counter-form .final.private-message .name:hover {
        color: rgba(255, 255, 255, 0.7); }
    .chat .message.final .content, .chat .final.private-message .content,
    .counter-form .message.final .content,
    .counter-form .final.private-message .content {
      background: #cc7400;
      color: #fff;
      font-weight: bold; }
    .chat .message.author .content, .chat .author.private-message .content,
    .counter-form .message.author .content,
    .counter-form .author.private-message .content {
      padding: 2px;
      border-radius: 2px; }
      .chat .message.author .content .text, .chat .author.private-message .content .text,
      .counter-form .message.author .content .text,
      .counter-form .author.private-message .content .text {
        background-color: rgba(255, 255, 255, 0.1); }
  .chat .divider-item,
  .counter-form .divider-item {
    margin: 25px 0 15px; }

.message-fake-block-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none; }

.message-fake-block {
  position: absolute;
  top: 0;
  right: 101%;
  background: #090;
  padding: 5px 12px 5px 10px;
  font-size: 14px;
  line-height: 24px;
  overflow: hidden; }

/*controls*/
.chat .controls {
  display: table;
  width: 100%;
  height: 100%;
  table-layout: fixed; }
  .chat .controls .control {
    display: table-cell;
    vertical-align: middle; }
    .chat .controls .control.smile {
      padding: 0 10px;
      text-align: center;
      width: 45px; }
      .chat .controls .control.smile .btn {
        height: 30px;
        width: 30px; }
      .chat .controls .control.smile .gray-smile {
        height: 24px;
        width: 24px;
        display: inline-block;
        background-color: #ccc;
        border-radius: 50%;
        line-height: 20px; }
        .chat .controls .control.smile .gray-smile .full-icon {
          font-size: 20px;
          color: #000; }
    .chat .controls .control.private {
      padding: 0 10px;
      width: 40px; }
    .chat .controls .control.send {
      padding: 0 10px;
      width: 40px; }

@media (max-width: 1024px) {
  .chat .message.author .content .text, .chat .author.private-message .content .text {
    background-color: transparent; }
  .chat .controls {
    padding: 0; }
    .chat .controls .control.private, .chat .controls .control.smile {
      padding: 0 3px;
      width: 50px;
      text-align: right; }
      .chat .controls .control.private .btn.btn-block, .chat .controls .control.smile .btn.btn-block {
        display: inline-block; }
  .chat .footer .layout .column.small-buttons {
    padding: 0 15px;
    width: 130px; }
  .chat .gift-menu {
    margin-bottom: 0;
    border-radius: 0; } }

@media (max-width: 1024px) {
  .chat .message .content, .chat .private-message .content {
    white-space: normal;
    padding: 0 10px; }
  .chat .footer .layout .column.small-buttons {
    padding: 0 5px;
    width: 110px; } }

@media (max-width: 480px) {
  .chat .message .btn-cover, .chat .private-message .btn-cover {
    display: block;
    margin-top: 5px; }
    .chat .message .btn-cover .btn, .chat .private-message .btn-cover .btn {
      width: 50%; }
  .chat .footer .layout .column.small-buttons {
    width: 84px; } }

/* New Chat UI Styles */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.message-list-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column-reverse; /* Newest messages at the bottom */
}

.chat-input-area {
    display: flex;
    align-items: center;
    padding: 8px;
    background-color: #222;
    border-top: 1px solid #333;
}

.chat-textarea {
    flex-grow: 1;
    border: none;
    padding: 10px;
    border-radius: 18px;
    background-color: #333;
    color: #fff;
    resize: none;
    overflow-y: hidden; /* Hide scrollbar, handled by JS */
    font-size: 14px;
    line-height: 1.4;
    max-height: 100px; /* Limit expansion */
    transition: background-color 0.2s;
}

.chat-textarea:focus {
    outline: none;
    background-color: #444;
}

.chat-control-btn {
    background: none;
    border: none;
    color: #8e8e8e;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    margin-left: 4px;
    transition: color 0.2s;
}

.chat-control-btn:hover {
    color: #fff;
}

#send_tip_btn, #send_gift_btn {
    color: #ff9100; /* Highlight monetization buttons */
}

#send_msg_btn {
    background-color: #ff9100;
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#send_msg_btn:hover {
    background-color: #e08000;
}

/* Add styles for message bubbles if they don't exist */
.message-bubble {
    padding: 8px 12px;
    border-radius: 18px;
    margin-bottom: 8px;
    max-width: 75%;
    word-wrap: break-word;
}

.message-bubble.current-user {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
}

.message-bubble.host {
    background-color: #e5e5ea;
    color: black;
    align-self: flex-start;
}

.message-bubble.system {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #1a1a1a;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
    align-self: center;
    text-align: center;
    font-size: 12px;
    font-style: italic;
}

/* Modal Styles */
.chat-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.chat-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #2c2c2e;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    color: #fff;
}

.modal-content .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
}

.tip-amounts {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
}

.tip-option {
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #444;
    border: 1px solid #555;
    color: #fff;
    cursor: pointer;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.gift-item {
    text-align: center;
    cursor: pointer;
}

.gift-item img {
    width: 60px;
    height: 60px;
    background-color: #444;
    border-radius: 8px;
    padding: 5px;
}

.gift-item span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #ffc107;
}

/* Emoji Picker Styles */
.emoji-picker {
    display: none;
    position: absolute;
    bottom: 100%; /* Position above the input area */
    left: 0;
    width: 300px;
    height: 200px;
    background-color: #2c2c2e;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    padding: 10px;
    margin-bottom: 5px;
}

.emoji-picker.active {
    display: block;
}

.emoji-grid {
    height: 100%;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    gap: 5px;
}

.emoji {
    cursor: pointer;
    font-size: 22px;
    text-align: center;
    padding: 2px;
    border-radius: 4px;
}

.emoji:hover {
    background-color: #444;
}



