@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

:root {

  --color-main-light: #000000;
  --color-dark: #ffffff;
  --color-dark-medium: #edf3f7;
  --color-dark-light: #757575;
  --color-light: #202020;
  --color-gray: #8b8b8b;
  --color-light-gray: #202020;
  --color-bg: #ffffff;
  --color-success: #5dd693;
  --color-error: #fc4b0b;
}

/*========== base styles ==========*/

* {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  /* color: inherit; */
  font-size: inherit;
}

html {
  font-size: 56.25%;
}

@media only screen and (min-width: 1200px) {
  html {
    font-size: 62.5%;
  }
}

@media only screen and (min-width: 2100px) {
  html {
    font-size: 75%;
  }
}

body {
  line-height: 1.6;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--color-light-gray);
  background-color: var(--color-bg);
  min-height: 100vh;
}

img {
  width: 100%;
}

a {
  display: inline-block;
  color: var(--color-main);
  text-decoration: none;
}

/*========== components ==========*/
.container {
  width: 100%;
  margin: 0px;      /* add spacing around container */
}

.container.feed-container {
  margin: 0 auto !important;
  box-sizing: border-box;
}


.feed-container {
  box-sizing: border-box;   /* include padding in width calculations */
  width: 100%;
  margin: 0 auto;           /* centers the feed */
}

.efr2 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important; /* Align sent messages to the right */
  margin-bottom: 10px !important;
}

.efr3 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important; /* Align received messages to the left */
  margin-bottom: 10px !important;
}

.message-sent {
  background-color: #dcf8c6 !important;
  padding: 10px !important;
  border-radius: 10px !important;
  max-width: 80% !important;
  word-wrap: break-word !important;
  text-align: right !important;
}

.message-received {
  background-color: #ebebeb !important;
  padding: 10px !important;
  border-radius: 10px !important;
  max-width: 80% !important;
  word-wrap: break-word !important;
  text-align: left !important;
}

.avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  margin-right: 10px !important;
  overflow: hidden !important;
}

.avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.content3 {
  padding: 2px !important;
  word-wrap: break-word !important;
  display: inline-block !important;
  margin-left: 0 !important;
}


.efr2{
  align-items: end !important;

}


.message-display {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  padding: 10px !important;
  overflow-y: auto !important;
  max-height: 80vh !important;
  gap: 10px !important;
}

.efr3, .eheh12 {
  display: flex !important;
  width: auto !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
  margin-bottom: 10px !important;
}



.message-sent, .message-received {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  padding: 10px !important;
  background-color: #761313 !important;
  border-radius: 0px !important;
}

.avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  margin-right: 10px !important;
  overflow: hidden !important;
}

.avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.content3 {
  flex: 1 !important;
  padding: 0px !important;
  border-radius: 0px !important;
  text-align: left !important;
  word-wrap: break-word !important;
}



.efr3, .eheh12 {
  display: flex !important;
  align-items: start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  padding: 5px 0 !important;
}



.avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  margin-right: 10px !important;
}

.avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.content3 {
  padding: 2px !important;
  border-radius: 0px !important;
  text-align: left !important;
  word-wrap: break-word !important;
  margin-left: 0 !important;
  display: inline-block !important;
}

/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
}

.modal-content {
  background-color: white;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 30%; /* Could be more or less, depending on screen size */
  text-align: center;
  border-radius: 10px;
}

.confirm-delete {
  background-color: red;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
}

.cancel-delete {
  background-color: gray;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.confirm-delete:hover,
.cancel-delete:hover {
  opacity: 0.8;
}

.btn {
  background-color: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all ease-in-out 0.3s;
  padding: 1rem 2rem;
  border-radius: 5px;
  box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
  font-weight: 500;
}

.btn--link {
  border-radius: 0;
  padding: 0;
  color: var(--color-main);
  box-shadow: none;
}

.btn--link:hover {
  text-decoration: underline;
}

.btn--main {
  background-color: var(--color-main);
  color: var(--color-dark);
}

.btn:hover {
  opacity: 0.9;
}

.btn--dark {
  background-color: var(--color-dark-light);
  color: var(--color-light);
}

.btn > svg {
  fill: currentColor;
  width: 1.6rem;
  height: 1.6rem;
}

.btn--pill {
  border-radius: 10rem;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 6px 2.5rem;
  color: var(--color-main);
  background: transparent;
  border: 2px solid var(--color-main);
}x

.action-button {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.show-images {
  flex: 1; /* This will keep it aligned to the left */
}

.edit-delete {
flex-direction: row;
align-items: center;
justify-content: center;
margin: 0px !important;
}

.edit-delete {
  display: flex;
  justify-content: center; /* Align buttons in the center horizontally */
  align-items: center; /* Align buttons in the center vertically */
  gap: 10px; /* Add space between the buttons */
  margin-top: 20px; /* Optional: Adjust this value to add space above the buttons */
}

.btn {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
}

.primary {

    background-color: white;
    border: none;
    text-decoration: underline;
    color: rgb(94, 94, 94);
    cursor: pointer; /* Add pointer cursor for interactivity */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover */
}

.btn-primary:hover {
  background-color: #0056b3;
}

.danger {
font-size: 15px;
font-weight: 400;
    background-color: white;
    border: none;
    text-decoration: underline;
    color: rgb(94, 94, 94);
    cursor: pointer; /* Add pointer cursor for interactivity */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover */
}

.btn-danger:hover {
  background-color: #c82333;
}

.edit-post {
  margin: 0; /* Remove any extra margin from the p tag */
}

p {
  margin: 0; /* Ensure paragraphs within buttons don't add extra spacing */
}

.edit-post{
  font-size: 12px;
}




.btn {
  border-radius: 4px;
  font-size: 12px;
}

.btn-primary {
  font-size: 15px;
  font-weight: 400;
      background-color: white;
      border: none;
      text-decoration: underline;
      color: rgb(94, 94, 94);
      cursor: pointer; /* Add pointer cursor for interactivity */
      transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover */
}

.btn-primary:hover {

}

.btn-danger {
  color: rgb(0, 0, 0);
  border: none;
}

.btn-danger:hover {

}



.landing_page_heading{
  margin-bottom: 30px;
  font-size: 38px;
  width: 500px;
  color: #545454;

}

.front-button{
  min-width: 400px;
  max-width: 400px;
  background-color: #ffffff;
  padding: 10px;
  color: #000000;
  border-radius: 20px;
  border-width: 0px;
}

.front-button-1{
  min-width: 400px;
  max-width: 400px;
  padding: 10px;

  color: #ffffff;
  border-width: 0px;
  border-radius: 20px;
}


.main-container{
  z-index: 1000;
}

.home-buttons{
  display: flex;
  flex-direction: column;  /* Stack children vertically */
  align-items: center;     /* Horizontally centers child elements */
  justify-content: center; /* Vertically centers child elements */
  gap: 50px; 
  
}

.avatar {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  border: 2px solid var(--color-main);
}

.avatar img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.avatar::after {
  content: "";
  display: block;
  position: absolute;
  background-color: var(--color-gray);
  z-index: 111;
  border-radius: 50%;
  border: 0.3rem solid var(--color-dark);
}

.avatar.active::after {
  background-color: var(--color-success);
}

.avatar.avatar--small img {
  width: 2.8rem;
  height: 2.8rem;
}

.avatar.avatar--small:after {
  width: 0.7rem;
  height: 0.7rem;
  bottom: 0px;
  right: -6px;
}

.avatar.avatar--medium img {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
}

.avatar.avatar--medium:after {
  width: 0.7rem;
  height: 0.7rem;
  bottom: 0px;
  right: -6px;
}

.avatar.avatar--large img {
  display: block;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
}

.avatar.avatar--large:after {
  width: 1rem;
  height: 1rem;
  bottom: 2px;
  right: 3.5px;
}

.scroll::-webkit-scrollbar {
  width: 0.6rem;
  background-color: rgb(41, 41, 46);
}

.scroll::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background-color: var(--color-gray);
}

.dropdown-menu {
  z-index: 111;
  position: absolute;
  top: 5rem;
  right: 0.5rem;
  color: #ffffff;
  background-color: var(--color-dark); /* Set the background color */
  border-radius: 5px;
  box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu a {
  padding: 1.2rem 4rem;
  display: block;
  color: var(--color-light) !important;
  font-weight: 500;
  font-size: 1.4rem;
}

.dropdown-menu a:hover {
  background-color: var(--color-dark-medium);
}

.dropdown-menu > a:not(:last-child) {
  border-bottom: 1px solid var(--color-dark-medium);
}

.dropdown-menu a svg {
  fill: var(--color-light);
}

.mobile-menu {
  margin-bottom: 3rem;
}

.mobile-menuItems {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media screen and (min-width: 500px) {
  .mobile-menu {
    display: none;
  }
}

/*==============================
=>  Header Section
================================*/


/* Message Sent Styling */
.message-sent {
  text-align: right !important;
  background-color: #dcf8c6 !important;
  padding: 10px !important;
  border-radius: 10px !important;
  display: inline-block !important;
  max-width: 80% !important;
  margin-left: auto !important; /* Aligns the message to the right */
  margin-bottom: 10px !important;
  word-wrap: break-word !important;
  flex-direction: row-reverse !important;
}

/* Message Received Styling */
.message-received {
  text-align: left !important;
  background-color: #ebebeb !important;
  border-radius: 8px !important;
  max-width: 80% !important;
  word-wrap: break-word !important;
  flex-direction: row !important;
}

/* Avatar Styling */
.avatar {
  margin-right: 10px !important;
}

.message-sent .avatar {
  margin-left: 10px !important;
  margin-right: 0 !important;
}



.avatar img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
}

.content3 {
  word-wrap: break-word !important;
}

/* Messages Container */


.header-left {
  display: flex;
  align-items: center;
  gap: 55px;
}

.header {
  padding: 1.5rem;
  background-color: var(--color-dark);
}

.header > .container {
  display: flex;
  align-items: center; /* Vertically centers the content */
  gap: 2rem; /* Reduce gap */
}

.header__logo,
.header__search {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header__logo > img {
  width: 40rem !important;

}

.header__logo > h1 {
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-light);
}

.header__search > label {
  background-color: var(--color-dark-medium);
  padding: 1.3rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 4px;
}

.header__search svg {
  fill: var(--color-gray);
  width: 2rem;
  height: 2rem;
  margin-left: 1rem;
}

.header__search input {
  width: 30rem;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-light);
}

@media screen and (max-width: 800px) {
  .header__search input {
    width: 20rem;
  }

  .header > .container {
    gap: 1rem;
  }
}

@media screen and (max-width: 700px) {
  .header__logo h1 {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .header__search {
    display: none;
  }
}

.header__menu {
  margin-left: auto;
  position: relative;
}

.header__menu a {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-gray);
}

.header__menu img {
  height: 3.6rem;
}

.header__menu p {
  line-height: 1.2;
}

.header__menu span {
  color: var(--color-main);
  font-weight: 500;
  font-size: 1.4rem;
  display: block;
}

.header__menu svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--color-dark-light);
}

