@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
{% load static %}
/* dark theme */
:root {
  --color-main: #abea9b;
  --color-second: #282828;
  --color-second-medium: #3f3f3f;
  --color-second-over: #575757;
  --color-main-text: #e5e5e5;
  --color-secondary-text: #d2f4c7;
  --color-third-text: #dbf6d2;
  --color-bg: #121212;
  --color-online: #49c800;
  --color-offline: #121212;
  --color-red: red;
}
/* light theme */
/* [data-theme="light"] {
  --background-color: #121212;
  --text-color: #fff;
  --primary-color: #4e73df;
  --secondary-color: #f7f7f7;
} */

/* base settings */

* {
  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%;
  }
}
.main--layout{
  display: flex;
  min-height: 100vh;
  }
.sidebar{
  width: 20vw;
  background-color: var(--color-bg);
  color: var(--color-main-text);
  /*padding: 0rem 3rem;*/
  box-shadow: 4px 15px 15px 5px rgba(0, 0, 0, 0.25);
  /*height: 100vh;*/
  transition: transform 0.3s ease;
  position: relative; /* <-- add this */
  z-index: 121;
}

.content--layout{
  flex-grow: 1;
  /*padding: 200px;*/
  position: relative;
}
.sidebar h2 {
  text-align: center;
  background-color: var(--color-second);
  padding: 2rem;
  margin-bottom: 1rem;
}
.sidebar li{
  padding: 2rem;
}
.sidebar li:hover{
  background-color: var(--color-second);
}
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--color-main-text);
  padding: 3px;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
}

/* Responsive behavior */
@media screen and (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    z-index: 100;
    height: 100%;
    width: 200px;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .hamburger {
    display: block;
  }
  .overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(0,0,0,0.4);
    z-index: 50;
  }

  /* Show overlay when sidebar is active */
  .sidebar.active ~ .overlay {
    display: block;
  }
}
.banner{
    width: 100% ;
    min-height :80vh;
    background-image : url(images/track1.jpg);
    background-size : cover;
    background-position : center;
    padding : 10px 8%;

    display:flex;
    flex-direction: column;
    justify-content: space-between;
    position:relative;
}

.banner-export {
  background-image : url(images/export-banner.jpg);
}

.content {
    align-self: flex-end; /* Align .content to the right */
    text-align: right; /* Right-align text inside .content */
    color: #fff;
    max-width: 640px;
    margin-top: auto; /* Let flexbox handle vertical alignment */
    margin-bottom: auto;
}
.content h1 {
    font-size: 70px;
    font-weight: 600;
    -webkit-text-stroke: 0px black;
    line-height: 85px;
    margin-bottom: 25px;
}

@media only screen and (max-width: 800px) {
  .content h1 {
    font-size: 35px;
    font-weight: 600;
    line-height: 45px;
  }

  .content p {
    font-size: 10px;
  }
  /*.content a {*/
  /*  position: absolute;*/
  /*  top: 55rem;*/
  /*  right: 2rem;*/
  /*}*/
}
.content-export {
  background-color: rgba(40, 40, 40, 0.8);
  padding: 2rem 5rem;
  border-radius: 5px;
}
.content button{
    margin-top:15px;
    font-size:2rem;
    font-weight:700;
}
.servicesArrow{
    text-align: center;
    align-self: center; /* Center horizontally in the flex container */
    margin-bottom: 0rem;
    position:relative;
}
.servicesArrow h3{
    margin-bottom:1rem
}
.servicesArrow .arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #fff; /* Arrow color */
    margin: 0 auto; /* Center the arrow */
}
.almarai-light {
  font-family: "Almarai", serif;
  font-weight: 300;
  font-style: normal;
}

.almarai-regular {
  font-family: "Almarai", serif;
  font-weight: 400;
  font-style: normal;
}

.almarai-bold {
  font-family: "Almarai", serif;
  font-weight: 700;
  font-style: normal;
}

.almarai-extrabold {
  font-family: "Almarai", serif;
  font-weight: 800;
  font-style: normal;
}
body {
  line-height: 1.6;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--color-third-text);
  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: 0;
  direction: rtl;
}


.btn {
  background-color: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: 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-bg);
  font-weight: bold;
}

