/* GLOBAL STYLES */

:root {
  --background: #253118;
  --primary-black: #181d14;
  --secondary-green: #9ee8c5;
  --scrollbar-green: rgba(158, 232, 197, 0.5);
  --tertiary-grey: #e2e2e2;
  --subtitle-green: #93a59c;
  --primary-grey: #606060;
  --accent-yellow: #d6ff7f;
  --error-red: #c3115b;
  --chat-background: #181d14;
  --primary-font: "Inconsolata", monospace;
  --secondary-font: "Karla", sans-serif;
}

.border-chatbot {
  border: 2px solid var(--secondary-green);
  border-radius: 3px 0 3px 3px;
}
.border-user {
  border: 2px solid var(--tertiary-grey);
  border-radius: 3px;
}

.backg-primary {
  background-color: var(--secondary-green);
}
.backg-secondary {
  background-color: var(--tertiary-grey);
}
.backg-field-backdrop {
  background-color: var(--primary-black);
}

/* STYLE GUIDE FONTS */
.font-body-subtle {
  font-family: var(--secondary-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 16.8px;
}

.font-empty-field {
  font-family: var(--secondary-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.font-default-btn {
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 16.78px;
}

.font-pretitle {
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 16.78px;
  text-transform: uppercase;
}

h1 {
  font-family: var(--primary-font);
  color: var(--primary-black);
  font-size: 30px;
  font-weight: 600;
  line-height: 31.47px;
  text-align: left;
}

h2 {
  font-family: var(--primary-font);
  color: var(--primary-black);
  font-size: 25px;
  font-weight: 600;
  line-height: 26.22px;
  text-align: left;
  text-transform: uppercase;
}

h3 {
  font-family: var(--primary-font);
  color: var(--primary-black);
  font-size: 20px;
  font-weight: 600;
  line-height: 20.98px;
  text-align: left;
  text-transform: uppercase;
}

h4 {
  font-family: var(--primary-font);
  color: var(--primary-black);
  font-size: 20px;
  font-weight: 600;
  line-height: 25px;
  text-align: left;
  margin-bottom: 0;
}

/* PAGE STRUCTURE */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  height: 100%;

  font-family: var(--secondary-font);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: var(--tertiary-grey);

  background-color: var(--background);
  background: radial-gradient(
    circle,
    #253118 0%,
    #223014 20%,
    #1b2810 35%,
    #192211 47%,
    #141a0c 60%,
    #13170e 70%,
    #0f140a 85%,
    #0b0f07 100%
  );
}

.main-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 1.5em;
  gap: 0.5em;
}

.main-content {
  grid-template-columns: 1fr 1fr;
  margin: 30vh auto 0;
  gap: 2em;
  z-index: 10;
}

.messages-container {
  gap: 0.5em;
  height: 40%;
  min-width: 50vw;
  max-width: 50vw;
  margin: 0 auto 20px;
}

/* HEADER */

.header {
  display: flex;
  flex-flow: row nowrap;
  gap: 2em;
  padding: 0.5em;
  align-items: center;
  justify-content: space-between;
  background-color: var(--secondary-green);
}

.header-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
}

#header {
    display: flex;
    justify-content: space-between;
}

#header #page-selector {
    text-align: center;
    display: inline-block;
    border: 1px solid #93a59c;
    border-radius: 6px;
    padding: 6px 4px;
    width:144px;
    max-height: 34px;
}

#header #page-selector-inner {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#header #page-selector #slider {
    position: absolute;
    top: -6px;
    left: -4px;
    width: 71px;
    height: 33px;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #9EE8C5;
    transition: transform 0.3s ease;
}

#header #page-selector #page-selector-inner .svg-wrapper#feed-button svg {
    margin-top: -4px;
}

#header #page-selector #page-selector-inner .svg-wrapper#chat-button {
    margin-left: -5px;
}

#header #page-selector #page-selector-inner .svg-wrapper.active,
#header #page-selector .svg-wrapper.active mask rect,
#header #page-selector .svg-wrapper.active g path,
#header #page-selector .svg-wrapper.active path {
    color: var(--secondary-green);
    fill: var(--secondary-green);
}

#header #page-selector #page-selector-inner .svg-wrapper,
#header #page-selector .svg-wrapper mask rect,
#header #page-selector .svg-wrapper g path,
#header #page-selector .svg-wrapper path {
    color: var(--tertiary-grey);
    fill: var(--tertiary-grey);
}

#header #page-selector #page-selector-inner .svg-wrapper:hover,
#header #page-selector .svg-wrapper:hover mask rect,
#header #page-selector .svg-wrapper:hover g path,
#header #page-selector .svg-wrapper:hover path {
    color: var(--secondary-green);
    fill: var(--secondary-green);
}