.dropdown-button {
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
}

.dropdown-button:hover svg {
  fill: var(--color-main);
}




/*==============================
=>  Layout
================================*/



.layout {
  margin-top: 2.4rem;
}

.layout > .container {
  display: flex !important;
  align-items: flex-start !important;  /* keeps top edges aligned */
  gap: 16px !important;                /* small spacing between them */
}

.layout--3 > .container > div:first-child {
  flex-basis: 12%; /* smaller room list */
  max-width: 15rem; /* optional, adjust */
}

.layout--3 > .container > div:nth-child(2) {
  flex-basis: 80%; /* or any smaller % */
}

.layout--3 > .container > div:last-child {
  flex-basis: 60%; /* right container slightly smaller */
}

.layout--2 > .container > div:first-child {
  flex-basis: 102%;
}

.layout--2 > .container > div:last-child {
  flex-basis: 25%;
}
/*========== Layout Box ==========*/

.layout__box {
  position: relative;       /* or remove position */
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  padding: 0 48px;          /* side padding for the box */
  box-sizing: border-box;
}

.layout__boxHeader {
  display: flex;
  padding: 1.5rem;
  background-color: var(--color-main);
}

.text_for_login {
  color: white !important;
}

.layout__body-1 {
}

.layout__boxTitle {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.layout__boxTitle h3 {
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-light);
}

.layout__boxTitle svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--color-main);
}

.layout__body {
  margin: 3rem;
}

@media screen and (max-width: 900px) {
  .activities,
  .topics {
    display: none;
  }

  .layout--3 > .container > div:nth-child(2) {
    flex-basis: 100%;
  }
}


/*==============================
=>  Landing page
================================*/


/*==============================
=>  Topics
================================*/

.form__group {
  margin-bottom: 2rem;
  width: 100%;
}

.form__split {
  display: flex;
  gap: 1.5rem;
}

.form__group label {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.form__group input,
.form__group textarea,
.form__group select {
  background: transparent;
  border: 1px solid var(--color-dark-light);
  padding: 1rem;
  border-radius: 3px;
  width: 100%;
  color: var(--color-light);
  font-weight: 500;
  outline: none;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--color-main);
}

.form__group textarea {
  background: transparent;
  height: 10rem;
  resize: none;
}

.form__group select {
  color: var(--color-gray);
  font-weight: 400;
}

.form__group select option {
  background-color: var(--color-dark-light);
  color: var(--color-light);
  padding: 0 10rem;
}

.form__action {
  display: flex;
  justify-content: flex-end;
  gap: 3rem;
}

.form__hide {
  position: absolute;
  left: -9999px;
}

.form__avatar label {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-main);
  cursor: pointer;
}

.form__avatar label:hover {
  text-decoration: underline;
}

/*==============================
=>  Topics
================================*/

.topics__header {
  margin-bottom: 2rem;
}

.topics__header h2 {
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-dark-light);
}

.topics__list {
  list-style: none;
}

.topics__list li a {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  font-weight: 500;
  color: var(--color-light-gray);
  transition: all 0.3s ease-in-out;
}

.topics__list li a.active,
.topics__list li a:hover {
  color: var(--color-main);
}

.topics__list li a span {
  padding: 0.5rem 1rem;
  background-color: var(--color-dark);
  border-radius: 3px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.topics-page a:hover {
  text-decoration: underline;
}

.topics-page .topics__list li:not(:last-child) a {
  margin: 2rem 0;
  padding-bottom: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--color-dark-medium);
}

.topics-page .header__search{
  display: block;
}

@media screen and (max-width: 500px) {
  .mobile-menu .header__search {
    display: block;
    margin-bottom: 2.4rem;
  }
}

/*==============================
=>  Room List
================================*/

.roomList__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.4rem;
}

.roomList__header h2 {
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-light);
  letter-spacing: 1px;
}

.roomList__header p {
  font-weight: 500;
  color: var(--color-dark-light);
}

/*========== Room List Room ==========*/
.roomListRoom {
  margin-bottom: 2.4rem;
  background-color: var(--color-dark);
  border-radius: 1rem;
  padding: 2rem;
}

.roomListRoom__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roomListRoom__author {
  display: flex;
  align-items: flex-start; /* Align avatar and text at the top */
  gap: 1rem; /* Space between avatar and text */
}

.name-and-career {
  display: flex;
  flex-direction: column;
  gap: 0; /* Ensure no gap between name and career */
}

.roomListRoom__author-text {
  display: flex;
  flex-direction: column; /* Stack the name and occupation vertically */
  align-items: flex-start; /* Align text to the left */
  margin: 0 !important; /* Ensure no default margin */
  padding: 0 !important; /* Ensure no padding */
}

.roomListRoom__author-text span,
.roomListRoom__author-text p,
.roomListRoom__author-text .post-host-career,
.roomListRoom__author-text .roomListRoom__actions span {
  margin: 0 !important; /* Forcefully remove all margins */
  padding: 0 !important; /* Forcefully remove all paddings */
  line-height: 1 !important; /* Reduce line-height to ensure no extra spacing */
}

.time_since{
  font-size: 5px;
}

.roomListRoom__actions{
  font-size: 10px;
}

.post-host-career {
  font-size: 0.9em;
  color: gray;
  margin: -0.5rem 0 0 0 !important; /* Apply more negative top margin */
}

.roomListRoom__actions {
  display: flex;
  align-items: flex-start;
  gap: 0 !important;
  margin: -0.3rem 0 0 0 !important; /* slightly smaller negative margin */
}

.roomListRoom__actions span {
  font-size: 1.2rem; /* smaller font */
  font-weight: 500;
  margin: 0 !important;
  padding: 0 !important;
}

.av1 {
  width: 40px; /* smaller avatar */
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.content3 {
  margin-bottom: 0px;
}

.roomListRoom__content {
  margin: 1rem 0; /* less spacing */
}

.roomListRoom__content a {
  font-size: 1.6rem; /* slightly smaller */
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-light);
  transition: all 0.3s ease-in-out;
}

.roomListRoom__content p {
  margin: 1rem 0; /* reduce description margin */
  margin-bottom: 0.8rem;
}

.roomListRoom__content a:hover {
  color: var(--color-main);
}

.roomListRoom__meta {
  display: flex;
  align-items: flex-start; /* adjust alignment */
  justify-content: space-between;
}

.roomListRoom__joined {
  color: var(--color-light-gray);
  display: flex;
  align-items: center;
  gap: 0.8rem; /* smaller gap */
  font-size: 1.2rem;
  font-weight: 500;
}

.roomListRoom__joined svg {
  fill: var(--color-main);
  width: 1.4rem;
  height: 1.4rem;
}

.roomListRoom__topic {
  padding: 3px 1rem; /* smaller padding */
  background-color: var(--color-dark-medium);
  border-radius: 3rem; /* slightly smaller */
  font-weight: 500;
  font-size: 1.1rem; /* smaller font */
}
/*==============================
=>  Activities
================================*/
/* Profile Box */




.profile-box {
  position: relative;
  width: 100%;
  margin: 0; /* Remove margins */
  padding: 0; /* Remove padding */
  border: 1px solid #ddd;
  background-color: white;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-radius: 7px;
  margin-bottom: 10px; /* Reduce space between boxes */
  gap: 0px;
}

.user-info1 {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important; /* Remove the gap between the items */
}

.profile-info-username{
font-size: 20px;
}

.profile-info-username, 
.profile-info-occupation, 
.profile-info-location {
  margin-bottom: 0px !important; /* Remove any default margin */
  padding: 0 ; /* Remove any padding */
  line-height: 1.6; /* Adjust line height to make the text closer */
}


.profile-info-connections{
  font-size: 12px;
  font-weight: 400;
 }

.connection-button{
  margin-top: 4px !important;
  font-size: 12px;
  text-decoration: underline;
}