.btn:hover {
  opacity: 0.7;
}

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

.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);
}

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

.btn--msg {
  border-radius: 10rem;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 6px 2.5rem;
  margin-top: 1rem;
  color: var(--color-online);
  background: transparent;
  border: 2px solid var(--color-online);
}

.avatar {
  position: relative;
  display: inline-block;
  border-radius: 50%;

}

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



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

.avatar.avatar--small img {
  width: 2.8rem;
  height: 2.8rem;
  border: 2px solid var(--color-second-over);
}

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

.avatar.avatar--medium img {
  width: 6.6rem;
  height: 6.6rem;

}

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

.roomListRoom__service{
  background-color: var(--color-second-medium);
  border-radius: 5px;
  padding: 1rem;

}

.avatar.avatar--large img {
  display: block;
  width: 16rem;
  border: 2px solid var(--color-second-over);
  height: 16rem;
  border-radius: 50%;
}

.avatar.avatar--large h3 {
  padding-top: 1rem;
  margin-top: 1.5rem;
  padding-bottom: 1rem;
  background-color: var(--color-second-medium);
  text-align: center;
}

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

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

.dropdown-menu {
  z-index: 111;
  position: absolute;
  top: 5rem;
  right: 0.5rem;
  background: var(--color-second-over);
  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-main-text) !important;
  font-weight: 500;
  font-size: 1.4rem;
}

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

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

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

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

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

.notification-menu a {
  text-overflow: ellipsis;  
  padding: 1.2rem 4rem;
  display: inline-block;
  color: var(--color-main-text) !important;
  font-weight: 500;
  font-size: 1.4rem;
}

.notification-menu a:hover {
  background-color: var(--color-second-medium);
}

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

.notification-menu a svg {
  fill: var(--color-main-text);
}

/*.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
================================*/

.header {
  padding: 1rem;
  background-color: var(--color-second);
}

.header > .container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;

  gap: 9.5rem;
}

.header__logo,
.header__user {

  display: flex;
  gap: 1rem;
  margin-right:10rem;
  align-items: center;
}
/*.header__logo > svg{*/
/*    width: 3.5rem;*/
/*    height:3.5rem;*/
/*}*/
/* .header__logo > img {
  height: 3.2rem;
  width: 3.2rem;
} */

.header__logo > h1 {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-main-text);
}

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

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

.header__search input {
  width: 50rem;
  background: transparent;
  border: none;
  outline: none;
  /*margin-left:5rem;*/
  color: var(--color-secondary-text) ;
}
.header__search input::placeholder {
  color: var(--color-main-text) ;
  font-weight: 200;
}

@media screen and (max-width: 800px) {
  .header__search > label {
    background-color: var(--color-second-medium);
    padding: 1.3rem 1em;
    display: flex;
    margin-left:1rem;
    align-items: center;
    gap: 1rem;
    border-radius: 4px;
  }
}
@media screen and (max-width: 800px) {

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

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

@media screen and (max-width: 500px) {
  .header__search {
    width: 76%;
    margin-left: 0;
  }
}

.header__menu {
  /*margin-right: auto;*/
  margin-top : 0.4rem;
  position: relative;
}

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

.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 {
  
} */

.dropdown-button {
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--color-main);
}

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

.dropdown-button-second {
  background: transparent;
  border: 0;
  stroke-width: 0.2rem;
  /* border-color: # 49c800; */
  /* outline: 1rem;
  outline: #49c800; */
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  fill: var(--color-main);
}

.dropdown-button2:hover svg {
  fill: var(--color-main);
}
/*==============================
=>  Layout
================================*/

.layout {
  margin-top: 2.4rem;
}

.layout > .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.container2 > div:first-child {
  margin-bottom : 2rem ;
}

.layout--3 > .container > div:first-child {
  flex-basis: 25%;
  max-width: 22.5rem;
}

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

.layout--3 > .container > div:last-child {
  flex-basis: 25%;
}

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

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