.app-title {
  margin-bottom: 0;
  color: var(--accent-yellow);
  width: 205px;
  height: 40px;
  background-color: var(--primary-black);
  display: flex; /* Use Flexbox for alignment */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center; /* Center text if it spans multiple lines */
}

.model-select {
  width: fit-content !important;
}

.model-prompt-select {
  width: 100%;
  max-width: 300px;
  padding: 10px;
  border: 2px solid var(--accent-yellow);
  border-radius: 0;
  background-color: var(--chat-background);
  color: var(--tertiary-grey);
  font-size: 16px;
  box-sizing: border-box;
}

/* Style the options */
.model-prompt-select option {
  background-color: var(--chat-background);
  color: var(--tertiary-grey);
  padding: 10px;
}

.font-primary {
  color: var(--secondary-green);
}

/* MESSAGES */

.window-title {
  color: var(--bs-body-color);
  padding: 0.5em;
  margin-bottom: 0;
  line-height: 22px;
}

.messages-bot-div {
  margin-bottom: 10px;
}

.messages {
  display: flex;
  /* min-height: min-content; */
  min-height: 30vh;
  max-height: 38vh;
  flex-direction: column;
  color: var(--secondary-green);
  font: var(--secondary-font);
  word-wrap: break-word; /* Ensures long words wrap */
  overflow-wrap: break-word;
  width: 100%; /* Optional: Ensure it takes full width of its container */
  box-sizing: border-box;
  overflow-y: scroll;
  overflow-x: hidden;
  line-height: 26px;
  padding: 0 10px;
}

.messages::-webkit-scrollbar {
  width: 4px;
}

.messages::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-green);
  border-radius: 4px;
  opacity: 50%;
}

.messages::-webkit-scrollbar-track {
  background: auto;
  border-radius: 4px;
  margin-top: 10px;
  margin-bottom: 10px;
}

#ident-tag {
    color: var(--secondary-green);
    margin: .5rem 0 0 1.2rem;
    opacity: 0.6;
    font-size:12px;
}

#footer-center #audio-controls {
    margin-left: .35rem;
}

#ident-audio-ref {
    color: darkgrey;
    margin: .3rem 0 0 0;
    opacity: 0.6;
    font-size:12px;
    padding: 4px;
}

#audio-on-button, #audio-off-button {
    margin: 0 auto 0 .5rem;
    border-radius: 6px;
}

#footer-upper #audio-on-button, #footer-upper #audio-off-button {
    margin: 0 auto;
}

#footer-upper #submit-post-button {
    margin: 0 .5rem 1rem 0;
}

#submit-post-button {
    margin: 0 3rem 1rem 0;
    border-radius: 6px;
}

#submit-post-button a {
    color: black;
    text-decoration: none;
}

#mobile-menu-wrapper > #mobile-menu-trigger-wrapper {
    margin-left: 10%;
}

#mobile-menu-wrapper {
    width: auto;
    display: flex;
    margin-right: 7px;
}

#mobile-menu-wrapper #submit-post-button {
    width: 83px;
    min-width: 83px;
    margin: 0;
}

#mobile-menu-wrapper #audio-on-button, #mobile-menu-wrapper #audio-off-button {
    width: 95px;
    min-width: 95px;
}

#mobile-menu-trigger-wrapper {
    margin: 0 10%;
}

#mobile-menu-trigger {
    margin-top: 4px;
    display: none;
}

#mobile-menu {
    border: 1px solid var(--secondary-green);
    border-radius: 4px;
    background-color: var(--primary-black);
    padding: 10px 18px;
    position: absolute;
    top: 63px;
    right: 20px;
    display: none;
    width: 128px;
    text-align: left;
    z-index: 1055;
}

#mobile-menu button, #mobile-menu .footer-button {
    margin: 9px 0;
}

#view-prize-terms-link {
    font-size: small;
    color:var(--secondary-green);
    text-decoration: none;
}

#copy-email-button {
    display: inline-flex;
    width: auto;
    margin-left:auto;
    margin-right:.8rem
}

.modal-body #share-button-row > a {
    width: 32%;
    color: black;
    text-decoration: none;
}

.modal-body .button-row, .modal-body #share-button-row {
    display: flex;
    justify-content: space-between;
}

#submitPostModal .button-row {
    margin-top:12px;
}

#top-buttons-container {
    margin: 20px auto 0;
    min-width: 50vw;
    max-width: 50vw;
    text-align: right
}

#copy-chatlog-button {
    display: inline-flex;
    width: 28%;
    margin-left:auto;
    margin-right:.8rem
}