/* Profile Background */
.profile-background {
  width: 100%;
  height: 80px; /* Shorter background height */
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.profile-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info-connections{
  font-size: 12px;
  font-weight: 500;
  padding-left: 10px;
  margin-bottom: 2px;
}

.profile-info-news{
  font-size: 12px;
  font-weight: 500;
  padding-left: 10px;
  margin-bottom: 2px;
}

.profile-info-bookmarks{
  font-size: 12px;
  font-weight: 500; 
  padding-left: 10px;

}

/* Profile Avatar */
.profile-avatar img {
    display: block;
    width: 100%; /* This makes the image take the full width of its container */
    height: auto; /* Maintain the aspect ratio */
    object-fit: cover; /* Ensure the image fits within the container, adjusting based on its aspect ratio */
    border-radius: 50%; /* This keeps the image circular */
    margin-top: -40px;
    margin-left: 10px;
}

.profile-avatar img {
  width: 80px; /* Smaller profile picture */
  height: 80px;
  border-radius: 50%;
  border: 5px solid white;
}

/* Profile Details */
.profile-details {
  margin-left: 20px;
  margin-top: 0px;
  margin-bottom: 10px; /* Reduce bottom margin */
  text-align: left;
  gap: 0px !important;
}

.time-since {
    font-size: 12px !important; /* Adjust the font size */
}

.showmore{
  font-size: 12px !important;
  color: #747474 !important;
  cursor: pointer;
  text-decoration: none !important;
}

.showless{
  font-size: 12px !important;
  color: #747474 !important;
  cursor: pointer;
  text-decoration: none !important;
}

.profile-details-1 {
  margin-left: 20px;
  margin-top: 0px;
  margin-bottom: 0px; /* Reduce bottom margin */
  text-align: left;
  margin: 0; /* Remove margins */
  padding: 0; /* Remove padding */
  
  
  
}

/* Second Box */
.box-2 {
  background-color: #ffffff;
  color: #000000; /* Adjusted text color */
  border-radius: 7px;
  margin: 0; /* Remove margin on top */
  padding: 10px;
  align-items: center;
}

.profile-info-occupation{
  color: #000000 !important;
  font-size: 12px;
  font-weight: 400;
}

.profile-info-location{
  font-size: 12px;
  font-weight: 400;
}

.room-descripton{
  font-size: 10px;
  font-weight: 400;
}

/* Header for Second Box */
.profile-header-1 {
  background-color: #ffffff;
  color: #000000; /* Adjusted text color */
  border-radius: 7px;
  margin-top: 0; /* Remove margin on top */
  padding: 10px;
}

/* Profile Details in Second Box */
.profile-details-1 {
  background-color: #ffffff;
  color: #000000; /* Adjusted text color */
  border-radius: 7px;
  padding: 10px;
}

/* Adjust margins and padding between boxes */
.profile-details p {
  margin: 5px 0;
  color: #666;
}

.user-info1{
  gap: 0px !important;
  margin: 0px;
  padding: 0px;
  
}

.profile-info-username {
  color: #000000 !important;
  font-size: 20px;
  font-weight: 600;
}
/*==============================
=>  Create Room
================================*/

.create-room.layout .layout__box {
  max-width: 68rem;
}

/*==============================
=>  Update Account
================================*/

.update-account.layout .layout__box {
  max-width: 68rem;
}

/*==============================
=>  Delete Item
================================*/

.delete-item.layout .layout__box {
  max-width: 68rem;
}

/*==============================
=>  Messages
================================*/

/* Messaging Container */
.messaging-container {
  display: flex;
  height: 100vh; /* Full screen height */
  justify-content: end;
  align-items: end;
}

/* Sidebar: Connections */
.sidebar {
  width: 30%; /* Sidebar takes 30% of the width */
  background-color: #ffffff;
  padding: 20px;
  border-right: 1px solid #ddd;
  overflow-y: auto; /* Scroll if the list is long */
}

.sidebar h2 {
  margin-top: 0;
}

.connections-list {
  list-style-type: none;
  padding: 0;

}

.connection-item {
  margin-bottom: 15px;
}

.connection-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.connection-item a img.avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}


/* Initially hide the messaging area */
.messaging-area {
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: end !important;
  align-items: end !important;
}



.e{
  padding-left: 10px;
}


/* Messaging Area */





.message-box {
  flex-grow: 1; /* Fill the space above the compose form */
  overflow-y: auto;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.message-item {
  margin-bottom: 10px;
}

.message-sent {
  text-align: right;
  background-color: #dcf8c6;
  padding: 10px;
  border-radius: 10px;
  display: inline-block;
  max-width: 80%;
  margin-left: auto; /* Align sent messages to the right */
}

.message-received {
  text-align: left;
  background-color: #ebebeb;
  
  
}

/* Message timestamp */
.message-timestamp {
  display: block;
  font-size: 0.8em;
  color: gray;
  margin-top: 5px;
  align-items: end;
}

/* Compose message form */
.compose-message {
  padding-top: 20px;
}

.compose-message textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: none;
}

.send-button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.connections-list {
  color: black;
}


.send-button:hover {
  background-color: #0056b3;
}



/* Sidebar should fill the width of the component */
.sidebar {

  padding: 30px;
  height: 100% !important;
  margin: 0;
  width: 100%; /* Make sure it takes full width */
}

.sidebar ul {
  list-style: none;
  padding: 10px !important;
  width: 100%; /* Ensure the list takes full width */
  height: 100% !important;
}

.thetitle{
  padding: 10px !important;
}

.sidebar li {
  margin-bottom: 10px;
  width: 100%; /* Ensure each list item takes full width */
  display: flex; /* Use flexbox for layout */
  align-items: center;
}

.sidebar img {
  width: 35px; /* Smaller avatar size */
  height: 35px; /* Keep avatar size proportional */
  margin-right: 10px; /* Add space between the avatar and text */
  border-radius: 50%; /* Make the avatar circular */
}

.sidebar strong {
  font-size: 14px; /* Adjust font size for names */
  display: block; /* Ensure the name is on its own line */
}

.sidebar p {
  font-size: 12px; /* Make the other text smaller */
  color: #666; /* Set a softer color for location and occupation */
}

/* Message header */
.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
}



.toggle-button {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

/* Message display area */
.message-display {
  display: none;  /* Do not display it at all */
  max-height: 450px;
  min-height: 320px;
  overflow-y: auto;
  margin-bottom: 10px;
  padding: 5px;
  gap: 25px;
  width: 100%; /* Make sure the message display area fills full width */
}

/* Message input */
.message-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.send-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}
/*==============================
=>  connections
================================*/

/* Scoped to only affect the .connections-page */
.connections-page {
  display: flex;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Sidebar for current connections */
.connections-page .sidebar {
  width: 20%;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.message-component {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 400px; /* Adjust width based on your preference */
    height: 500px; /* Adjust height as needed */
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

/* Base styling for the message component */
.message-component {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 400px; /* Adjust width based on your preference */
  height: 500px; /* Adjust height as needed */
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
}

/* Normal message display state (before full screen) */
.message-display {
  flex-grow: 1;
  height: 100px; /* Initial height, adjust as necessary */
  overflow-y: auto;
  padding: 10px;
  transition: height 0.3s ease-in-out; /* Smooth transition for height */
}





/* Hide the connections sidebar when the message display is full screen */
.message-content.full-screen .sidebar {
  display: none;
  justify-content: end;
  align-items: end;
  
}

.message-content.full-screen{
  justify-content: end !important;
  align-items: end !important;
}

/* Hide the message input area when the message display is full screen */
.message-content.full-screen .message-input {
  display: none;
  justify-content: end;
  align-items: end;

}


/* Keep the message content area flexible and fill the available space */
.message-content {
  position: relative;
  height: 100%; /* Take up the entire available height */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: end;
  align-items: end;
}

/* Sidebar for connections list */
.sidebar {
  width: 100%;
  height: 100px;
  background-color: #f1f1f1;
  overflow-y: auto;
}

/* Messaging area (message display and input) */


/* The message input stays fixed at the bottom */
.message-input {
  position: relative;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
}

.message-input textarea {
  width: 80%;
  padding: 5px;
  margin-right: 10px;
  resize: none;
}

.message-input button {
  width: 20%;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.message-input button:hover {
  background-color: #0056b3;
}

.message{
  justify-content: flex-start;
  justify-content: left;
  align-items: center;
  display: flex;
  flex-direction: row;
  margin-bottom: 14px;
  gap: 10px;
}

/* Style for the message header */
.message-header {
  background-color: #007bff;
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

.toggle-button {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.connections-page .sidebar h2 {
  text-align: center;
}

.connections-page .sidebar ul {
  list-style: none;
  padding: 0;
}

.connections-page .sidebar ul li {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 15px; /* Increased border-radius for more rounded corners */
}

/* Ensure avatar is round */
.connections-page .sidebar ul li img {
  display: block;
  margin-top: 5px;
  width: 50px;  /* Ensure it's a square */
  height: 50px; /* Ensure it's a square */
  border-radius: 50%; /* Make it a perfect circle */
}

/* Main content for suggested connections */
.connections-page .main-content {
  width: 80%;
  padding: 20px;
}

.connections-page .grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
}

.connections-page .grid-item {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  text-align: center;
}

/* Ensure avatar in the suggested connections is round */
.connections-page .grid-item img {
  width: 100px;  /* Adjust to a suitable size */
  height: 100px; /* Adjust to a suitable size */
  border-radius: 50%; /* Make it a perfect circle */
}
.connection-details {
  margin-top: 10px;
}

.connection-details p {
  margin: 5px 0;
}

.messaging-content {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 1px solid #ddd;
  padding: 20px;
}

/* General Page Styling */
.messaging-page {
  display: flex;
  height: 100vh;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

/* Sidebar for Connections */
.sidebar {
  width: 25%;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  overflow-y: auto;
}

.sidebar h2 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  color: black;
}

.connections-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.connections-list li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.connections-list li a {
  text-decoration: none;
  color: black;
  display: flex;
  align-items: center;
  width: 100%;
}

.connections-list li:hover {
  background-color: #f0f0f0;
}

/* Connection Avatar */
.avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.connections-list li span {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: black;
}

.connections-list li p {
  font-size: 14px;
  color: black;
}

/* Message Component */
.message-component {
  position: fixed;
  bottom: -1px;
  padding-bottom: 0px;
  right: 10px;
  width: 400px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px 8px 0 0;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);

  overflow: hidden;
  transition: height 0.3s ease;
}

/* Minimized state */
.message-component.minimized {
  height: 40px;
}

/* Message Header */
.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
}

.toggle-button {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

/* Sidebar Adjustments within Message Component */
.sidebar {
  padding: 0;
  margin: 0;
  width: 100%;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.sidebar li {
  margin-bottom: 10px;
  width: 100%;
  display: flex;
  align-items: center;
}

.sidebar img {
  margin-right: 10px;
}

/* Message display area */
.message-display {
  max-height: 150px;
  overflow-y: auto;
  margin-bottom: 10px;
  background-color:#fff;
  padding: 5px;

  width: 100%; /* Make sure the message display area fills full width */
}

/* Message input */
.message-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.send-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}
/* Custom button for sending connection requests */
.connection-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: #28a745; /* Green background */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.connection-btn:hover {
  background-color: #218838; /* Darker green on hover */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds subtle shadow on hover */
}

.connection-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(72, 180, 97, 0.5); /* Focus shadow */
}

/* Optional: Make the accept button look like a link */
a.connection-btn {
  text-decoration: none;
}

/* Optional: Responsive styling for smaller screens */
@media (max-width: 768px) {
  .connection-btn {
      width: 100%; /* Full width on mobile devices */
  }
}

/*==============================
=>  Auth
================================*/

.auth__tagline {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-main);
  font-weight: 500;
  font-size: 1.8rem;
}
.auth .layout__boxHeader {
  text-align: center;
  justify-content: center;

}

.auth__action {
  margin-top: 3rem;
  text-align: center;
}

/*==============================
=>  Settings
================================*/

.settings__avatar {
  margin-bottom: 3rem;
  text-align: center;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.settings__avatar .avatar {
  margin: 1rem;
}

/*==============================
=>  Profile
================================*/
.profile {
  margin-bottom: 3rem;
}

.profile__avatar {
  text-align: center;
}

.profile__info {
  text-align: center;
}

.profile__info h3 {
  font-size: 2rem;
  color: var(--color-light);
  font-weight: 400;
}

.profile__info p {
  color: var(--color-main);
  font-weight: 500;
  margin-bottom: 1rem;
}

.profile__about {
  margin-top: 2rem;
}

.profile__about h3 {
  text-transform: uppercase;
  color: var(--color-dark-light);
  margin-bottom: 0.5rem;
}

.profile-page .roomList__header {
  margin-bottom: 1.5rem;
}

.profile-page .roomList__header h2 {
  color: var(--color-dark-light);
}

/*==============================
=>  Room
================================*/

.room,
.participants {
  background: var(--color-dark);
  max-height: 87.5vh;
  border-radius: 0.7rem;
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 900px) {
  .participants {
    display: none;
  }

  .layout--2 > .container > div:first-child {
    flex-basis: 100%;
  }
}

.room__top,
.participants__top {
  background: var(--color-dark-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
}

.room__top svg,
.thread__top svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--color-light);
  cursor: pointer;
}

.room__topLeft {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.room__topLeft h3,
.participants__top {
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-light);
}

.room__topLeft svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--color-light);
}