.layout__box {
  width: 90%;
  max-width: 48rem;
  min-height: 40rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  background-color: var(--color-second);
  border-radius: 1rem;
  box-shadow: 1px 1px 6px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

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

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

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

.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%;*/
/*  }*/
/*}*/

/*==============================
=>  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-second-over);
  padding: 1rem;
  border-radius: 3px;
  width: 100%;
  color: var(--color-main-text);
  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-secondary-text);
  font-weight: 400;
}

.form__group select option {
  background-color: var(--color-second-over);
  color: var(--color-main-text);
  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 {
  background: var(--color-second);
  border-radius: 5px;
  overflow: hidden;
}

.topics__header {
  background-color: var(--color-second-over);
  padding: 1rem 1.5rem;
  letter-spacing: 1px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-main-text);
}


.topics__list {
  list-style: none;
}

.topics a {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1.5rem;
  font-weight: 500;
  color: var(--color-third-text);
  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-second-over);
  border-radius: 3px;
  width: 4rem;
  text-align: center;
  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-second-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-main-text);
  letter-spacing: 1px;
}

.roomList__header p {
  font-weight: 500;
  color: var(--color-second-over);
}

/*========== Room List Room ==========*/
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem; /* Space between each .roomListRoom */
  justify-content: center; /* Centers the items horizontally */
  align-items: stretch; /* Ensures all child elements have the same height */
  margin: 2.4rem; /* Add margin to the container */
}
@media screen and (max-width: 900px) {
  .services {
    flex-wrap: wrap;
    margin: 1.2rem 2.4rem;
  }
  .features {
    display: block;
    /*width: 100%;*/
  }
  .avatar.avatar--large img {
    display: block;
    width: 7.5rem; /* Make the avatar images responsive */
    height: 7.5rem; /* Maintain aspect ratio */
  }
}