#return-to-chat-button {
    display: inline-flex;
    width: 70%;
}

.message {
  padding: 0 10px 10px 10px;
}

.message > p {
  white-space: pre-line;
}

.send-message-area {
  display: flex;
}

.message-form {
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding: .6rem 0;
}

textarea:focus {
  border-color: var(--primary-black);
  outline: none;
}

.input-container {
  display: block;
  flex: 1;
}

.message-input {
  padding: 1em;
  display: block;
  width: 95%;
  max-height: 75px;
  overflow: scroll;
  resize: none;
  border: none;
  border-radius: 0;
  background-color: var(--base-body-text);
  color: white;
  font: var(--secondary-font);
  box-sizing: border-box;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.message-input::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.message-input {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.send-message-container {
  display: flex;
  justify-content: right;
  align-items: center;
  height: 50px;
}

.send-message-container p {
  font: var(--tertiary-grey);
  opacity: 60%;
  flex-grow: 1;
  margin-left: 15px;
}

.send-button {
  border: none;
  background-color: var(--tertiary-grey);
  border-radius: 0;
  color: var(--bs-body-color);
  --bs-btn-hover-color: var(--bs-body-color);
  width: 30px;
  height: 30px;
  margin: 0 10px 10px 0;
}

.send-button:hover {
    background-color: var(--secondary-green);
}

.help-chat-btn:focus, .button-svg:focus {
  border: 2px solid #c3115b;
}

.help-chat-btn {
  margin-top: 15px;
  margin-left: auto;
  color: var(--secondary-green);
}

.fade-in {
  opacity: 1;
  transition-duration: 10s;
}

.fade-out {
  opacity: 0;
}

.fade-in-text {
  opacity: 0;
  transition-duration: 2s;
  display: inline;
}

.ai-activity-notification {
  width: 95%;
  margin: 15px auto;
  font-size: 16px;
}

.ai-activity-message {
  margin: 0;
  padding: 0;
}

/* FOOTER */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 97%;
  margin: 0 0 10px 10px;
  z-index: 21;
}

#footer-upper {
  text-align: center;
}

#footer-lower {
  display: flex;
  flex-flow: row wrap;
  gap: 2em;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-flow: row wrap;
  gap: 2em;
}

.footer-links a,
.footer-links p {
  color: gray;
  margin-bottom: 0;
}

.footer-button {
  cursor: pointer;
}

.footer-button span {
  color: var(--secondary-green);
}

.footer-button.font-primary:hover {
  color: var(--tertiary-grey);
}

.footer-button.font-primary:hover svg path {
  fill: var(--tertiary-grey);
}

#footer #new-chat-btn {
    padding-left: 20px;
}

#about-info-link svg {
	vertical-align: middle;
}

.about-body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
}

.clickable {
	cursor: pointer;
}

/* MODALS */

/*When the modal fills the screen it has an even 4% on top and bottom*/
.modal-dialog {
    margin: 4vh auto;
}

.modal-response {
  white-space: pre-line;
}

.modal-content {
  background-color: var(--primary-black);
  border: 2px solid var(--secondary-green);
  border-radius: 0px;
  max-height: 92vh;
}

.modal-header {
  background-color: var(--secondary-green);
  border-radius: 0px;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
}

.modal-body {
  color: var(--secondary-green);
  font-weight: 300;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-body a {
  color: var(--tertiary-grey);
}

/* Buttons */
.button {
  display: inline-block;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 5px;

  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 600;

  color: var(--primary-black);

  width: 150px;
  height: 34px;

  flex: none;
  order: 1;
  flex-grow: 0;
}

.button-black {
  background: var(--primary-black);
  border: 1px solid var(--secondary-green);
  color: var(--secondary-green);
}

.button-green {
  background: var(--secondary-green);
  border: 1px solid var(--primary-black);
}

.button-grey {
  background: var(--tertiary-grey);
  border: 1px solid var(--tertiary-grey);
}

.button-yellow {
  background: var(--accent-yellow);
  border: 1px solid var(--primary-black);
}

.button-grey:hover,
.button-yellow:hover {
  text-transform: uppercase;
}

.button.button-green:hover {
    background-color: var(--tertiary-grey);
}

.button.button-green:hover svg path {
    fill: var(--primary-black);
}

.button.button-black:hover {
    color: var(--primary-black);
    background-color: var(--secondary-green);
}

.button.button-black:hover svg path {
    fill: var(--primary-black);
}

.button-svg {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}

.button-text-only {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.link-share-green {
  color: var(--secondary-green); /* Inherit color from parent element */
  text-decoration: none;
  margin-bottom: 20px;
  display: block;
}

.link-share-yellow {
  color: var(--accent-yellow); /* Inherit color from parent element */
  text-decoration: none;
  margin-bottom: 20px;
  display: block;
}

.link-share svg {
  margin-right: 10px;
}

/* Nucleus */
.nucleus-container {
  transition: opacity 1s ease-in-out;
  position: fixed;
  top: 0;
  left: 14vw;
  opacity: .95;
  width: 70vw;
  height: 45vh;
}
/* drawn from figma and modified */
#chat-log-button, #need-help-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 12px 10px 10px;
    margin-right: -1px;

    width: auto;
    height: auto;

    background: rgba(226, 226, 226, 0.1);
    /* background-color: #e2e2e210; var(--tertiary-grey); 10% */
    border-radius: 3px 3px 0px 0px;

    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
}

#chat-log-button span, #need-help-button span {
    color: var(--secondary-green);
    display:inline-block;
}