.room__topRight {
  display: flex;
  column-gap: 1em;
}

.room__topRight svg {
  fill: var(--color-main-light);
}

.room__header {
  max-height: 30vh;
  overflow-y: auto;
  position: absolute;
  width: 95%;
  background: var(--color-dark);
  z-index: 999;
  top: 4.4rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

@media screen and (max-width: 500px) {
  .room__header {
    top: 4.3rem;
    padding-right: 2rem;
  }
}

.room__box {
  padding-left: 2rem;
  padding-right: 2rem;
  height: 80.5vh;
  /* overflow-y: auto; */
  padding-bottom: 0;
}

@media screen and (max-width: 500px) {
  .room__box {
    padding-left: 2.5rem;
    padding-right: 2rem;
    height: 80.5vh;
    overflow-y: auto;
    padding-bottom: 0;
  }
}

.room__info {
  display: flex;
  justify-content: space-between;
}

.room__info h3 {
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-main);
}

.room__hosted p {
  text-transform: uppercase;
  color: var(--color-gray);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 2;
}


.room__author {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease-in-out;
}


.images{
  border-radius: 5px;
}

.room-images {
  display: flex; /* Use flexbox to align images next to each other */
  flex-wrap: wrap; /* Allow wrapping for multiple rows */
  gap: 1rem; /* Add space between the images */
}

/* Individual room image */
.room-image {
  margin-top: 10px;
  flex: 1 1 calc(50% - 1rem); /* Set each image to take up 50% of the width, minus the gap */
  box-sizing: border-box; /* Ensure padding/margins are included in width */
  border-radius: 7px;
}

.room-image img {
  width: 100%; /* Make the image fill its container */
  height: auto; /* Maintain the aspect ratio */
  border-radius: 7px;
}

.auth__action{padding-bottom: 25px;}

/* Ensure the body expands to fit the content */
body {
  min-height: 100vh; /* Make sure body always takes at least the full viewport height */


}

/* Ensure the main layout has enough room */
.auth.layout {
  min-height: 100vh; /* Make sure the main layout also stretches */
  display: flex;
  justify-content: center; /* Centers the content horizontally */
  align-items: center; /* Centers the content vertically */

}

.main-container-1{
  height: 100%;
  align-items: top;

}

.show-more1{
  flex-direction: row;
  align-items: center;

}

.bottom-footer{
  -ms-flex-direction: row;
  justify-content: space-between;
}

.layout__boxHeader{
  margin-top: ;
}
/* Ensure the container-1 has a margin-top to move the form down */
.container-1 {
  
  background-color: white;
  border-radius: 10px;
}

.layout__boxHeader{
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Space between images */
.room-images .room-image {
  margin-bottom: 1rem;
}

.show-more {
  background-color: white;
  border: none;
  text-decoration: underline;
  color: rgb(94, 94, 94);
  cursor: pointer; /* Add pointer cursor for interactivity */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover */
}

.show-more:hover {
  color: rgb(54, 54, 54); /* Darker text color on hover */
}

/* Lightbox */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Dark background */
}

/* Lightbox content */
.lightbox-content {
  position: relative;
  margin: auto;
  top: 50px;
  max-width: 80%;
  text-align: center;
}

/* Image inside lightbox */
.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 100%; /* Ensure the image doesn't overflow horizontally */
  max-height: 80vh; /* Ensure the image doesn't overflow the screen vertically */
  object-fit: contain; /* Maintain original aspect ratio, no stretching */
}

/* Close button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 32px;
  font-weight: lighter;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ccc; /* Lighter color on hover */
}

/* Previous/Next buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Vertically center the buttons */
  padding: 10px;
  color: white;
  font-size: 40px; /* Single large arrow */
  user-select: none;
  background-color: rgba(255, 255, 255, 0.1); /* Very light transparent background */
  backdrop-filter: blur(5px); /* Adds a modern glass-like blur effect */
  border-radius: 5px; /* Sleek rounded edges */
  border: none;
  transition: background-color 0.3s ease; /* Smooth color transition on hover */
}

/* Position the Previous button on the left */
.prev {
  left: 20px; /* Move the button to the left side */
}

/* Position the Next button on the right */
.next {
  right: 20px; /* Move the button to the right side */
}

.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.3); /* Lighten the background on hover */
  color: #fff; /* Keep the text white */
}

.room__author:hover {
  text-decoration: underline;
}

.room__topics {
  padding: 0.5rem 1.5rem;
  background: var(--color-dark-light);
  color: var(--color-light);
  display: inline-block;
  font-size: 1.4rem;
  border-radius: 1.5rem;
  margin: 1rem 0;
}

.room__conversation {
  margin-top: 1rem;
  margin-bottom: 4rem;
  height: 64%;
}

.threads h3 {
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-gray);
}

.threads {
  background: var(--color-bg);
  border-radius: 0.7rem;
  overflow-y: auto;
  height: 100%;
  margin-top: 28vh;
  padding: 0 2rem 4rem 2rem;
}

.thread {
  border-left: 2px solid var(--color-dark);
  padding-left: 1rem;
  margin: 2rem 0;
  padding: 2rem;
}

.thread__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thread__top svg {
  fill: var(--color-dark-light);
}

.thread__author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.4rem;
}

.thread__authorInfo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.thread__details {
  font-size: 1.4rem;
  margin-top: 0.5rem;
}

.room__message {
  padding: 2rem;
  position: absolute;
  z-index: 111;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
}

.room__message > form > input {
  resize: none;
  background-color: var(--color-dark-light);
  color: var(--color-light);
  border: none;
  outline: none;
  border-radius: 0.7rem;
  height: 4.5rem;
  width: 100%;
  margin-top: -1rem;
  padding: 1.2rem;
  font-size: 1.4rem;
  font-weight: 500;
  position: relative;
}

.room__message > form > input::placeholder {
  color: var(--color-light-gray);
}

.participants__top span {
  color: var(--color-main);
  font-size: 1.3rem;
  text-transform: none;
}

.participants__top {
  justify-content: flex-start;
  gap: 0.5rem;
}

.participants__list {
  padding: 2rem;
  height: 82.5vh;
  overflow-y: scroll;
  padding-bottom: 0;
}