.roomListRoom {
  flex: 1; /* Makes each .roomListRoom take an equal amount of space */
  max-width: 100%;
  margin: 2rem 0.5rem;/* Optional: Limit the width of each card */
  background-color: var(--color-second);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures even spacing within the card */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.roomListRoom:hover {
  transform: scale(1.05); /* Slightly enlarges the card */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for emphasis */
  background-color: var(--color-second-medium);
}
.fullCard {
  max-width: 90%; /* Optional: Limit the width of each card */
  background-color: var(--color-second);
  border-radius: 1.5rem;
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 2rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures even spacing within the card */
}

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


.roomListRoom__actions {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.roomListRoom__actions span {
  font-size: 1.4rem;
  font-weight: 500;
}

.roomListRoom__actions svg {
  fill: fff;

  width: 1.6rem;
  height: 1.6rem;
}

.roomListRoom__content {
  text-align: center;
  margin: 1rem 0;
}

.roomListRoom__content a {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  color: var(--color-main-text);
  transition: all 0.3s ease-in-out;
}

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

.roomListRoom__meta {
  border-top: 1px solid var(--color-second-over);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.roomListRoom__joined {
  color: var(--color-third-text);
  margin-top: 0.5rem;
  direction: rtl;
  direction: rtl;
  display: flex;
  flex-wrap: wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.roomListRoom__joined svg {
  fill: var(--color-main);
  width: 1.8rem;
  height: 1.8rem;
  transform : rotate(90deg)
}

.roomListRoom__topic {
  padding: 5px 1.5rem;
  background-color: var(--color-second-over);
  border-radius: 5rem;
  font-weight: 500;
  font-size: 1.3rem;
}

/*==============================
=>  Activities
================================*/

.activities {
  background: var(--color-second);
  border-radius: 5px;
  margin-left:2rem;
  margin-right:2rem;
  margin-top: 2rem;
  overflow: hidden;
}

.activities__header h2 {
  background-color: var(--color-second-over);
  text-transform: uppercase;
  font-weight: 700;
  text-align:center;
  padding: 1rem 1.5rem;
  color: var(--color-main-text);
  letter-spacing: 1px;
  font-size: 1.8rem;
}

.activities__box {
  margin: 1.5rem;
  padding: 1.5rem;
  border: 2px solid var(--color-second-medium);
  border-radius: 5px;
}

@media screen and (max-width: 700px) {
  .activities__box {
    margin: 0.5rem;
    padding: 0.5rem;
  }
}

.activities__boxHeader {
    display:flex;
    flex-direction:row-reverse;
    margin-left:0.3rem;
        direction: rtl;
    margin-right:0.3rem;
    width:100%;
}

.activities__boxHeader1 {
    flex: 0 0 33%;
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding :1rem;
    margin-left:0.4rem;
    border: 2px solid var(--color-second-medium);

    border-radius:5px;
}

.activities__boxHeader2 {
    flex: 0 0 33%;
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    border: 2px solid var(--color-second-medium);
    padding :1rem;
    margin-left:0.4rem;
    border-radius:5px;
    height:100%
}

.activities__boxHeader3 {
    flex: 0 0 33%;
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    border: 2px solid var(--color-second-medium);
    padding :1rem;
    margin-left:0.4rem;
    border-radius:5px;
    height:100%;
}

.activities__boxHeader p {
  font-size: 1.4rem;
  line-height: 1.3;
}

.activities__boxHeader p span {
  color: var(--color-secondary-text);
  font-size: 1.2rem;
  display: block;
}

.activities__boxContent {
  margin-left: 4.2rem;
}

.activities__boxContent {
  font-size: 1.4rem;
}

.activities__boxContent a:hover {
  text-decoration: underline;
}
.activities__boxRoomContent {
    background: var(--color-bg);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    margin-left: -4.2rem;
}

.activities__boxRoomContent-inner {
    display: flex; /* Enable Flexbox */
    align-items: center; /* Vertically center the SVG and text */
    gap: 1rem; /* Add space between the SVG and text */
}

.activities__boxRoomContent-text {
    flex-grow: 1; /* Allow the text to take up remaining space */
    text-align: right; /* Align text to the right */
        direction: rtl;
}

.roomListRoom__actions svg {
  fill: var(--color-third-text);
}

/*==============================
=>  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;
}

/*==============================
=>  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-main-text);
  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-second-over);
  margin-bottom: 0.5rem;
}

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

.profile-page .roomList__header h2 {
  color: var(--color-second-over);
}

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

.room,
.participants {
  background: var(--color-second);
  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-second-over);
  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-main-text);
  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-main-text);
}

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

.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-second);
  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-secondary-text);
  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;
}

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

.room__topics {
  padding: 0.5rem 1.5rem;
  background: var(--color-second-over);
  color: var(--color-main-text);
  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-secondary-text);
}

.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-second);
  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-second-over);
}

.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-second-over);
  color: var(--color-main-text);
  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-third-text);
}

.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-third-text);
  line-height: 1.2;
}

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


/* for tracking page */

/* base/static/styles.css */
.tracking{
    display:block;
    background-image: url("../images/back1.jpg"); /* Path to the image */
    background-size: cover; /* Resize the image to cover the entire element */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-attachment: fixed; /* Optional: Fix the background while scrolling */
    width: 100%; /* Set width of the element */
    height: 2000px; /* Set height of the element */
    width:100%;
}

@media screen and (max-width:700px) {
  .tracking{
    display: block;
  }
}

.tracking-body {
    /*flex: 0 0 40%;*/
    /*padding:2rem;*/
    /*margin-right: 2rem;*/
    /*padding: 0;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 90vh;*/
/*    background-color: var(--color-bg);
*/
}

.tracking-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 3rem;
  /*align-items: flex-end;*/
    width : 90%;
}

.stage {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.stage p {
    font-size:1.8rem;
    font-weight:600;
    color:white;
    margin: 0; /* Remove default margin */
    white-space: nowrap; /* Prevent text from wrapping */
}
.circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-second-over);
    margin-left: 20px;
    flex-shrink : 0;
    box-shadow: 1px 1px 30px 1px rgba(0, 0, 0, 0.15);
}

.line {
    height: 2px; /* small height for a thin horizontal line */
    width: 90px; /* long width to make it horizontal */
    background-color: transparent;
    border-top: 2px dashed var(--color-second-over); /* draw the line horizontally */
    margin: 30px 30px; /* add horizontal margin instead of vertical */

}


/* Active Stage */
.stage.active .circle {
    background-color: var(--color-online); /* Green for active stage */
}

.line.active {
    border-top: 2px solid var(--color-online);
}
.item-log{
    flex:0 0 60%;
}

/* add product */
/* Container for the form */
.form-container {
    direction:rtl;
    display: grid;
    gap: 1rem; /* Space between rows and columns */
}

/* Each form row */
.form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns per row */
    gap: 1rem; /* Space between fields */
    margin-bottom: 1rem; /* Space between rows */
}
@media screen and (max-width:700px) {
  .form-row {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(3, 1fr); /* 4 columns per row */
    gap: 0.5rem; /* Space between fields */
    margin-bottom: 1rem; /* Space between rows */
    min-width: 0;
  }
}
/* Each field container */
.form-field {
    display: flex;
    flex-direction: column;
    /*min-width: 0;*/
}

/* Style for labels */
.form-field label {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Style for inputs */
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: 1px solid var(--color-main);
  padding: 1rem;
  border-radius: 3px;
  width: 100%;
  color: var(--color-main-text);
  font-weight: 600;
  outline: none;
}
.checkbox-field {
    grid-column: span 4; /* Make the checkbox span all 4 columns */
    align-self: center; /* Center the checkbox vertically */
}

/* Style for the checkbox */
.form-field input[type="checkbox"] {
    width: auto; /* Prevent checkbox from stretching */
    margin-top: 0.5rem;
    width:5rem;
    height:5rem;
    border-radius:15px;
    align-items:center;
}

/* Buttons */
.button-add-product {
    padding:1.5 1 rem;
    margin-left:2.5rem;
    margin-bottom:1.5rem;
    margin-top:1rem;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight:700;

}

/* add load page */
/* Container for the table */
.load-tabel-container {
    /*width: max-content;*/
    overflow-x: auto;
    margin: 2rem 2rem;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing : 1px;
    background-color: var(--color-main-text);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    direction: rtl ;
}

/* Table header */
th {
    background-color: var(--color-second-over);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    font-weight: bold;
}

/* Table rows */
td {
    padding: 2rem 1rem;
    text-align: right;
}
tr {
    background-color: var(--color-second);
    font-weight:700;

}
/* Alternate row colors */
tr:nth-child(even) {
    background-color: var(--color-second-medium);
}

/* Hover effect for rows */
tr:hover {
    background-color: var(--color-bg);
}

th:first-child,
td:first-child {
    width: 10px; /* Set the width of the first column */
    text-align: center; /* Center-align the content */
}

th:nth-child(3),
td:nth-child(3) {
    max-width: 50px; /* Set the width of the second column */
}
th:nth-child(6),
td:nth-child(6) {
    min-width: 75px; /* Set the width of the second column */
}

@media screen and (max-width: 600px) {
  table {
    font-size: 1.4rem;
    font-weight: 600;
  }
  th {
    padding: 1rem 1rem;
  }
  th:first-child,
  td:first-child {
    width: 5px; /* Set the width of the first column */
    text-align: center; /* Center-align the content */
  }
  th:nth-child(2),
  td:nth-child(2) {
    max-width: 70px;
  }
  th:nth-child(6),
  td:nth-child(6) {
    min-width: 35px; /* Set the width of the second column */
  }
}

/* Input fields */
input[type="number"] {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--color-main);
    outline: none;
    font-size: 14px;
    color: white;
    background-color: var(--color-second-over)
}
input[type="number"]::placeholder {
  color: var(--color-main-text);
  font-weight:700;
}
.input[readOnly] {
  background-color: #FFFFFF; /* Light gray background */
  color: #999999; /* Light gray text */
  border: 1px solid #cccccc; /* Light border */
  cursor: not-allowed; /* Change cursor to indicate it's not editable */
}
/* Submit button */
.submit-button {
    margin-left : 2rem;
}