#chat-log-button:hover span, #need-help-button:hover span {
    color: var(--tertiary-grey);
}

#chat-log-button:hover svg path, #need-help-button:hover svg path {
    fill: var(--tertiary-grey);
}

/* Welcome screen */
.welcome-screen-container {
  position: absolute;
  display: block;
  white-space: pre-wrap;
  top: 0;
  left: 0;
  margin: 10px;
  padding: 10px;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    #253118 0%,
    #223014 20%,
    #1b2810 35%,
    #192211 47%,
    #141a0c 60%,
    #13170e 70%,
    #0f140a 85%,
    #0b0f07 100%
  );
  z-index: 1000;
}

.welcome-screen {
  width: 90%;
}

.welcome-screen .line {
  opacity: 0;
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  transition: opacity 200ms ease, transform 200ms ease;
}

.welcome-screen .line.visible {
  opacity: 1;
}

.welcome-screen .line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cmask%20id%3D%22mask0_608_37946%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23D9D9D9%22/%3E%3C/mask%3E%3Cg%20mask%3D%22url%28%23mask0_608_37946%29%22%3E%3Cpath%20d%3D%22M10%2017V7L15%2012L10%2017Z%22%20fill%3D%22%237FFFC2%22/%3E%3Cpath%20d%3D%22M10%2017V7L15%2012L10%2017Z%22%20fill%3D%22%239EE8C5%22/%3E%3C/g%3E%3C/svg%3E');
  background-size: cover;
}

.welcome-screen button {
  height:34px;
  padding: 0 11px;
}

.welcome-screen svg {
  margin-left: 10px;
}

#logo-container {
	margin: 0 0 30px 20px;
}

@media (max-width: 1100px) {
  .messages-container, #top-buttons-container {
    min-width: 65vw;
    max-width: 65vw;
  }
  .main-content {
    margin: 30vh auto 0;
  }
    #footer {
        width: 94%;
    }
}

@media (max-width: 600px) {
  .messages-container, #top-buttons-container {
      min-width: 80vw;
      max-width: 80vw;
  }
  .main-content {
    margin: 30vh auto 0;
  }
  #footer {
      width: 91%;
  }
}

/* mobile */
@media (max-width: 440px) {
    .nucleus-container {
	  display: none;
    z-index: -10;
    }
    .messages-container {
	  height: 80%;
    }
    .footer {
	  width: 92%;
      margin: 0 0 10px 15px;
    }
    .messages {
      min-height: 40vh;
      max-height: 70vh;
    }
    .message-input {
	  height: 50px;
	  max-height: 100px;
    }
    .modal-body #share-button-row {
      flex-direction: column;
    }
    .modal-body #share-button-row > a {
        width: 100%;
    }
}

@media only screen and (max-height: 450px) and (min-width: 441px) and (max-width: 950px) {
	.nucleus-container {
		display: none;
    z-index: -10;
	}
    #mobile-menu-trigger {
             display: block;
    }
    #footer {
        display: none;
    }
    #chatbot-output, .messages-bot-div {
        margin-bottom: 4px;
    }
}

 /* These second five are for the remaining screen widths. */
@media only screen and (max-height: 1200px) and (min-width: 951px) {
	.messages {
		min-height: 20vh;
	}
}

@media only screen and (max-height: 700px) and (min-width: 951px) {
	.messages {
		min-height: 20vh;
	}
    .messages-container {
        height: 28%;
    }
    .main-content {
        margin: 20vh auto 0;
    }
}

@media only screen and (max-height: 956px) {
    .nucleus-container {
        display: none;
    }
    .main-content {
        margin: 0 auto;
    }
    .messages-container {
        height: 28%;
    }
}