.participant {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.participant p {
  color: var(--color-light-gray);
  line-height: 1.2;
}

.participant span {
  display: block;
  font-weight: 500;
  color: var(--color-main);
  font-weight: 1.4rem;
}


.flex-container {
  display: flex;
  justify-content: space-between; /* Align buttons and image horizontally */
  align-items: center; /* Vertically center the items */
  height: 100vh; /* Full height of the viewport */
  padding: 0 150px; /* 150px padding on the left and right */
  box-sizing: border-box; /* Include padding in the element's total width */
  width: 100%; /* Ensure it covers the full width */
}

.landing_page_background {
  z-index: 1000;
  max-width: 550px; /* Restrict image size */
  height: auto; /* Maintain image aspect ratio */
  margin-left: auto; /* Prevents the image from shifting left */
}

.left-column {
  display: flex;
  flex-direction: column; /* Stack buttons vertically */
  gap: 10px; /* Space between buttons */
}

.left-column button {
  padding: 10px 20px;
  font-size: 16px;
}

.right-column {
  display: flex;
  justify-content: flex-end; /* Align image to the right */
  flex: 1; /* Ensure right column takes up remaining space */
}

/* Optional: Style for the container on small screens */
@media (max-width: 768px) {
  .flex-container {
      flex-direction: column; /* Stack the columns vertically on small screens */
      padding: 20px; /* Reduce padding on smaller screens */
  }

  .left-column {
      margin-bottom: 20px; /* Add space between stacked columns */
  }

  .landing_page_background {
      max-width: 500px; /* Restrict image size further on small screens */
  
  }

.flex-container{
  align-items: ;
  justify-content: space-between;
}

.landing_page_background{
  width: 100%;
}




@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

    * { box-sizing: border-box; }
    html, body { margin:0; padding:0; height:100%; overflow:hidden; overscroll-behavior:none; background:#0b0f1a; }
  
    /* Brand + theme tokens (default: DARK) */
    :root{
      --brand: #ed003c;
      --brand-50: rgba(237,0,60,.08);
      --brand-100: rgba(237,0,60,.18);
      --brand-200: rgba(237,0,60,.28);
      --brand-400: #ff4f7a;
      --brand-600: #c0002f;
  
      --bg: #0b0f1a;
      --panel: #0f1525;
      --ink: #e6eef8;
      --ink-600:#b8c2d3;
      --ink-500:#94a3b8;
      --border: rgba(148,163,184,.22);
      --border-subtle: rgba(148,163,184,.12);
  
      --card: #ffffff;
  
      --elev-1: 0 10px 26px rgba(2,6,23,.35);
      --elev-2: 0 18px 48px rgba(2,6,23,.55);
  
      --sb-w: 264px;
      --sb-cw: 64px;
      --sb-pad: 14px;
  
      /* shared container width so header + HUD align perfectly */
      --chrome-w: 1200px;
      --chrome-pad: clamp(8px, 3vw, 24px);
    }
  
    /* Animateable custom property for conic gradient angle */
    @property --aiAngle {
      syntax: '<angle>';
      initial-value: 0deg;
      inherits: false;
    }
  
    /* === Modal base === */
    .modal {
      position:fixed;
      inset:0;
      display:none;
      align-items:center;
      justify-content:center;
      z-index:10000;
    }
    .modal.show{display:flex;}
    .modal__backdrop{
      position:absolute;inset:0;
      background:rgba(2,6,23,.65);
      backdrop-filter:blur(10px);
    }
    .modal__dialog{
      position:relative;
      max-width:1100px;                /* wider */
      width:calc(100% - 40px);
      background:var(--panel);
      border-radius:24px;              /* more rounded */
      border:1px solid var(--border);
      box-shadow:0 40px 80px rgba(0,0,0,.6);
      padding:40px;                    /* bigger padding */
      z-index:1;
      color:var(--ink);
    }
    .theme-light .modal__dialog{
      background:#f6f8fb;color:#0e1320;border-color:rgba(15,23,42,.12);
    }
    .modal__close{
      position:absolute;top:20px;right:20px;
      background:none;border:0;font-size:28px;
      color:var(--ink);cursor:pointer;
    }
    .theme-light .modal__close{color:#0e1320;}
    .modal__content h2{
      margin:0 0 12px;
      font:800 28px/1.3 Inter;          /* larger */
      text-align:center;
    }
    .modal__content p{
      margin:0 0 30px;
      font:500 16px/1.6 Inter;
      color:var(--ink-500);
      text-align:center;
    }
    .theme-light .modal__content p{ color:#4a5a75; }
    .modal__actions{
      display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;
    }
    .btn-primary,.btn-secondary{
      padding:12px 18px;
      border-radius:14px;
      font:700 15px/1 Inter;
      cursor:pointer;
      text-decoration:none;
      display:inline-block;
    }
    .btn-primary{background:var(--brand);color:#fff;border:0;}
    .btn-secondary{
      background:rgba(255,255,255,.06);
      border:1px solid var(--border);
      color:var(--ink);
    }
    .theme-light .btn-secondary{background:rgba(2,6,23,.04);color:#0e1320;border-color:rgba(15,23,42,.12);}
  
    /* === Premium Plans === */
    .premium-dialog{max-width:1100px;width:calc(100% - 40px);}
    .premium-title{margin:0 0 10px;font:800 28px/1.3 Inter;text-align:center;}
    .premium-sub{margin:0 0 30px;font:500 16px/1.6 Inter;color:var(--ink-500);text-align:center;}
    .theme-light .premium-sub{color:#51607a;}
    .plans{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
      gap:24px;                         /* more gap */
    }
    .plan-card{
      background:var(--panel);
      border:1px solid var(--border);
      border-radius:20px;
      padding:28px;                     /* more padding */
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      box-shadow:0 14px 34px rgba(0,0,0,.25);
      transition:transform .2s ease,box-shadow .2s ease;
      min-height:340px;                 /* taller card */
    }
    .plan-card:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(0,0,0,.4);}
    .plan-head{
      display:flex;flex-direction:column;align-items:flex-start;
      gap:6px;margin-bottom:18px;
    }
    .plan-head h3{margin:0;font:700 20px Inter;color:var(--ink);}
    .price{font:800 26px/1 Inter;color:var(--brand);}
    .price span{font-size:14px;font-weight:500;color:var(--ink-500);}
    .plan-card ul{
      list-style:none;
      padding:0;
      margin:0 0 20px 0;
      font:500 14px/1.7 Inter;
      color:var(--ink-600);
    }
    .plan-card ul li{margin:6px 0;}
    .plan-popular{
      border-color:var(--brand);
      box-shadow:0 20px 48px rgba(237,0,60,.25);
    }
    .badge-popular{
      align-self:flex-start;
      background:var(--brand);color:#fff;
      font:700 12px/1 Inter;text-transform:uppercase;
      padding:4px 8px;border-radius:8px;margin-top:-4px;
    }
    .btn-primary.w-full{display:block;width:100%;text-align:center;}
    .theme-light .plan-card{
      background:#f6f8fb;
      border-color:rgba(15,23,42,.12);
      box-shadow:0 14px 28px rgba(15,23,42,.07);
    }
  
    /* ===== LIGHT THEME — toned down whites, higher legibility ===== */
    .theme-light{
      --bg: #e9edf3;
      --panel: #f4f6fa;
      --ink: #0e1320;
      --ink-600:#33425a;
      --ink-500:#51607a;
  
      --border: rgba(15,23,42,.12);
      --border-subtle: rgba(15,23,42,.06);
  
      --elev-1: 0 8px 20px rgba(15,23,42,.07);
      --elev-2: 0 18px 34px rgba(15,23,42,.10);
    }
    .theme-light html, .theme-light body{ background:#e9edf3; }
    .theme-light .layout{
      background:
        radial-gradient(900px 420px at 100% -10%, rgba(237,0,60,.04), transparent 60%),
        linear-gradient(135deg, #f2f4f8 0%, #e9edf3 50%, #f2f4f8 100%) !important;
    }
  
    /* Hide base headers */
    body > header:not(.custom-header),
    .site-header, .global-header, nav.site-nav { display:none !important; }
  
    /* ===== Sidebar ===== */
    .sidebar{
      position:fixed; inset:0 auto 0 0;
      height:100dvh; width:var(--sb-w);
      padding:12px var(--sb-pad);
      display:flex; flex-direction:column;
      background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
      border-right:1px solid var(--border);
      box-shadow: var(--elev-1);
      backdrop-filter: blur(12px);
      z-index:5;
      transform: translateX(calc(-100% + var(--sb-cw)));
      transition: transform .35s cubic-bezier(.22,1,.36,1), background .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .theme-light .sidebar{
      background: linear-gradient(180deg, rgba(0,0,0,.018), rgba(0,0,0,.012));
      border-right:1px solid rgba(15,23,42,.10);
      box-shadow: var(--elev-1);
    }
  
    .sidebar.is-open{ transform: translateX(0); }
  
    .sidebar__header{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
    .sidebar__brand{ display:flex; align-items:center; gap:10px; color:var(--ink); font-weight:800; }
  
    /* === Low-key animated brand chip === */

  
    .swipes-widget{
      display:flex; align-items:center; gap:10px;
      background:rgba(255,255,255,.06); border:1px solid var(--border);
      padding:8px 12px; border-radius:12px; color:var(--ink);
      backdrop-filter: blur(6px); user-select:none;
    }
    .theme-light .swipes-widget{ background:rgba(2,6,23,.04); border-color:rgba(15,23,42,.10); }
  
    .swipes-widget__icon{ display:grid; place-items:center; width:20px; height:20px; color:var(--brand); }
    .swipes-widget__text span{ font-size:16px; font-weight:800; }
    .swipes-widget__text small{ display:block; font-size:11px; font-weight:600; opacity:.75; }
  
    .theme-light .logo-chip{
      background:
        linear-gradient(#f6f8fb, #f6f8fb) padding-box,
        conic-gradient(from var(--aiAngle),
          rgba(237,0,60,.14) 0deg,
          rgba(237,0,60,.04) 60deg,
          rgba(237,0,60,.14) 360deg) border-box;
      box-shadow: 0 1px 4px rgba(2,6,23,.07);
    }
    .logo-chip:hover{ box-shadow: 0 2px 10px rgba(2,6,23,.12); }
    .sidebar__brand-img{ height:26px; display:block; border-radius:8px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.2)); }
  
    .sidebar__toggle{
      display:grid; place-items:center;
      width:32px; height:32px; border-radius:999px; border:1px solid var(--border);
      background:rgba(255,255,255,.06); color:var(--ink); cursor:pointer;
      transition: transform .25s ease, background .2s ease;
    }
    .sidebar__toggle:hover{ background:rgba(255,255,255,.12); transform: translateX(0) scale(1.02); }
    .theme-light .sidebar__toggle{ background:#f4f6fa; border-color:rgba(15,23,42,.10); }
    .sidebar__toggle .chev{ transition: transform .25s ease; }
    .sidebar__toggle.rot .chev{ transform: rotate(180deg); }
  
    .sidebar__nav{
      flex:1; overflow:auto; padding:6px 0;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,.96), rgba(0,0,0,.96) 90%, transparent);
    }
    .sidebar__sep{ height:1px; background:var(--border-subtle); margin:10px 0; }
  
    .sbi{
      position:relative; display:flex; align-items:center; gap:12px;
      color:#cbd5e1; text-decoration:none; padding:10px 10px; border-radius:10px; margin:2px 0;
      transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
      border: 1px solid transparent;
    }
    .sbi:hover{ background:rgba(255,255,255,.07); color:#fff; }
    .sbi.is-active{
      background:linear-gradient(180deg, rgba(237,0,60,.20), rgba(237,0,60,.10));
      color:#fff; border:1px solid var(--border);
    }
    .theme-light .sbi{ color:#3b485e; }
    .theme-light .sbi:hover{ background:rgba(2,6,23,.035); color:#0e1320; box-shadow: none; }
    .theme-light .sbi.is-active{
      background:linear-gradient(180deg, rgba(237,0,60,.09), rgba(237,0,60,.05));
      color:#0e1320; border-color:rgba(15,23,42,.12);
    }
    .sbi__icon{ width:22px; height:22px; display:grid; place-items:center; color:#ffd6de; opacity:.95; flex:0 0 auto; }
    .theme-light .sbi__icon{ color:#ed003c; opacity:.85; }
    .sbi__label{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:700; font-size:13px; }
    .sbi__badge{
      margin-left:auto; font-size:11px; font-weight:800; color:#0b0f1a; background:#ffd6de;
      border-radius:999px; padding:2px 8px;
    }
  
    /* Collapsed rail — only show the arrow handle */
    .sidebar:not(.is-open){
      padding:12px 10px 12px 0;
    }
    .sidebar:not(.is-open) .sidebar__brand,
    .sidebar:not(.is-open) .sidebar__nav,
    .sidebar:not(.is-open) .sidebar__footer{ display:none; }
    .sidebar:not(.is-open) .sidebar__toggle{ margin-left:auto; }
  
    /* Sidebar footer */
    .sidebar__footer{ padding-top:8px; display:flex; align-items:center; gap:10px; justify-content:space-between; }
    .sidebar__plan{ display:flex; align-items:center; gap:8px; color:var(--ink); font-weight:800; }
    .plan-dot{ width:8px; height:8px; border-radius:999px; background:linear-gradient(135deg,var(--brand),var(--brand-400)); }
    .sidebar__upgrade{
      padding:8px 10px; border-radius:10px; border:1px solid var(--border);
      background:linear-gradient(135deg, rgba(237,0,60,.14), rgba(237,0,60,.10));
      color:#fff; font-weight:800; cursor:pointer;
    }
    .theme-light .sidebar__upgrade{
      background:linear-gradient(135deg, rgba(237,0,60,.07), rgba(237,0,60,.045));
      color:#0e1320; border-color:rgba(15,23,42,.12);
    }
  
    /* Backdrop (mobile) */
    .sidebar-backdrop{
      position:fixed; inset:0; background:rgba(2,6,23,.48);
      opacity:0; pointer-events:none; transition:.25s ease; z-index:4;
    }
    .sidebar-backdrop.show{ opacity:1; pointer-events:auto; }
  
    /* ===== Header ===== */
    .custom-header{
      position:fixed;
      top: 12px;;                           /* sit at the very top */
      background:transparent;                                /* slightly down from the very top */
      left:50%; transform:translateX(-50%);
      width:min(var(--chrome-w), 96vw);            /* == HUD width */
      padding:0 var(--chrome-pad);
      display:flex; align-items:center; justify-content:space-between;
      z-index:6;                                   /* stays above HUD; no overlap */
      background: transparent;
    }
    .header-left{ display:flex; align-items:center; gap:10px; }
  
    /* Theme toggle UI */
    .theme-toggle{
      position:relative; width:56px; height:30px; border-radius:999px; border:1px solid var(--border);
      background:rgba(255,255,255,.08); color:#fff; cursor:pointer;
      display:inline-block;
    }
    .theme-toggle .tt-knob{
      position:absolute; top:50%; left:3px; transform:translateY(-50%);
      width:24px; height:24px; border-radius:999px; background:#ffffff; box-shadow:0 2px 8px rgba(0,0,0,.25);
      transition:left .22s ease, background .2s ease;
    }
    .theme-toggle .tt-sun, .theme-toggle .tt-moon{
      position:absolute; top:50%; transform:translateY(-50%); width:16px; height:16px;
    }
    .tt-sun{ left:8px; color:#ffd34d; }
    .tt-moon{ right:8px; color:#93a4bd; }
    .theme-light .theme-toggle{ background:#e6ebf2; border-color:rgba(15,23,42,.12); }
    .theme-light .theme-toggle .tt-knob{ left:29px; background:#0b0f1a; }
    .theme-light .tt-sun{ color:#f2b650; }
    .theme-light .tt-moon{ color:#6a7a94; }
  
    .header__account{
      display:inline-flex; align-items:center; gap:8px; color: var(--ink);
      text-decoration:none; padding:8px 10px; border-radius:10px;
    }
    .header__account:hover{ background: rgba(255,255,255,.08); }
    .theme-light .header__account:hover{ background: rgba(2,6,23,.05); }
  
    /* Accessibility helper */
    .sr-only{
      position:absolute !important;
      width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
    }
  
    /* ===== Background FX ===== */
    .bgFX{ position:absolute; inset:0; overflow:hidden; z-index:0; pointer-events:none; }
    .bgFX__grid{
      position:absolute; inset:-2px;
      background:
        radial-gradient(420px 200px at 20% 10%, rgba(237,0,60,.09), transparent 60%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 80px),
        repeating-linear-gradient(0deg,  rgba(255,255,255,.035) 0 1px, transparent 1px 80px);
      opacity:.8;
      mask-image: radial-gradient(80% 60% at 50% 40%, black 60%, transparent 100%);
    }
    .theme-light .bgFX__grid{
      background:
        radial-gradient(420px 200px at 20% 10%, rgba(237,0,60,.03), transparent 60%),
        repeating-linear-gradient(90deg, rgba(2,6,23,.055) 0 1px, transparent 1px 80px),
        repeating-linear-gradient(0deg,  rgba(2,6,23,.035) 0 1px, transparent 1px 80px);
    }
    .bgFX__beam{ position:absolute; width:40%; height:160%; background: linear-gradient(180deg, rgba(237,0,60,.26), rgba(237,0,60,.10)); filter: blur(22px); transform: rotate(20deg); animation: floatY 14s ease-in-out infinite; opacity:.24; }
    .theme-light .bgFX__beam{ opacity:.12; }
    .bgFX__beam.b1{ left:-10%; top:-20%; }
    .bgFX__beam.b2{ right:-15%; top:-30%; transform: rotate(-18deg); animation-delay: 4s; }
    .bgFX__orb{ position:absolute; width:320px; height:320px; border-radius:999px; background: radial-gradient(circle at 30% 30%, rgba(237,0,60,.22), rgba(237,0,60,.12) 60%, transparent 70%); filter: blur(20px); animation: drift 18s ease-in-out infinite alternate; }
    .theme-light .bgFX__orb{ background: radial-gradient(circle at 30% 30%, rgba(237,0,60,.10), rgba(237,0,60,.05) 60%, transparent 70%); }
    .bgFX__orb.o1{ left:5%; top:8%; }
    .bgFX__orb.o2{ right:6%; bottom:10%; animation-delay: 5s; }
    .bgFX__orb.o3{ left:30%; bottom:-4%; width:260px; height:260px; animation-delay: 9s; }
    @keyframes floatY { 0%,100%{ transform: translateY(-4%) rotate(20deg) } 50%{ transform: translateY(4%) rotate(20deg) } }
    @keyframes drift { 0%{ transform: translate(0,0) } 100%{ transform: translate(6%, -4%) } }
  
    /* ===== HUD ===== */
    /* sits on its own row under the header; aligned width + comfy spacing */
    .hud{
      position:fixed;
      top:56px;                                 /* below header; no overlap; consistent gap from card */
      left:50%; transform:translateX(-50%);
      width:min(var(--chrome-w), 96vw);
      padding:0 var(--chrome-pad);
      display:flex; align-items:center; justify-content:space-between;
      z-index:3;
      color:var(--ink); font-weight:700;
      pointer-events:none;                      /* HUD floats; children re-enable pointer */
    }
    .hud > * { pointer-events:auto; }
  
    .hud__left,
    .hud__right{
      display:flex; align-items:center;
      gap:16px;                                 /* unified inner spacing */
    }
    .hud__right{ gap:20px; }                    /* a touch more gap on the right cluster */
  
    .hud__streak{
      background:rgba(255,255,255,.06);
      border:1px solid var(--border);
      padding:8px 12px;
      border-radius:999px;
      backdrop-filter: blur(6px);
    }
    .theme-light .hud__streak{ background:rgba(2,6,23,.045); border-color: rgba(15,23,42,.12); }
  
    .hud__combo{ opacity:0; transform:translateY(-6px); transition:.25s ease; color:#fff; font-weight:800; }
    .theme-light .hud__combo{ color:#0e1320; }
    .hud__combo.is-active{ opacity:1; transform:translateY(0); }
  
    /* progress ring */
    .ring{ position:relative; width:46px; height:46px; flex:0 0 auto; }
    .ring svg{ width:100%; height:100%; transform:rotate(-90deg); }
    .ring-track{ fill:none; stroke:rgba(255,255,255,.16); stroke-width:4; }
    .theme-light .ring-track{ stroke:rgba(2,6,23,.12); }
    .ring-bar{ fill:none; stroke:var(--brand); stroke-width:4; stroke-linecap:round; transition:stroke-dashoffset .25s ease; }
    .ring__label{ position:absolute; inset:0; display:grid; place-items:center; font-size:12px; font-weight:800; color:var(--ink); }
  
    /* chips */
    .swipes-widget,
    .applied-widget{
      position:relative; display:flex; align-items:center; gap:10px;
      background:rgba(255,255,255,.06); border:1px solid var(--border);
      padding:8px 12px; border-radius:12px; color:var(--ink); backdrop-filter: blur(6px); user-select:none;
      box-shadow:none;
      min-height:40px;                           /* consistent touch size */
    }
    .theme-light .swipes-widget,
    .theme-light .applied-widget{ background:rgba(2,6,23,.045); border-color:rgba(15,23,42,.12); }
  
    /* Responsive HUD layout */
    @media (max-width: 820px){
      .custom-header{ width:min(var(--chrome-w), 96vw); padding:0 12px; }
      .hud{
        top:54px;
        width:min(var(--chrome-w), 96vw);
        padding:0 12px;
        flex-wrap:wrap;
        row-gap:10px;
      }
      .hud__left{ order:1; width:100%; justify-content:flex-start; }
      .hud__right{ order:2; width:100%; justify-content:flex-end; gap:12px; }
    }
  
    /* ===== Cards ===== */
    .swipe-container{
      position: relative;
      width: min(440px, 92vw);
      height: min(640px, calc(100dvh - 220px));
      perspective: 1400px;
      z-index:1;
    }
  
    /* Accent vars per card color */
    .swipe-card { --accent:#ed003c; --accent-soft:rgba(237,0,60,.16); --accent-glow:rgba(237,0,60,.14); }
    .swipe-card.card-color-blue   { --accent:#2ea7ff; --accent-soft:rgba(46,167,255,.16); --accent-glow:rgba(46,167,255,.14); }
    .swipe-card.card-color-yellow { --accent:#ffb21e; --accent-soft:rgba(255,178,30,.16); --accent-glow:rgba(255,178,30,.14); }
    .theme-light .swipe-card{ --accent-soft:rgba(237,0,60,.07); --accent-glow:rgba(237,0,60,.09); }
    .theme-light .swipe-card.card-color-blue{ --accent-soft:rgba(46,167,255,.07); --accent-glow:rgba(46,167,255,.09); }
    .theme-light .swipe-card.card-color-yellow{ --accent-soft:rgba(255,178,30,.07); --accent-glow:rgba(255,178,30,.09); }
    .swipe-card {
  transition: transform 0.25s ease, opacity 0.25s ease;
}
  
    .card-inner{ width:100%; height:100%; position:relative; transform-style:preserve-3d; transition:transform .35s ease; border-radius:22px; }
    .card-front,.card-back{
      position:absolute; inset:0; border-radius:22px; backface-visibility:hidden;
      display:flex; flex-direction:column; align-items:center;
      padding:26px 22px 28px;
      box-sizing:border-box;
    }
  
    .card-front{ gap:14px; }
  
    .card-front{
      color:#e8eef9;
      background:
        radial-gradient(120% 90% at 16% 0%, var(--accent-soft), transparent 58%),
        linear-gradient(180deg, #0f1527 0%, #0c1426 100%);
      border: 1px solid rgba(148,163,184,.16);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        var(--elev-2),
        0 0 26px var(--accent-glow);
    }
    .card-front::before{
      content:""; position:absolute; inset:-1px; border-radius:inherit;
      box-shadow: inset 0 0 28px var(--accent-soft);
      pointer-events:none; opacity:.5;
    }
    .theme-light .card-front{
      color:#0e1320;
      background:
        radial-gradient(120% 90% at 16% 0%, var(--accent-soft), transparent 58%),
        linear-gradient(180deg, #f6f8fc 0%, #eef2f7 100%);
      border:1px solid rgba(15,23,42,.12);
      box-shadow:
        inset 0 1px 0 rgba(0,0,0,.025),
        var(--elev-1),
        0 0 14px var(--accent-soft);
    }
    .card-back{
      padding-bottom: 12px !important;
      color:#d7dfef;
      background: linear-gradient(180deg, #10192b, #0c1324);
      border: 1px solid rgba(148,163,184,.16);
      transform: rotateY(180deg);
      align-items:flex-start; text-align:left; overflow-y:auto;
    }
    .theme-light .card-back{
      color:#0e1320;
      background: linear-gradient(180deg, #f6f8fc, #eef2f7);
      border:1px solid rgba(15,23,42,.12);
    }
  
    /* === Logo frame === */
    .logo-frame{
      --aiAngle: 0deg;
      display:inline-flex;
      align-items:center; justify-content:center;
      padding:10px;
      border-radius:18px;
      margin-bottom: 10px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)) padding-box,
        conic-gradient(from var(--aiAngle),
          rgba(237,0,60,.26) 0deg,
          rgba(237,0,60,.06) 160deg,
          rgba(237,0,60,.26) 360deg) border-box;
      border:1px solid transparent;
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.05),
        0 8px 22px rgba(2,6,23,.32),
        0 0 20px var(--accent-glow);
      transition: box-shadow .25s ease, transform .25s ease, background .25s ease;
      animation: aiBorderSpin 36s linear infinite;
    }
    .swipe-card.is-top .logo-frame{ animation-duration: 22s; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 10px 26px rgba(2,6,23,.4), 0 0 24px var(--accent-glow); }
    .logo-frame:hover{ transform: translateY(-1px); }
    .theme-light .logo-frame{
      background:
        linear-gradient(180deg, #f6f8fb, #f6f8fb) padding-box,
        conic-gradient(from var(--aiAngle),
          rgba(237,0,60,.14) 0deg,
          rgba(237,0,60,.04) 160deg,
          rgba(237,0,60,.14) 360deg) border-box;
      box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.02),
        0 8px 18px rgba(2,6,23,.07),
        0 0 12px var(--accent-soft);
    }
  
    .company-logo{
      display:block;
      max-width: 88%;
      max-height: clamp(120px, 28vh, 220px);
      width:auto; height:auto; object-fit:contain;
      margin: 2px auto 2px;
      border-radius:14px;
      background: transparent !important;
      border: 0 !important;
      box-shadow:none !important;
      filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
    }
  
    @keyframes aiBorderSpin { to { --aiAngle: 360deg; } }
    @media (prefers-reduced-motion: reduce){
      .logo-frame, .logo-chip{ animation: none !important; }
    }
  
    /* Titles */
    .title-block{ text-align:center; margin-top: 8px; }
    .title-block h4{
      margin:0 0 10px; font-size:13px; color:#a8b3c7; font-weight:600; letter-spacing:.16em; text-transform:uppercase; line-height:1.6;
    }
    .title-block h3{
      margin:6px 0; font-size:28px; color:#f2f6ff; font-weight:900; letter-spacing:.04em; text-transform:uppercase; line-height:1.25;
    }
    .title-block h2{
      margin:8px 0 10px; font-size:16px; color:#c9d6ea; font-weight:700; letter-spacing:.02em; line-height:1.4;
    }
    .theme-light .title-block h3{ color:#0e1320; }
    .theme-light .title-block h2{ color:#26344d; }
    .theme-light .title-block h4{ color:#5d6a81; }
  
    /* Meta pill */
    .meta{
      margin:12px 0 0;
      font-size:12px; color:#c0cbe0;
      background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10);
      padding:6px 10px; border-radius:999px; display:inline-flex; align-items:center; gap:6px;
    }
    .theme-light .meta{ color:#3b485e; background: rgba(2,6,23,.04); border-color: rgba(15,23,42,.10); }
    .meta .dot{ display:inline-block; width:6px; height:6px; border-radius:999px; background:var(--accent); transform: translateY(-1px); }
  
    /* Badges */
    .info-badges{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-top:14px; }
    .badge{ background:rgba(255,255,255,.06); color:#e9f0ff; padding:6px 10px; border-radius:999px; font-size:11px; font-weight:800; border:1px solid rgba(255,255,255,.10); }
    .badge--brand{ background:var(--accent-soft); color:#fff; border-color:rgba(237,0,60,.22); }
    .badge--hot{ background:rgba(255,87,87,.14); color:#fecaca; border-color:#fecaca22; }
    .theme-light .badge{ background:rgba(2,6,23,.04); color:#0e1320; border-color:rgba(15,23,42,.10); }
    .theme-light .badge--hot{ background:#fde9ea; color:#842a2a; border-color:#f3c8cb; }
  
    .card-cta {
      margin-top: auto;
      margin-bottom: 0 !important;
      display: flex;
      justify-content: space-between; /* push buttons to far edges */
      align-items: center;
      width: 100%;
      padding: 20px;
    }
  
    .swipe-btn{
      height:60px; aspect-ratio:1/1; border-radius:999px;
      border:1px solid rgba(255,255,255,.12);
      background:
        radial-gradient(120% 140% at 50% 0%, rgba(255,255,255,.10), rgba(255,255,255,.06));
      box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 26px rgba(2,6,23,.35);
      cursor:pointer; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
      transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;
      color:#e7eefc;
    }
    .swipe-btn:hover{
      transform: translateY(-2px);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 14px 34px rgba(2,6,23,.44), 0 0 0 8px var(--accent-soft);
      border-color: rgba(255,255,255,.22);
    }
    .theme-light .swipe-btn{
      background: radial-gradient(120% 140% at 50% 0%, rgba(0,0,0,.018), rgba(0,0,0,.012));
      border-color: rgba(15,23,42,.12);
      color:#0e1320;
      box-shadow: inset 0 1px 0 rgba(0,0,0,.03), 0 10px 20px rgba(2,6,23,.07);
    }
  
    /* Back of card text */
    .card-back h3{ font-size:16px; font-weight:800; color:#f2f6ff; margin:0 0 6px; }
    .card-back h4{ font-size:14px; font-weight:700; color:#c9d6ea; margin:0 0 10px; }
    .card-back .location{ color:#c0cbe0; margin:0 0 10px; }
    .card-back .divider{ height:1px; width:100%; background:#22304a; margin:10px 0 12px; }
    .card-back .desc{ font-size:13px; line-height:1.6; color:#e2e8f5; }
    .theme-light .card-back h3{ color:#0e1320; }
    .theme-light .card-back h4{ color:#26344d; }
    .theme-light .card-back .location{ color:#4b5563; }
    .theme-light .card-back .divider{ background:#dde4ee; }
    .theme-light .card-back .desc{ color:#1f2b3b; }
  
    /* Stamps */
    .stamp{ position:absolute; top:12px; right:12px; padding:6px 10px; font-weight:900; letter-spacing:.12em; border-radius:8px; transform:scale(.9) translateY(-6px); opacity:0; transition:.25s ease; box-shadow:0 10px 24px rgba(2,6,23,.18); font-size:10px; }
    .stamp--apply{ color:#ffd6df; background:rgba(237,0,60,.14); border:1px solid rgba(237,0,60,.28); }
    .stamp--dismiss{ color:#fecaca; background:#7f1d1d40; border:1px solid #fecaca33; right:auto; left:12px; }
    .theme-light .stamp--dismiss{ background:#fde9ea; color:#842a2a; border-color:#f3c8cb; }
    .stamp.show{ transform: scale(1) translateY(0); opacity:1; }
  
    /* Stack layers */
    .swipe-card{ transition: transform .35s ease, opacity .35s ease; }
    .swipe-card.is-top   { transform: translateY(0) scale(1);   filter:none; }
    .swipe-card.is-next  { transform: translateY(14px) scale(.97); opacity:.97; }
    .swipe-card.is-third { transform: translateY(28px) scale(.94); opacity:.94; }
    .swipe-card.leaving  { pointer-events:none; }
  
    /* Flip state */
    .card-inner.is-flipped{ transform: rotateY(180deg) }
  
    /* Toast */
    .toast {
  position: fixed;
  /* move it up and further right */
  top: 8px;         /* was 20px */
  right: 30px;      /* was 20px */
  z-index: 10000;   /* keep it above cards */
  background: linear-gradient(180deg, #0b1220, #0e1729);
  color: #fff;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(2,6,23,.36);
  opacity: 0;
  transform: translateY(-8px);
  transition: .2s ease;
  font-weight: 700;
}

    .theme-light .toast{
      background: linear-gradient(180deg, #f4f6fa, #e9edf3);
      color:#0e1320; box-shadow:0 14px 28px rgba(15,23,42,.07); border-color: rgba(15,23,42,.12);
    }
    .toast.show{ opacity:1; transform:translateY(0); }
  
    /* Fly-to-counter ghost */
    .fly-ghost{
      position:fixed; z-index:9998; pointer-events:none;
      border-radius:22px; background: linear-gradient(180deg, #0f1527, #0c1426);
      border:1px solid rgba(148,163,184,.16); box-shadow: 0 18px 48px rgba(2,6,23,.28);
      transform: translate(0,0) scale(1); opacity: 1;
    }
    .theme-light .fly-ghost{
      background: linear-gradient(180deg, #f6f8fc, #eef2f7); border-color: rgba(15,23,42,.12); box-shadow: 0 18px 34px rgba(2,6,23,.09);
    }
    .fly-ghost.run{ transition: transform .7s cubic-bezier(0.22,1,0.36,1), opacity .7s ease; }
  
    /* Small screens */
    @media (max-width: 900px){
      .sidebar{ width:min(var(--sb-w), 86vw); }
    }


/* Dark theme */
.card-front{
  /* solid base + radial highlight that fades into the same base color */
  background-color:#0f1527;
  background-image:
    radial-gradient(120% 90% at 16% 0%, rgba(237,0,60,.16), #0f1527 58%),
    linear-gradient(180deg, #0f1527 0%, #0c1426 100%);
  border-color:#243049; /* no alpha */
}
.card-front::before{
  /* keep the inner glow but remove any holes */
  box-shadow: inset 0 0 28px rgba(237,0,60,.16);
}
.card-back{
  /* already opaque, just ensure border is solid */
  background: linear-gradient(180deg, #10192b 0%, #0c1324 100%);
  border-color:#243049;
}

/* Light theme */
.theme-light .card-front{
  background-color:#f6f8fc;
  background-image:
    radial-gradient(120% 90% at 16% 0%, rgba(237,0,60,.07), #f6f8fc 58%),
    linear-gradient(180deg, #f6f8fc 0%, #eef2f7 100%);
  border-color:#d5dbe6;
}
.theme-light .card-back{
  background: linear-gradient(180deg, #f6f8fc 0%, #eef2f7 100%);
  border-color:#d5dbe6;
}

/* (Optional) Don’t dim stacked cards */
.swipe-card.is-next,
.swipe-card.is-third{
  opacity:1;
}


/* Hide night/day toggle and streak chip when sidebar is open */
.sb-open .theme-toggle,
.sb-open .hud__streak{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}

/* Nice entrance when closing sidebar */
.theme-toggle,
.hud__streak{
  transition: opacity .18s ease, transform .18s ease;
}

.saved-card{
  display:flex; align-items:center; gap:10px;
  padding:12px; border-bottom:1px solid rgba(148,163,184,.22);
  color:var(--ink); background:rgba(255,255,255,.04);
}
.saved-logo{ width:40px; height:40px; object-fit:contain; border-radius:6px; }


/* Saved jobs panel styled to match AI SaaS look */
#savedList {
  display:none;
  margin-top:20px;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:20px;
  padding:16px;
  box-shadow: var(--elev-1);
  max-height:calc(100dvh - 180px);
  overflow-y:auto;
  color:var(--ink);
}

.theme-light #savedList{
  background:#f6f8fb;
  border-color:rgba(15,23,42,.12);
  box-shadow: var(--elev-1);
}

.saved-card{
  display:flex;align-items:center;gap:14px;
  padding:12px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border-subtle);
  margin-bottom:10px;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.saved-card:hover{
  background:rgba(255,255,255,.07);
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(2,6,23,.2);
}
.theme-light .saved-card{
  background:rgba(2,6,23,.04);
  border-color:rgba(15,23,42,.08);
}
.saved-logo{
  width:48px;height:48px;
  object-fit:contain;border-radius:8px;
  background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.08);
}

/* Pill tooltip for Saved link */
#openSaved::after {
  content: "Coming soon";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--brand);
  color: #fff;
  font: 700 11px/1 Inter;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 10;
}
#openSaved:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(12px);
}

/* Light theme version */
.theme-light #openSaved::after {
  background: #0e1320;
  color: #fff;
}


/* make anchor the containing block */
#openSaved {
  position: relative;
}

/* pill text */
#openSaved::after {
  content: "Coming soon";
  position: absolute;
  top: 50%;
  left: 100%;                /* start just to the right */
  transform: translateY(-50%) translateX(6px);
  background: var(--brand);
  color: #fff;
  font: 700 11px/1 Inter;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 100;
}

/* on hover show it */
#openSaved:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(10px);
}

/* light theme variant */
.theme-light #openSaved::after {
  background: #0e1320;
  color: #fff;
}


/* --- Phones & small tablets ------------------------------------------------ */
/* --- Phones & small tablets ------------------------------------------------ */
/* --- Phones & small tablets ------------------------------------------------ */
@media (max-width: 600px) {

.swipe-container {
  width: 98vw;
  height: calc(100dvh - 130px);
  max-height: 88vh;
}

.card-front,
.card-back {
  padding: 22px 18px 18px;
}

.company-logo {
  max-height: clamp(180px, 42vh, 280px);
}

.title-block h3 { font-size: 30px; line-height: 1.2; }
.title-block h2 { font-size: 18px; line-height: 1.35; }
.title-block h4 { font-size: 13px; letter-spacing: .15em; }
.card-back .desc { font-size: 16px; line-height: 1.7; }

.card-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
}

.card-cta .swipe-btn {
  flex: 0 1 auto;
  width: clamp(46px, 20vw, 60px);
  aspect-ratio: 1/1;
  height: auto;
  border-radius: 14px;
}

.card-cta .swipe-btn svg {
  width: 20px !important;
  height: 20px !important;
}

.badge { font-size: 14px; padding: 7px 11px; }
.meta  { font-size: 14px; padding: 7px 11px; }

.toast { top: calc(8px + env(safe-area-inset-top)); right: 12px; }
#savedList { width: 98vw !important; max-height: calc(100dvh - 140px); }

/* ---- HUD chips top-left at same level as account icon ---- */
.hud {
  position: fixed;
  top: calc(8px + env(safe-area-inset-top)); /* same height as account icon */
  left: 8px;
  display: flex;
  flex-direction: row;           /* chips side-by-side */
  align-items: center;           /* vertically center */
  gap: 8px;
  padding: 0;
  margin: 0;
  z-index: 30;
}

.hud__streak,
.hud__swipes,
.hud__applied,
.swipes-widget,
.applied-widget {
  display: flex;
  align-items: center;
  margin: 0;                    /* reset any default margin */
  min-height: 34px;
  width: auto;
  flex-shrink: 1;
}

/* account icon top-right */
.account-button,
.account-icon,
.header__account {
  position: fixed;
  top: calc(8px + env(safe-area-inset-top));
  right: 14px;
  z-index: 40;
  transform: scale(1.1);
  background: transparent;
}
}

/* Very small phones */
@media (max-width: 420px) {
.hud .ring { display:none; }

.swipe-container {
  height: calc(100dvh - 140px);
  max-height: 90vh;
  width: 98vw;
}

.company-logo { max-height: clamp(160px, 46vh, 260px); }
.title-block h3 { font-size: 28px; }
.title-block h2 { font-size: 17px; }
.title-block h4 { font-size: 12.5px; }

.card-cta .swipe-btn {
  width: clamp(44px, 19vw, 56px);
  border-radius: 12px;
}
.card-cta .swipe-btn svg {
  width: 18px !important;
  height: 18px !important;
}
}

/* Ultra small */
@media (max-width: 380px) {
.title-block h3 { font-size: 26px; }
.title-block h2 { font-size: 16px; }
.title-block h4 { font-size: 12px; letter-spacing: .13em; }

.company-logo { max-height: clamp(140px, 48vh, 240px); }

.badge { font-size: 13px; padding: 6px 10px; }
.meta  { font-size: 13px; padding: 6px 10px; }

.card-cta { gap: 8px; }
.card-cta .swipe-btn {
  width: clamp(40px, 18vw, 52px);
}
.card-cta .swipe-btn svg {
  width: 16px !important;
  height: 16px !important;
}
}

/* Hide sidebar on mobile */
@media (max-width: 900px){
#sidebar,
#sidebarBackdrop,
.sidebar__toggle{ display:none !important; }
.layout{ padding-left:0 !important; }
}


/* Default: desktop — show original HUD, hide mobile */
.hud-mobile { display:none; }

@media (max-width: 600px){
  /* hide full HUD on mobile */
  .hud { display:none !important; }

  /* show our new simpler mobile HUD */
  .hud-mobile {
    position:fixed;
    top:calc(8px + env(safe-area-inset-top));
    left:50%;
    transform:translateX(-50%);
    width:98vw;
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding:8px 12px;
    background:rgba(255,255,255,.06);
    border:1px solid var(--border);
    border-radius:12px;
    color:var(--ink);
    backdrop-filter:blur(6px);
    z-index:30;
    font-weight:700;
    font-size:14px;
  }
  .theme-light .hud-mobile{
    background:rgba(2,6,23,.045);
    border-color:rgba(15,23,42,.12);
  }
}

main.layout {
  padding-top: 12px;               /* pushes your cards etc. down */
}


/* ===== Modal Base ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: 'Manrope', sans-serif !important;
}

.modal.show { display: flex; }

/* Backdrop */
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(3px);
}

/* Dialog box */
.modal__dialog {
  position: relative;
  background: #0e162a;   /* dark background matching theme */
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 18px 36px rgba(0,0,0,0.5);
  animation: fadeUp .25s ease;
  z-index: 2;
  text-align: center;
  color: #f5f5f5;
}

/* Close button */
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: none;
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
  transition: color .2s ease;
}
.modal__close:hover { color: #fff; }

/* Content */
.modal__content h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.modal__content p {
  font-size: 16px;
  line-height: 1.5;
  color: #d1d5db;
  margin: 0 0 20px;
}

/* Actions */
.modal__actions {
  display: flex;
  justify-content: center;
}
.btn-secondary {
  padding: 10px 22px;
  border-radius: 10px;
  background: #FF2F5A; /* brand red */
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.btn-secondary:hover {
  background: #e92650;
  transform: translateY(-1px);
}

/* Animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}


/* --- Mobile-only "Get more swipes" button --- */
.mobile-premium-btn {
  display: none; /* hidden by default (desktop) */
  background: linear-gradient(135deg, #ed003c, #ff4f7a);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 10px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.mobile-premium-btn:hover {
  background: linear-gradient(135deg, #d80038, #ff3b6b);
  transform: translateY(-1px);
}

/* Show only on mobile */
@media (max-width: 768px) {
  .mobile-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .custom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .custom-header .mobile-premium-btn,
  .custom-header #openPremium {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  .custom-header .header-left {
    flex: 1;
    justify-content: flex-start;
  }

  .custom-header .header__account {
    flex: 1;
    justify-content: flex-end;
  }
}
}