.submit-button:hover {
    background-color: var(--color-main);
    color: var(--color-second);
}

.contact-container{
  background-image: url("images/contact.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contactBox {
  flex: 1; /* Makes each .roomListRoom take an equal amount of space */
  max-width: 70%; /* Optional: Limit the width of each card */
  background-color: rgba(40,40,40,0.4);
  border-radius: 1rem;
  padding: 2rem;
  border: 2px solid var(--color-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures even spacing within the card */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contactBox:hover {
  transform: scale(1.05); /* Slightly enlarges the card */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for emphasis */
  background-color: rgba(40,40,40,0.6);
}
/*.fullCard {*/
/*  max-width: 90%; !* Optional: Limit the width of each card *!*/
/*  background-color: var(--color-second);*/
/*  border-radius: 1.5rem;*/
/*  padding-right: 2rem;*/
/*  padding-left: 2rem;*/
/*  padding-bottom: 2rem;*/
/*  margin-top: 5rem;*/
/*  margin-bottom: 5rem;*/

/*  display: flex;*/
/*  flex-direction: column;*/
/*  justify-content: space-between; !* Ensures even spacing within the card *!*/
/*}*/

.contact__header {
  display: flex;
  flex-direction:row;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact__map{
  /*flex: 1;*/
  align-self: center;
  max-width: 90%;
  border: none;
  outline: none;
  border-radius: 8px;
}

.contact__author{
  /*flex: 1;*/
  align-items: center;
  gap: 10px;
  max-width: 40%;
  direction: rtl;
}

.contact__map iframe {
  width: 100%;
  height: 300px;
  border-radius: 5px;
}

.contact__actions {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.contact__actions span {
  font-size: 1.4rem;
  font-weight: 500;
}

.contact__actions svg {
  fill: fff;

  width: 1.6rem;
  height: 1.6rem;
}

.contact__content {
  text-align: center;
  margin: 1rem 0;
}

.contact__content a {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  color: var(--color-main-text);
  transition: all 0.3s ease-in-out;
}

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

.contact__meta {
  border-top: 1px solid var(--color-second-over);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  direction: rtl;
  justify-content: flex-start;
}

.contact__joined {
  color: var(--color-third-text);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  direction: rtl;
  font-weight: 700;
}

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

.contact__topic {
  padding: 5px 1.5rem;
  background-color: var(--color-second-over);
  border-radius: 5rem;
  font-weight: 500;
  font-size: 1.3rem;
}
.contact__author .avatar {
  display: flex; /* Make the container a flexbox */
  align-items: center; /* Vertically center the items */
  gap: 10px; /* Add space between the items */
  direction: rtl;
}
.edit--btn{
  /*background: none;*/
  cursor: pointer;
  /*padding: 8px;*/
  width:30px;
  height: 30px;
  color: var(--color-main-text);
  display: block;
  /*display: flex;*/
  /*align-items: center;*/
}
.language-switcher {
    position: relative;
    display: inline-block;
}
.language-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1px;
    display: flex;
    align-items: center;
    color: inherit;
  }
.language-toggle svg {
    transition: transform 0.2s;
  }
.language-switcher:hover .language-toggle svg {
    transform: rotate(15deg);
  }
.language-menu {
    position: absolute;
    right: -60px;
    top: 100%;
    background: var(--color-second-over);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    min-width: 100px;
    z-index: 1000;
  }
.language-switcher:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
.language-form {
    margin: 0;
  }

  .language-option {
    width: 100%;
    text-align: right;
    padding: 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-secondary-text);
  }

  .language-option:hover {
    background: #f5f5f5;
  }

.grid-container{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  direction: rtl;
  margin: 20px;
}
@media screen and (max-width: 600px) {
  .grid-container{
     display: flex;
    flex-direction: column;
    align-items: center;
  }
}
.select-all-checkbox{
  width:30px;
  height: 30px;
}
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: var(--color-second);
    padding: 6rem;
    direction: rtl;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    margin: 1rem;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
}
.modal-content input{
  border-radius: 5px;
  height: 4rem;
}

.modal2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.modal-content2 {
    background: var(--color-second);
    padding: 2rem;
    border-radius: 5px;
    width: 350px;
    text-align: center;
    display: flex;
    justify-content: center;
    justify-items: center;
    flex-direction: column;  /* This makes children stack vertically */
}
.modal-content2 button {
    width: 100%;        /* Ensures all buttons take full width */
    padding: 1rem;
    background: var(--color-secondary-text);
    margin-bottom: 2rem;
    margin-top: 2rem;
    border-radius: 5px;
    display: block;     /* Makes sure each button behaves like a block element */
    text-align: center; /* Keeps text centered */
}
.close2 {
    float: right;
    font-size: 28px;
    cursor: pointer;
}