@media only screen and (max-width: 600px) and (max-height: 956px) {
    #mobile-menu-trigger {
        display: block;
    }
    #footer {
        display: none;
    }
    #chatbot-output, .messages-bot-div {
        margin-bottom: 4px;
    }
}

@media only screen and (max-height: 550px) and (min-width: 951px) {
    .messages {
      min-height: 20vh;
    }
}

@media only screen and (max-height: 550px) {
    #mobile-menu-trigger {
        display: block;
    }
    #footer {
        display: none;
    }
    .messages-container #chatbot-output.messages-bot-div {
        margin-bottom: 4px;
    }
}

@media only screen and (max-height: 450px) and (min-width: 951px) {
    .messages {
      min-height: 20vh;
    }
    .nucleus-container {
      display: none;
      z-index: -10;
    }
    #mobile-menu-trigger {
        display: block;
    }
    #footer {
        display: none;
    }
    .messages-container #chatbot-output.messages-bot-div {
        margin-bottom: 4px;
    }
}

 /* These last ones are for when screen gets quite large. -- Make text boxes lower on screen and give more space to nucleus. */
@media only screen and (min-height: 1000px) and (min-width: 800px) {
	.messages-container {
		height: 28%;
	}
	.messages {
		min-height: 17vh;
		max-height: 19vh;
	}
}

@media only screen and (min-height: 955px) and (min-width: 400px) {
	.messages-container {
		height: 24%;
	}
	.messages {
		min-height: 19vh;
		max-height:22vh;
	}
}

/* make some dialogs wider at wider screen widths */
@media only screen and (min-width: 1200px) {
    .modal-dialog.wide {
        max-width: 750px;
    }
}

/* for dialog button rows at narrower widths, have them stack */
@media only screen and (max-width: 1200px) {
    .button-row {
        display: flex;
        flex-direction: column;
    }
    .button-row > button.button {
        width: 100% !important;
        margin-bottom: .3rem;
    }
    .button-row #copy-email-button {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media only screen and (min-height: 1200px) and (min-width: 1500px) {
	.messages-container {
		height: 18%;
	}
	.messages {
		min-height: 12vh;
		max-height: 18vh;
	}
}

/* Overlay styles */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 70% black opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease; /* Fade animation */
    opacity: 1; /* Initial state */
}

/* Hide overlay */
.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Start button styles */
#startButton {
    padding: 15px 30px;
    background-color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
}

#startButton:hover {
    background-color: #cccccc;
}

.admin-select-forms {
  display:flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  gap:10px;
}

.admin-select-form {
  width: 100%;
  max-width: 300px;
  padding: 10px;
  border: 2px solid var(--accent-yellow);
  border-radius: 0;
  background-color: var(--chat-background);
  color: var(--tertiary-grey);
  font-size: 16px;
  box-sizing: border-box;
}

.checkmark {
  width: 34px;
  height: 34px;
}

#chatbot-output {
    margin-bottom: 10px;
}

/* FEED */
.feed-overlay {
  position: relative;
  height: 80vh;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  overflow-y: scroll;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  scrollbar-width: none;
}

.feed-container {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.feed-content {
  max-width: 1200px;
  width: 100%;
  column-width: 300px;
  gap: 20px;
}

.feed-item {
  background: var(--primary-black);
  border-radius: 2px;
  border: 1px solid var(--subtitle-green);
  padding: 10px;
  overflow: hidden;
  flex-direction: column;
  font-family: var(--secondary-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: var(--subtitle-green);
  break-inside: avoid;
  margin-bottom: 20px;
}

.feed-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feed-item-has-prize {
  box-shadow: 0px 0px 40px 0px #9EE8C533 inset;
}

.feed-item-prize-style {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-family: Inconsolata;
  font-weight: 600;
  font-size: 12px;
  line-height: 12.59px;
  letter-spacing: 0%;
  color: #9EE8C5B2;
}

#load-more-feed {
  display: block;
  color: white;
  padding: 10px 20px;
  margin: 0 auto;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
  align-items: center;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 5px;
}

/* Disabled state */
#load-more-feed.disabled {
  background-color: transparent;
  border: 2px solid var(--primary-grey);
  color: var(--primary-grey);
  cursor: not-allowed;
}

/* Blinking dots effect */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

#feed-loading-dots span {
  color: var(--secondary-green);
  display: block;
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
  animation: blink 1.5s infinite;
}

#feed-loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

#feed-loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

#feed-buffer {
  margin-bottom: 200px;
}

.caption {
  margin-top: 10px;
}

.user-info {
  margin-top: 5px;
  font-family: var(--secondary-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 16.8px;
}
