:root {
  --color-white: #fff;
  --color-white-100: rgba(255, 255, 255, 0.1);
  --color-white-200: rgba(255, 255, 255, 0.2);
  --color-white-400: rgba(255, 255, 255, 0.4);
  --color-white-800: rgba(255, 255, 255, 0.8);
  --color-white-900: rgba(255, 255, 255, 0.9);
  --color-black: #1e1e1e;
  --color-black-100: rgba(0, 0, 0, 0.1);
  --color-black-50: rgba(211, 197, 197, 0.39);
  --color-black-200: rgba(0, 0, 0, 0.2);
  --color-black-500: rgba(0, 0, 0, 0.5);
  --color-black-600: rgba(0, 0, 0, 0.6);
  --color-blue-800: #007ff7;
  --app-color-white: rgb(252, 255, 251);
  --color-red: rgba(255, 2, 2, 0.788);
  --color-green: #11dd4e;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  list-style: none;
}

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

button,
input {
  background-color: transparent;
  border: 0;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  height: 100vh;
  user-select: none;
  font-family: "Lexend", sans-serif;
  background: url("../background/iridescence.jpg") center/cover no-repeat;
  overflow: hidden;
}

#loading {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: url(../background/lock.gif) center/cover no-repeat;
  z-index: 9999;
}

.navbar {
  width: 100%;
  padding: 0.1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  color: var(--color-white-900);
  box-shadow: 0 2px 10px var(--color-black-100);
  background: linear-gradient(to right, #6e1438, #270598, #e54c2d);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  animation: top-to-bottom 0.3s;
}

.navbar > ul {
  display: flex;
  align-items: center;
}

.navbar li {
  position: relative;
  font-size: 14px;
  margin: 0 4px;
  cursor: url(../cursor/Link.cur), pointer;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.288);
  transition: 0.2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.navbar .leftLi.logo img {
  transform: translateY(1px);
}

.navbar svg {
  fill: var(--color-white);
}

.navbar .leftLi {
  padding: 4px 8px;
}

.navbar .leftLi a {
  text-decoration: none;
  color: var(--color-white);
}

.navbar .leftLi:hover {
  color: var(--color-white);
  border-radius: 5px;
  background-color: var(--color-white-200);
}

li.app_name {
  display: none;
  font-weight: 900 !important;
}

.navbar__right li {
  margin: 0 10px;
}

.navbar__right li svg {
  transform: scale(0.8);
}

.wifi svg {
  transform: translateY(1px) scale(0.8) !important;
}

.navbar__right .clock #clock {
  margin-left: 15px;
  margin-right: 15px;
}

.navbar__right li .control-center {
  width: 32px;
  height: 19px;
  transform: scale(0.8) translateY(1px);
}

.navbar__right .battery {
  margin: 0;
  display: flex;
  cursor: pointer;
  user-select: none;
  position: relative;
  border-radius: 4px;
  align-items: center;
  padding: 0.3rem 0.5rem;
  background: transparent;
  transition: all ease-out 0.2s;
}
.navbar__right .battery.selected {
  background: var(--color-white-200);
}

.navbar__right .battery__container {
  width: 22px;
  height: 10px;
  padding: 1px;
  position: relative;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.navbar__right .battery__container::after {
  content: "";
  background: rgba(255, 255, 255, 0.4);
  width: 3px;
  height: 7px;
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.navbar__right .battery__progress {
  height: 100%;
  display: flex;
  background: white;
  border-radius: 2px;
}

.navbar__right .battery__progress .is-charging {
  display: none;
  width: 100%;
  height: 100%;
}

.is-charging-visible {
  display: block !important;
}

.navbar__right .battery__low {
  background-color: var(--color-red);
}

.navbar__right .battery__high {
  background-color: var(--color-green);
}

.navbar__right .battery__text {
  font-size: 12px;
  margin-right: 4px;
}

.navbar__right .battery__popup {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  opacity: 0;
  width: 220px;
  transition: all ease-out 0.2s;
  padding: 4px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(60px);
  backdrop-filter: blur(60px);
  border-radius: 8px;
}

.navbar__right .battery__popup.opened {
  opacity: 1;
}

.navbar__right .battery__popup header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.navbar__right .battery__popup header h3 {
  font-size: 16px;
  font-weight: 600;
}

.navbar__right .battery__popup header span {
  opacity: 0.75;
  font-size: 12px;
}

.navbar__right .battery__popup p {
  font-size: 11px;
  margin-top: 4px;
  padding: 0 10px;
}

.navbar__right .battery__popup hr {
  margin: 6px 8px;
  border: 0;
  border-radius: 99px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar__right .battery__popup button {
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
  color: white;
  width: 100%;
  cursor: pointer;
  user-select: none;
}

.navbar__right .battery__popup button:hover {
  background-color: var(--color-blue-800);
}

.navbar__right .battery__popup button:active {
  background-color: #0063f7;
}

li > ul {
  display: none;
  position: absolute;
  align-items: center;
  flex-direction: column;
  left: 0;
  top: 100%;
  margin-top: 1px;
  font-weight: 600;
  padding: 4px;
  min-width: 200px;
  background: var(--color-white-400);
  backdrop-filter: blur(11px);
  border-radius: 5px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.363);
}

li:hover > ul {
  display: flex;
}

li > ul > li {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 5px;
  margin-bottom: 5px !important;
}

li > ul > li:last-child {
  border-bottom: 0;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

li > ul > li > button {
  color: var(--color-white);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  text-align: left;
  font-family: "Lexend", sans-serif;
  font-weight: 100;
  padding: 4px 8px;
  border-radius: 5px;
  transition: 80ms;
  font-size: 14px;
  cursor: url(../cursor/Link.cur), pointer;
}

li > ul > li > button:hover {
  color: var(--color-white);
  background: var(--color-blue-800);
}

li > ul > li > button:active {
  background-color: #0063f7;
}

li > .menu__container {
  display: none;
  position: absolute;
  width: 380px;
  border-radius: 20px;
  top: 100%;
  right: 50%;
  height: 24rem;
  transform: translateX(50%);
  background-color: rgba(224, 222, 222, 0.349);
  backdrop-filter: blur(11px);
  border: 1px solid rgba(70, 50, 77, 0.308);
  box-shadow: 0 7px 15px rgba(26, 26, 26, 0.24);
  overflow: hidden;
  padding: 15px;
}

li:hover .menu__container {
  display: flex;
}

li > .menu__container > .grid__controling {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-template-areas:
    "Toggles Toggles DoNotDisturb DoNotDisturb"
    "Toggles Toggles KeyboardBrightness Battery"
    "Display Display Display Display"
    "Audio Audio Audio Audio"
    "Music Music Music Music";
  grid-gap: 1em 1em;
}
li > .menu__container > .grid__controling .control_center--grid {
  display: grid;
  box-shadow: 0 5px 15px rgba(44, 44, 44, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.178);
  overflow: hidden;
  border-radius: 12px;
}
.menu__container > .grid__controling .col-5 {
  grid-area: Toggles;
}
.menu__container > .grid__controling .col-7 {
  grid-area: DoNotDisturb;
}

.menu__container > .grid__controling .col-3--brightness {
  grid-area: KeyboardBrightness;
}
.menu__container > .grid__controling .col-3--battery {
  grid-area: Battery;
}

.menu__container > .grid__controling .col-12--light {
  grid-area: Display;
}
.menu__container > .grid__controling .col-12--volume {
  grid-area: Audio;
}
.menu__container > .grid__controling .col-12--music {
  grid-area: Music;
}

.grid__controling .control_center--grid button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  font-size: 20px;
  transition: all 120ms ease-in-out;
  font-family: "Lexend", sans-serif;
  cursor: url(../cursor/Link.cur), pointer;
}
.sound,
.brightness {
  position: relative;
}

.menu__container > .grid__controling input[type="range"] {
  -webkit-appearance: none;
  outline: 0;
  border: 0;
}
.sound img {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translatey(-50%);
}
.brightness img {
  /* z-index: -1; */
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translatey(-50%);
}
.menu__container > .grid__controling input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 2rem;
  width: 2rem;
  background-color: var(--color-white);
  box-shadow: -2px 0px 3px -2px #5f6063, -340px 0 0 320px #ffffff;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.226);
  cursor: pointer;
}

.grid__controling input[type="range"]::-webkit-slider-runnable-track {
  margin: 10px;
  background: rgba(255, 255, 255, 0.404);
  border-radius: 50px;
  overflow: hidden;
}

.grid__controling .control_center--grid button p {
  display: block;
  font-size: 14px;
  font-family: "Lexend", sans-serif;
}
.nobtn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.nobtn svg {
  background-color: transparent !important;
}

.grid__controling .control_center--grid button svg {
  background-color: var(--color-blue-800);
  padding: 5px;
  border-radius: 50%;
  margin: 0 5px;
}
.col-7 button svg {
  background-color: #b63333 !important;
}
.col-7 button:focus {
  background: #b63333 !important;
  color: var(--color-white);
}

.grid__controling .control_center--grid button:focus {
  background: var(--color-blue-800);
  color: var(--color-white);
}

.grid__controling .control_center--grid .musicPlayer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.musicPlayer--image {
  width: 70%;
  height: 100%;
  display: flex;
  align-items: center;
}
.musicPlayer--image img {
  width: 50px;
  margin: 0 0 0 10px;
}
.musicPlayer--content {
  width: 30%;
  height: 100%;
  display: flex;
  align-items: center;
}
.musicPlayer--content span {
  font-size: 40px;
}

@media screen and (max-width: 600px) {
  .navbar__right .clock #clock {
    margin-left: 0;
  }
}

.dock {
  display: flex;
  align-items: center;
  position: fixed;
  padding: 0.2rem 0.5rem 0 0.5rem;
  bottom: 3%;
  left: 50%;
  height: 65px;
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-white-200);
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.555);
  z-index: 10;
}

@media screen and (max-width: 900px) {
  .dock {
    border-radius: 20px;
  }
}

.dock .point {
  width: 6px;
  height: 6px;
  margin: 0;
  background: #f08080;
  border-radius: 50%;
  display: none;
  animation: top-to-bottom 0.3s;
  transition: 0.3s;
}

.dock .column {
  width: 1px;
  height: 45px;
  margin: 0 4px;
  background: var(--color-white-400);
}

.dock .icon {
  position: relative;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  outline: none;
  transition: all 0.3s;
  transform: translate3d(0px, 0%, 0px);
  -webkit-tap-highlight-color: transparent;
}

.dock .icon::after {
  font-size: 15px;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.39);
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  width: 95px;
  height: 25px;
  padding: 4px 3px 10px;
  border-radius: 8px;
  font-family: "lexend", sans-serif;
  font-weight: 700;
  clip-path: polygon(
    100% 0%,
    100% 0%,
    0% 0%,
    0% 0%,
    0% 0%,
    0% 0%,
    0% 0%,
    0% 0%,
    0% 80%,
    43% 80%,
    50% 101%,
    57% 80%,
    100% 80%,
    100% 0%
  );
}

.dock .icon:nth-child(1):hover::after {
  content: "Launchpad";
}

.dock .icon:nth-child(2):hover::after {
  content: "Calculator";
}

.dock .icon:nth-child(3):hover::after {
  content: "Notes";
}

.dock .icon:nth-child(4):hover::after {
  content: "Maps";
}

.dock .icon:nth-child(5):hover::after {
  content: "Terminal";
}

.dock .icon:nth-child(6):hover::after {
  content: "FiveM";
}

.dock .icon:nth-child(7):hover::after {
  content: "FiveM Tools";
}

.dock .icon:nth-child(8):hover::after {
  content: "Trash";
}

.dock .icon img {
  width: 3.6rem;
  transition: 0.2s;
  transform: translateY(-2.5px);
}

.dock .icon:hover img {
  margin: 0 0 40px 0;
  width: 7.1rem;
}
.dock .icon:hover + .icon img,
.dock .icon:hover + .icon .fivem-icon {
  width: 5.6rem;
  margin: 0 0 25px 0;
}

.dock .icon img:active,
.dock .icon .fivem-icon:active {
  filter: brightness(0.6) drop-shadow(0 0 10px #2c2c2c);
}

/* FiveM Icon Styling */
.fivem-icon {
  width: 3.6rem;
  height: 3.6rem;
  background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  transform: translateY(-2.5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #333;
  overflow: hidden;
  position: relative;
}

/* FiveM Tools Icon Styling */
.fivemtools-icon {
  width: 3.6rem;
  height: 3.6rem;
  background: linear-gradient(135deg, #1e5b20, #2d8a3a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  transform: translateY(-2.5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #1b4d1f;
  overflow: hidden;
  position: relative;
}

.fivem-icon:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

.fivem-icon span {
  background: linear-gradient(to right, #f0932b, #ffb142);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  font-size: 14px;
  font-family: "Lexend", sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.dock .icon:hover .fivem-icon {
  margin: 0 0 40px 0;
  width: 7.1rem;
  height: 7.1rem;
}

.fivem-icon span {
  font-size: 14px;
}

.dock .icon:hover .fivem-icon span {
  font-size: 24px;
}

.dock .icon:hover .fivemtools-icon span {
  font-size: 24px;
}

/* FiveM icon in launchpad */
.fivem-icon.launchpad-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 15px;
  background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #333;
}

/* FiveM Tools icon in launchpad */
.fivemtools-icon.launchpad-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 15px;
  background: linear-gradient(135deg, #1e5b20, #2d8a3a);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #1b4d1f;
}

.fivem-icon.launchpad-icon span {
  font-size: 18px;
  background: linear-gradient(to right, #f0932b, #ffb142);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.fivemtools-icon.launchpad-icon span {
  font-size: 18px;
  color: white;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* FiveM Tools App Styling */
.fivemtools-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 15px;
  width: 100%;
  height: 100%;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.fivemtools-tabs {
  display: flex;
  align-items: center;
}

/* FiveM Tools App - Ultra Modern Styling */

/* Main container layout with glass morphism */
.fivemtools-container {
  display: flex;
  width: 100%;
  height: calc(100% - 40px);
  background-color: rgba(15, 23, 42, 0.8);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Header styling with modern design */
.fivemtools-header {
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: 100%;
  position: relative;
}

.fivemtools-header h2 {
  font-weight: 600;
  color: #fff;
  font-size: 16px;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.fivemtools-header::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(76, 175, 80, 0), rgba(76, 175, 80, 1) 50%, rgba(76, 175, 80, 0));
  opacity: 0.7;
}

.fivemtools-icon-small {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.4);
  position: relative;
  overflow: hidden;
}

.fivemtools-icon-small::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.fivemtools-icon-small .material-icons {
  font-size: 16px;
  color: white;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Tabs styling with modern glass effect */
.fivemtools-tabs {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 3px;
  margin-right: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fivemtools-tab {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  margin: 0 2px;
  border: none;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.fivemtools-tab:hover {
  background-color: rgba(76, 175, 80, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.fivemtools-tab.active {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(46, 125, 50, 0.9));
  color: white;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
  transform: translateY(-1px);
}

.fivemtools-tab .material-icons {
  font-size: 18px;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.fivemtools-tab:hover .material-icons {
  transform: translateY(-2px);
}

.fivemtools-tab.resize-window {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(52, 168, 235, 0.3));
  margin-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.fivemtools-tab.resize-window:hover {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.4), rgba(52, 168, 235, 0.5));
}

.fivemtools-tab.resize-window .material-icons {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.fivemtools-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fivemtools-tab:hover::before {
  opacity: 1;
}

.fivemtools-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: pulse 2s infinite;
}

/* Expanded window styling */
.fivemtools.expanded {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Animation for loading spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animation for sidebar hover effect */
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Animation for tab selection */
@keyframes tab-select {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Apply animations */
.sidebar-menu-item:hover {
  animation: pulse-green 1.5s infinite;
}

.fivemtools-tab.active {
  animation: tab-select 0.3s ease-in-out;
}

/* Sidebar styling with glass morphism */
.fivemtools-sidebar {
  width: 250px;
  height: 100%;
  background-color: rgba(20, 30, 48, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  overflow-y: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.fivemtools-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(76, 175, 80, 0.05) 0%,
    rgba(20, 30, 48, 0.05) 100%
  );
  z-index: -1;
}

.sidebar-section {
  margin-bottom: 25px;
  padding: 0 20px;
  position: relative;
}

.sidebar-section h3 {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.sidebar-section h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #4CAF50, rgba(76, 175, 80, 0));
}

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

.sidebar-menu-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  margin-bottom: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.sidebar-menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1) 0%,
    rgba(76, 175, 80, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.sidebar-menu-item:hover {
  background-color: rgba(76, 175, 80, 0.15);
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(5px);
}

.sidebar-menu-item:hover::before {
  opacity: 1;
}

.sidebar-menu-item.active {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(46, 125, 50, 0.9));
  color: white;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
  transform: translateX(5px);
}

.sidebar-menu-item .material-icons {
  font-size: 20px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.sidebar-menu-item:hover .material-icons {
  transform: scale(1.2);
}

/* Status indicators with modern design */
.status-indicator {
  background-color: rgba(30, 41, 59, 0.7);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.status-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  align-items: center;
}

.status-item:last-child {
  margin-bottom: 0;
}

.status-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.status-value {
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.status-value::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  z-index: -1;
}

.status-value.connected,
.status-value.online {
  color: #ffffff;
  background-color: rgba(76, 175, 80, 0.8);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.status-value.disconnected,
.status-value.offline {
  color: #ffffff;
  background-color: rgba(244, 67, 54, 0.8);
  box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

/* Content area with modern glass effect */
.fivemtools-content {
  flex: 1;
  position: relative;
  background-color: rgba(15, 23, 42, 0.6);
  overflow: hidden;
  border-radius: 0 0 12px 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.fivemtools-content iframe {
  border: none;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.fivemtools-content iframe:hover {
  opacity: 1;
}

/* Loading indicator with modern design */
.fivemtools-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.fivemtools-loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner-container {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  position: relative;
}

.loading-spinner {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #4CAF50;
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.loading-spinner::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid rgba(76, 175, 80, 0.2);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.fivemtools-loading p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Shine animation for elements */
@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

/* Pulse animation for elements */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Responsive adjustments for modern design */
@media (max-width: 1024px) {
  .fivemtools-sidebar {
    width: 200px;
  }

  .sidebar-menu-item {
    font-size: 13px;
    padding: 8px 12px;
  }

  .fivemtools-tab {
    padding: 6px 12px;
  }

  .fivemtools-tab .tab-text {
    display: none;
  }

  .fivemtools-tab .material-icons {
    margin-right: 0;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .fivemtools-container {
    flex-direction: column;
  }

  .fivemtools-sidebar {
    width: 100%;
    height: auto;
    max-height: 150px;
    overflow-y: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
  }

  .sidebar-section {
    margin-bottom: 15px;
  }

  .sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sidebar-menu-item {
    margin: 0 5px 5px 0;
    padding: 6px 10px;
    width: auto;
  }

  .status-indicator {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* FiveM Tools Taskbar Styling */
.fivemtools-taskbar {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px 12px 0 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.fivemtools-taskbar .window__taskbar--actions button {
  background: transparent;
  border: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fivemtools-taskbar .close-fivemtools {
  background: linear-gradient(135deg, #ff5f57, #ff3527) !important;
}

.fivemtools-taskbar .backfull-fivemtools {
  background: linear-gradient(135deg, #ffbd2e, #ffab2e) !important;
}

.fivemtools-taskbar .full-fivemtools {
  background: linear-gradient(135deg, #28ca42, #1aab29) !important;
}

.close-icon, .minimize-icon, .maximize-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.close-icon::before, .close-icon::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: -4px;
}

.close-icon::before {
  transform: rotate(45deg);
}

.close-icon::after {
  transform: rotate(-45deg);
}

.minimize-icon {
  width: 8px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.5);
}

.maximize-icon {
  width: 6px;
  height: 6px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 1px;
}

.fivemtools-taskbar .window__taskbar--actions button:hover .close-icon,
.fivemtools-taskbar .window__taskbar--actions button:hover .minimize-icon,
.fivemtools-taskbar .window__taskbar--actions button:hover .maximize-icon {
  opacity: 1;
}

.fivemtools-header-badge {
  background: linear-gradient(135deg, #f0932b, #eb4d4b);
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.fivemtools-header-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

/* Statistics Cards */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-card {
  display: flex;
  align-items: center;
  background-color: rgba(30, 41, 59, 0.7);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.05) 0%,
    rgba(76, 175, 80, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

.stat-icon.boost {
  background: linear-gradient(135deg, #f0932b, #eb4d4b);
  box-shadow: 0 4px 10px rgba(235, 77, 75, 0.3);
}

.stat-icon .material-icons {
  font-size: 20px;
  color: white;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* FiveM Tools Notification */
.fivemtools-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  letter-spacing: 0.5px;
}

.fivemtools-notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(76, 175, 80, 0) 0%,
    rgba(76, 175, 80, 0.1) 50%,
    rgba(76, 175, 80, 0) 100%
  );
  border-radius: 30px;
  opacity: 0.5;
}

.fivemtools-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

/* FiveM Servers App Styling */
.fivem-taskbar {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px 12px 0 0;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.fivem-taskbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(88, 101, 242, 0.05) 0%,
    rgba(88, 101, 242, 0) 100%
  );
  z-index: -1;
}

.fivem-taskbar::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
}

.fivem-header {
  display: flex;
  align-items: center;
  padding: 0 18px;
  height: 100%;
  position: relative;
  z-index: 2;
}

.fivem-header h2 {
  font-weight: 600;
  color: #fff;
  font-size: 16px;
  margin: 0;
  letter-spacing: 0.7px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  background: linear-gradient(to right, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.3s ease;
}

.fivem-header:hover h2 {
  background: linear-gradient(to right, #ffffff, #5865F2);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(-1px);
}

.fivem-icon-small {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #5865F2, #404EED);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  box-shadow: 0 4px 12px rgba(64, 78, 237, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  perspective: 500px;
}

.fivem-header:hover .fivem-icon-small {
  transform: translateY(-2px) rotateY(10deg);
  box-shadow: 0 6px 16px rgba(64, 78, 237, 0.6);
}

.fivem-icon-small::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  z-index: 1;
}

.fivem-icon-small::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  animation: shine 4s infinite;
  z-index: 2;
}

.fivem-icon-small .material-icons {
  font-size: 18px;
  color: white;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
}

.fivem-header:hover .fivem-icon-small .material-icons {
  transform: scale(1.1);
}

.fivem-header-badge {
  background: linear-gradient(135deg, #FF4D4D, #F03E3E);
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 10px;
  box-shadow: 0 4px 8px rgba(240, 62, 62, 0.4);
  letter-spacing: 0.8px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 62, 62, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(240, 62, 62, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 62, 62, 0);
  }
}

.fivem-tabs {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 4px;
  margin-right: 18px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 5;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fivem-tabs:hover {
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.fivem-tabs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(88, 101, 242, 0.05) 0%,
    rgba(88, 101, 242, 0) 100%
  );
  border-radius: 14px;
  z-index: -1;
}

.fivem-tab {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  margin: 0 3px;
  border: none;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.fivem-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.fivem-tab:hover::before {
  opacity: 1;
}

.fivem-tab:hover {
  background-color: rgba(88, 101, 242, 0.15);
  color: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.fivem-tab.active {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.8), rgba(64, 78, 237, 0.9));
  color: white;
  box-shadow:
    0 4px 12px rgba(64, 78, 237, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  font-weight: 600;
}

.fivem-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: pulse 2s infinite;
  opacity: 0.7;
}

.fivem-tab .material-icons {
  font-size: 18px;
  margin-right: 10px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.fivem-tab:hover .material-icons {
  transform: translateY(-2px) scale(1.1);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.fivem-tab.active .material-icons {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.fivem-tab .tab-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.fivem-tab:hover .tab-text {
  transform: translateY(-1px);
}

.fivem-tab.resize-window {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(52, 168, 235, 0.3));
  margin-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
}

.fivem-tab.resize-window:hover {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.4), rgba(52, 168, 235, 0.5));
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.fivem-tab.resize-window .material-icons {
  color: rgba(255, 255, 255, 0.95);
  font-size: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fivem-tab.resize-window:hover .material-icons {
  transform: scale(1.15);
}

.fivem-content {
  position: relative;
  background-color: rgba(15, 23, 42, 0.7);
  overflow: hidden;
  border-radius: 0 0 12px 12px;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: none;
}

.fivem-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 10%,
    rgba(88, 101, 242, 0.05) 0%,
    rgba(15, 23, 42, 0) 70%
  );
  z-index: 0;
  pointer-events: none;
}

.fivem-content iframe {
  border: none;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.98;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: contrast(1.02) saturate(1.05);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.fivem-content iframe:hover {
  opacity: 1;
  filter: contrast(1.05) saturate(1.1);
}

.fivem-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-radius: 0 0 12px 12px;
}

.fivem-loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(88, 101, 242, 0.1) 0%,
    rgba(15, 23, 42, 0) 70%
  );
  z-index: -1;
}

.fivem-loading p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
}

.loading-spinner-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.loading-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid rgba(88, 101, 242, 0.8);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

.loading-spinner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-bottom: 3px solid rgba(240, 62, 62, 0.8);
  border-radius: 50%;
  animation: spin 2s linear infinite reverse;
  box-shadow: 0 0 10px rgba(240, 62, 62, 0.3);
}

.loading-spinner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: 40%;
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-left: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.fivem-loading.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
}

.fivem-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.85));
  color: white;
  padding: 14px 28px;
  border-radius: 16px;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 4px 10px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
  font-size: 15px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  text-align: center;
  letter-spacing: 0.7px;
  max-width: 90%;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transform-origin: center top;
}

.fivem-notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(88, 101, 242, 0) 0%,
    rgba(88, 101, 242, 0.15) 50%,
    rgba(88, 101, 242, 0) 100%
  );
  border-radius: 16px;
  opacity: 0;
  transition: opacity 1s ease;
  animation: notification-shine 3s infinite;
}

.fivem-notification::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(88, 101, 242, 0.7),
    rgba(240, 62, 62, 0.7)
  );
  opacity: 0.7;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.fivem-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

.fivem-notification.show::after {
  transform: scaleX(1);
  transition: transform 2.5s cubic-bezier(0.1, 0.9, 0.2, 1);
}

@keyframes notification-shine {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

/* Window Controls */
.window__taskbar--actions button {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.close-fivem {
  background: linear-gradient(135deg, #FF5F57, #FF4242);
  box-shadow: 0 2px 5px rgba(255, 79, 66, 0.3);
}

.close-fivem:hover {
  background: linear-gradient(135deg, #FF4242, #FF2D2D);
  transform: scale(1.1);
}

.close-fivem .close-icon {
  position: relative;
  width: 8px;
  height: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.close-fivem:hover .close-icon {
  opacity: 1;
}

.close-fivem .close-icon::before,
.close-fivem .close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
}

.close-fivem .close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-fivem .close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.backfull-fivem {
  background: linear-gradient(135deg, #FFBD2E, #FFAC2F);
  box-shadow: 0 2px 5px rgba(255, 189, 46, 0.3);
}

.backfull-fivem:hover {
  background: linear-gradient(135deg, #FFAC2F, #FF9E30);
  transform: scale(1.1);
}

.backfull-fivem .minimize-icon {
  position: relative;
  width: 8px;
  height: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.backfull-fivem:hover .minimize-icon {
  opacity: 1;
}

.backfull-fivem .minimize-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.full-fivem {
  background: linear-gradient(135deg, #28CA42, #20B938);
  box-shadow: 0 2px 5px rgba(40, 202, 66, 0.3);
}

.full-fivem:hover {
  background: linear-gradient(135deg, #20B938, #1AA932);
  transform: scale(1.1);
}

.full-fivem .maximize-icon {
  position: relative;
  width: 8px;
  height: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.full-fivem:hover .maximize-icon {
  opacity: 1;
}

.full-fivem .maximize-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

/* Expanded window styling */
.fivem.expanded {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000 !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2),
    0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fivem.expanded .fivem-taskbar {
  border-radius: 12px 12px 0 0;
}

.fivem.expanded .fivem-content {
  border-radius: 0 0 12px 12px;
}

/* FiveM Welcome Popup */
.fivem-welcome-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.fivem-welcome-popup.show {
  opacity: 1;
  visibility: visible;
}

.welcome-popup-content {
  width: 90%;
  max-width: 800px;
  max-height: 90%;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border-radius: 20px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.fivem-welcome-popup.show .welcome-popup-content {
  transform: scale(1);
}

.welcome-popup-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 10%,
    rgba(88, 101, 242, 0.1) 0%,
    rgba(15, 23, 42, 0) 70%
  );
  pointer-events: none;
}

.welcome-popup-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
}

.welcome-header-content {
  display: flex;
  align-items: center;
}

.welcome-icon-container {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #5865F2, #404EED);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  box-shadow: 0 4px 12px rgba(64, 78, 237, 0.5);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-icon-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  z-index: 1;
}

.welcome-icon {
  font-size: 28px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 2;
}

.welcome-title-container {
  display: flex;
  flex-direction: column;
}

.welcome-title-container h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.welcome-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.welcome-popup-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.welcome-popup-close:hover {
  background: rgba(255, 79, 66, 0.2);
  transform: rotate(90deg);
}

.welcome-popup-close .material-icons {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.welcome-popup-body {
  padding: 25px 30px;
  overflow-y: auto;
  max-height: 60vh;
}

.welcome-message {
  text-align: center;
  margin-bottom: 25px;
}

.welcome-message p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.feature-card {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.upvotes-card.animated {
  animation: card-appear 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.powerboost-card.animated {
  animation: card-appear 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

@keyframes card-appear {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
}

.upvotes-card {
  border-top: 3px solid #4CAF50;
}

.powerboost-card {
  border-top: 3px solid #FF9800;
}

.feature-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
}

.upvotes-card .feature-icon-container {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.powerboost-card .feature-icon-container {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 152, 0, 0.1));
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.feature-icon {
  font-size: 30px;
  position: relative;
  z-index: 1;
}

.upvotes-card .feature-icon {
  color: #4CAF50;
  filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.5));
}

.powerboost-card .feature-icon {
  color: #FF9800;
  filter: drop-shadow(0 2px 4px rgba(255, 152, 0, 0.5));
}

.feature-content h4 {
  margin: 0 0 15px 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.feature-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: white;
  flex-shrink: 0;
}

.upvotes-card .step-number {
  background: #4CAF50;
  box-shadow: 0 2px 5px rgba(76, 175, 80, 0.4);
}

.powerboost-card .step-number {
  background: #FF9800;
  box-shadow: 0 2px 5px rgba(255, 152, 0, 0.4);
}

.step-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.feature-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
}

.benefit-tag {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.upvotes-card .benefit-tag {
  background: rgba(76, 175, 80, 0.15);
  color: rgba(76, 175, 80, 0.9);
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.powerboost-card .benefit-tag {
  background: rgba(255, 152, 0, 0.15);
  color: rgba(255, 152, 0, 0.9);
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.welcome-tips {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tip-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.tip-icon {
  font-size: 24px;
  color: #FFC107;
  margin-right: 10px;
  filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.5));
}

.tip-header h4 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.tip-list {
  margin: 0;
  padding: 0 0 0 15px;
  list-style-type: none;
}

.tip-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.tip-list li::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFC107;
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
}

.welcome-popup-footer {
  padding: 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
}

.dont-show-welcome-again {
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.dont-show-welcome-again input {
  margin-right: 8px;
  cursor: pointer;
}

.dont-show-welcome-again span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.welcome-popup-button {
  background: linear-gradient(135deg, #5865F2, #404EED);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(64, 78, 237, 0.3);
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-popup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(64, 78, 237, 0.4);
  background: linear-gradient(135deg, #4752C4, #3540B2);
}

/* Custom scrollbar for the popup */
.welcome-popup-body::-webkit-scrollbar {
  width: 8px;
}

.welcome-popup-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.welcome-popup-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.welcome-popup-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* FiveM Information Popup */
.fivem-info-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.fivem-info-popup.show {
  opacity: 1;
  visibility: visible;
}

.info-popup-content {
  width: 90%;
  max-width: 700px;
  max-height: 90%;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border-radius: 16px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.fivem-info-popup.show .info-popup-content {
  transform: scale(1);
}

.info-popup-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 10%,
    rgba(88, 101, 242, 0.1) 0%,
    rgba(15, 23, 42, 0) 70%
  );
  pointer-events: none;
}

.info-popup-header {
  padding: 20px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  position: relative;
}

.info-popup-header h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.info-popup-badge {
  background: linear-gradient(135deg, #5865F2, #404EED);
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 12px;
  margin-left: 12px;
  box-shadow: 0 4px 8px rgba(64, 78, 237, 0.3);
  letter-spacing: 0.8px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.info-popup-close:hover {
  background: rgba(255, 79, 66, 0.2);
  transform: rotate(90deg);
}

.info-popup-close .material-icons {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.info-popup-body {
  padding: 20px 25px;
  overflow-y: auto;
  max-height: 60vh;
}

.info-section {
  margin-bottom: 25px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.info-section h4 {
  margin: 0 0 15px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

.info-section h4 .material-icons {
  margin-right: 10px;
  font-size: 20px;
  color: #5865F2;
  filter: drop-shadow(0 2px 4px rgba(88, 101, 242, 0.3));
}

.info-section ul {
  margin: 0;
  padding: 0 0 0 15px;
  list-style-type: none;
}

.info-section li {
  position: relative;
  padding: 8px 0 8px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.info-section li::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5865F2;
  box-shadow: 0 0 8px rgba(88, 101, 242, 0.5);
}

.inline-icon {
  font-size: 16px !important;
  vertical-align: middle;
  margin: 0 2px;
  color: #5865F2;
}

.info-popup-footer {
  padding: 15px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dont-show-again {
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.dont-show-again input {
  margin-right: 8px;
  cursor: pointer;
}

.dont-show-again span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.info-popup-button {
  background: linear-gradient(135deg, #5865F2, #404EED);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(64, 78, 237, 0.3);
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-popup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(64, 78, 237, 0.4);
  background: linear-gradient(135deg, #4752C4, #3540B2);
}

/* Custom scrollbar for the popup */
.info-popup-body::-webkit-scrollbar {
  width: 8px;
}

.info-popup-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.info-popup-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.info-popup-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* FiveM App Styling */
.fivem-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  width: 100%;
  height: 100%;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.fivem-server-info {
  display: flex;
  flex-direction: column;
  margin-right: 20px;
}

.server-name {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.server-players {
  font-size: 12px;
  color: #666;
}

.fivem-actions {
  display: flex;
  align-items: center;
}

.fivem-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  margin-left: 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.upvote-button {
  background-color: #f0f0f0;
  color: #333;
}

.upvote-button:hover {
  background-color: #e0e0e0;
}

.upvote-button.active {
  background-color: #4CAF50;
  color: white;
}

.favorite-button {
  background-color: #f0f0f0;
  color: #333;
}

.favorite-button:hover {
  background-color: #e0e0e0;
}

.favorite-button.active {
  background-color: #FFC107;
  color: white;
}

.connect-button {
  background-color: #f0932b;
  color: white;
  font-weight: bold;
}

.connect-button:hover {
  background-color: #e67e22;
}

/* FiveM Tools Dropdown */
.fivem-button-dropdown {
  position: relative;
  display: inline-block;
}

.fivem-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  z-index: 100;
  margin-top: 5px;
  overflow: hidden;
}

.fivem-button-dropdown:hover .fivem-dropdown-content {
  display: block;
}

.fivem-dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 15px;
  border: none;
  background-color: transparent;
  text-align: left;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.fivem-dropdown-item:hover {
  background-color: #f5f5f5;
}

.fivem-dropdown-item .material-icons {
  font-size: 18px;
  margin-right: 8px;
  color: #f0932b;
}

.tools-button .material-icons {
  color: #4CAF50;
}

.server-management-button .material-icons {
  color: #2196F3;
}

.powerboost-button .material-icons {
  color: #f0932b;
}

.fivem-button .material-icons {
  font-size: 16px;
  margin-right: 4px;
}

.upvote-count {
  margin-left: 4px;
  font-size: 12px;
}

.fivem-content {
  display: flex;
  height: 100%;
}

.fivem-sidebar {
  width: 250px;
  height: 100%;
  background-color: #f8f8f8;
  border-right: 1px solid #e0e0e0;
  overflow-y: auto;
  padding: 15px;
}

.fivem-main-content {
  flex: 1;
  height: 100%;
}

.fivem-sidebar-section {
  margin-bottom: 20px;
}

.fivem-sidebar-section h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e0e0e0;
}

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

.fivem-info-list li {
  margin-bottom: 8px;
  font-size: 13px;
  color: #555;
}

.info-label {
  font-weight: bold;
  color: #333;
  margin-right: 5px;
}

.fivem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.fivem-tag {
  display: inline-block;
  padding: 4px 8px;
  background-color: #e0e0e0;
  border-radius: 12px;
  font-size: 12px;
  color: #555;
}

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

.fivem-player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.player-name {
  font-size: 13px;
  color: #333;
}

.player-level {
  font-size: 12px;
  color: #f0932b;
  font-weight: bold;
}

/* FiveM Support Tools Styling */
.support-tools {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fivem-tool {
  background-color: white;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tool-header h4 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.total-upvotes, .boost-level {
  font-weight: bold;
  color: #f0932b;
  font-size: 14px;
}

/* Upvote Tool Styling */
.upvote-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.upvote-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 30%;
}

.upvote-option:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.upvote-option.active {
  background-color: #f0932b;
  border-color: #e67e22;
  color: white;
}

.upvote-option .material-icons {
  font-size: 18px;
  margin-bottom: 4px;
}

.option-value {
  font-size: 12px;
  font-weight: bold;
}

.upvote-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-label {
  font-size: 11px;
  color: #777;
}

.stat-value {
  font-size: 13px;
  font-weight: bold;
  color: #4CAF50;
}

/* Powerboost Tool Styling */
.boost-progress {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.boost-bar {
  flex: 1;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 10px;
}

.boost-fill {
  height: 100%;
  background: linear-gradient(to right, #f0932b, #ffb142);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.boost-percentage {
  font-size: 12px;
  font-weight: bold;
  color: #555;
}

.boost-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.boost-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 48%;
}

.boost-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.boost-button.active {
  background-color: #4CAF50;
  border-color: #388E3C;
  color: white;
}

.boost-button .material-icons {
  font-size: 16px;
  margin-right: 6px;
  color: #f0932b;
}

.boost-button:hover .material-icons {
  color: #e67e22;
}

.boost-button.active .material-icons {
  color: white;
}

.boost-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #777;
  margin-top: 8px;
}

/* Animation Styles */
.upvote-animation, .boost-animation, .levelup-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: #f0932b;
  opacity: 0;
  transition: all 0.5s ease;
  pointer-events: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.upvote-animation.show, .boost-animation.show {
  opacity: 1;
  transform: translate(-50%, -100%);
}

.levelup-animation {
  font-size: 32px;
  color: #4CAF50;
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.levelup-animation.show {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1.5);
}

/* Fix for boost-fill inline style */
.boost-fill {
  width: 65%; /* Default value, will be updated by JS */
}

/* Server Search Tool Styling */
.server-search-tool {
  position: relative;
}

.search-form {
  margin-bottom: 15px;
}

.search-input-container {
  display: flex;
  margin-bottom: 10px;
}

.server-search-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.server-search-input:focus {
  border-color: #f0932b;
}

.search-button {
  background-color: #f0932b;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-button:hover {
  background-color: #e67e22;
}

.search-filters {
  display: flex;
  gap: 10px;
}

.filter-dropdown {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 13px;
  background-color: #f8f8f8;
  outline: none;
  cursor: pointer;
}

.filter-dropdown:focus {
  border-color: #f0932b;
}

.search-results {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: white;
}

.search-status {
  padding: 15px;
  text-align: center;
  color: #777;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #f0932b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hidden {
  display: none;
}

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

.server-item {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.server-item:last-child {
  border-bottom: none;
}

.server-item:hover {
  background-color: #f9f9f9;
}

.server-item-container {
  display: flex;
  gap: 12px;
}

.server-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.server-icon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
}

.server-icon-placeholder span {
  color: #f0932b;
  font-weight: bold;
  font-size: 12px;
}

.server-item-content {
  flex: 1;
  min-width: 0; /* Ensures text truncation works */
}

.server-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.server-item-name {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}

.server-item-players {
  font-size: 12px;
  color: #4CAF50;
  background-color: rgba(76, 175, 80, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
  white-space: nowrap;
}

.server-item-details {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #777;
  margin-bottom: 5px;
}

.server-item-address {
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-item-ping {
  color: #f0932b;
  white-space: nowrap;
}

.server-item-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
}

.server-item-stat {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #555;
}

.server-item-stat .material-icons {
  font-size: 14px;
  margin-right: 4px;
}

.server-item-stat.owner .material-icons {
  color: #607D8B;
}

.server-item-stat:nth-child(1) .material-icons {
  color: #607D8B;
}

.server-item-stat:nth-child(2) .material-icons {
  color: #f0932b;
}

.server-item-stat:nth-child(3) .material-icons {
  color: #4CAF50;
}

.server-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.server-item-tag {
  font-size: 10px;
  background-color: #f0f0f0;
  color: #555;
  padding: 2px 6px;
  border-radius: 10px;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connect-button-small {
  background-color: #f0932b;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 5px;
  display: inline-block;
}

.connect-button-small:hover {
  background-color: #e67e22;
}

.load-more-container {
  padding: 10px;
  text-align: center;
  border-top: 1px solid #eee;
}

.load-more-button {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.load-more-button:hover {
  background-color: #f0f0f0;
  border-color: #d0d0d0;
}

.load-more-button .material-icons {
  font-size: 16px;
  margin-right: 5px;
}

.load-more-button.loading {
  pointer-events: none;
  opacity: 0.7;
}

.loading-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* FiveM Connection Dialog */
.fivem-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fivem-dialog.show {
  opacity: 1;
  visibility: visible;
}

.dialog-content {
  width: 500px;
  max-width: 90%;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.fivem-dialog.show .dialog-content {
  transform: translateY(0);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f0932b;
  color: white;
}

.dialog-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.dialog-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.dialog-body {
  padding: 20px;
}

.server-connect-info {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.connect-server-name {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 5px 0;
  color: #333;
}

.connect-server-players,
.connect-server-address {
  font-size: 14px;
  color: #666;
  margin: 5px 0;
}

.connect-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.connect-option {
  background-color: #f8f8f8;
  border-radius: 6px;
  padding: 15px;
}

.connect-option h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #333;
}

.connect-option p {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #666;
}

.direct-connect-button {
  display: inline-block;
  background-color: #f0932b;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.direct-connect-button:hover {
  background-color: #e67e22;
}

.copy-url-container,
.copy-command-container {
  display: flex;
  margin-top: 10px;
}

.copy-url-input,
.copy-command-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  background-color: #f0f0f0;
}

.copy-url-button,
.copy-command-button {
  padding: 8px 12px;
  background-color: #f0932b;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.copy-url-button:hover,
.copy-command-button:hover {
  background-color: #e67e22;
}

/* FiveM iframe overlay and connect button */
.iframe-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.iframe-container iframe {
  position: relative;
  z-index: 1;
}

.iframe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.iframe-connect-button-container {
  position: absolute;
  bottom: 20px;
  right: 20px;
  pointer-events: auto;
}

.iframe-connect-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0932b;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.iframe-connect-button:hover {
  background-color: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.iframe-connect-button .material-icons {
  font-size: 18px;
  margin-right: 6px;
}

.iframe-connect-tooltip {
  position: absolute;
  bottom: 100%;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.iframe-connect-tooltip:after {
  content: '';
  position: absolute;
  top: 100%;
  right: 15px;
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.iframe-connect-button-container:hover .iframe-connect-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.iframe-notification {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(240, 147, 43, 0.9);
  color: white;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: notification-fade 5s forwards;
}

.notification-icon {
  font-size: 18px;
  margin-right: 8px;
}

.tools-notification {
  background-color: rgba(76, 175, 80, 0.9);
}

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

.container__Window {
  width: 100%;
  height: 90%;
  justify-content: space-around;
  align-items: center;
  display: none;
}

.window {
  display: none;
  min-width: 50%;
  max-width: 80%;
  height: 430px;
  overflow: hidden;
  border-radius: 1rem;
  background: transparent;
  box-shadow: 0 20px 30px var(--color-black-500);
  border: 1px solid #ffffff34;
  animation: zoom-out 0.3s;
  z-index: 10;
  touch-action: none;
}

.window__taskbar {
  height: 12%;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  background-color: var(--app-color-white);
}
.window__taskbar--actions {
  display: flex;
  align-items: center;
}

.window__taskbar:hover button::after {
  color: #000;
}

.window__taskbar--actions button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 0.8rem;
  height: 0.8rem;
  padding: 8px;
  border-radius: 50%;
  transition: 0.4s;
}

.window__taskbar--actions button:not(:last-child) {
  margin-right: 8px;
}

.window__taskbar--actions button:nth-child(1) {
  background-color: #ff5f56;
  box-shadow: 0 0 0 0.5px #e0443e;
}

.window__taskbar--actions button::after {
  display: block;
  font-size: 14px;
  color: transparent;
  font-weight: 900;
}

.window__taskbar--actions button:nth-child(1)::after {
  content: "×";
}

.window__taskbar--actions button:nth-child(1):hover {
  background-color: #fc3c32;
}

.window__taskbar--actions button:nth-child(2) {
  background-color: #ffbd2e;
  box-shadow: 0 0 0 0.5px #dea123;
}

.window__taskbar--actions button:nth-child(2)::after {
  content: "−";
}

.window__taskbar--actions button:nth-child(2):hover {
  background-color: #ffa600;
}

.window__taskbar--actions button:nth-child(3) {
  background-color: #27c93f;
  box-shadow: 0 0 0 0.5px #1aab29;
}

.window__taskbar--actions button:nth-child(3)::after {
  content: "⤡";
}

.window__taskbar--actions button:nth-child(3):hover {
  background-color: #12aa29;
}

.window__taskbar--content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.window__taskbar--content h2 {
  color: var(--color-black);
  font-weight: 600;
  font-size: 18px;
}

.server-owner-info {
  position: absolute;
  right: 15px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  background-color: rgba(240, 147, 43, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(240, 147, 43, 0.2);
}

.terminal .window__taskbar,
.Vscode .window__taskbar,
.maps .window__taskbar,
.fivem .window__taskbar {
  height: 9%;
}

.terminal_content {
  width: 100%;
  height: 91%;
  overflow-y: scroll;
  padding-left: 1rem;
  background-color: rgba(5, 5, 99, 0.63);
  backdrop-filter: blur(12px);
  color: rgb(235, 235, 235);
  font-size: 20px;
  font-family: "Roboto Mono", monospace;
}

.color_green {
  color: green;
}

.color_blue {
  color: #1f48ff;
}

.window__taskbar--right {
  width: 60%;
  height: 100%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

@media screen and (max-width: 900px) {
  .window__taskbar--right {
    width: 70%;
  }
}
.Customize__icon span {
  border: 1px solid rgba(204, 200, 200, 0.412);
  border-radius: 9px;
  transition: 0.2s;
  padding: 5px;
  cursor: url(../cursor/Link.cur), pointer;
}

.window__taskbar--right .containerSearch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 45%;
  height: 75%;
  background-color: var(--app-color-white);
  border-radius: 5px;
  border: 1px solid rgba(123, 123, 123, 0.412);
  padding-left: 8px;
}
.window__taskbar--right .containerSearch svg {
  fill: rgba(123, 123, 123, 0.412);
}
.window__taskbar--right input[type="search"] {
  width: 85%;
  height: 100%;
  background-color: transparent;
  color: var(--color-black);
  font-size: 18px;
  padding-right: 10px;
  font-family: "Lexend", sans-serif;
}

.window .content {
  width: 100%;
  height: 92%;
  display: flex;
}

.Parent__content--typing {
  width: 70%;
  height: 100%;
  border-top: 1px solid #e0e2e1;
  background-color: var(--app-color-white);
}

.content__typing {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  display: none;
  color: var(--color-black);
  font-weight: 900;
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  padding: 16px;
}

.content__sidebar {
  width: 30%;
  height: 100%;
  background: var(--color-white-400);
  backdrop-filter: blur(1rem);
}

.content__sidebar--notes {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  background-color: transparent;
}

.content__sidebar--notes input {
  width: 85%;
  padding-left: 10px;
  height: 10%;
  font-family: "Lexend", sans-serif;
  font-size: 18px;
  outline: none;
  color: var(--color-black);
  transition: all 0.2s;
  border-radius: 4px;
  margin: 10px auto;
  font-weight: 100;
  display: block;
  transition: 0.3s;
}
.content__sidebar--notes input:hover {
  background-color: rgba(0, 0, 0, 0.336);
}

.content__sidebar--notes input::placeholder {
  color: white;
}

.spotlight_serach {
  width: 400px;
  height: 50px;
  display: flex;
  align-items: center;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  border: 1px solid var(--color-white-100);
  justify-content: start;
  border-radius: 8px;
  background-color: transparent;
  backdrop-filter: blur(10px);
  z-index: 10;
  box-shadow: 0 10px 10px rgba(37, 37, 37, 0.137);
}
.spotlight_serach svg {
  margin-left: 10px;
}
.spotlight_serach input {
  width: 90%;
  font-size: 20px;
  font-weight: 100;
  font-family: Lexend;
  margin-left: 10px;
  padding-right: 10px;
}
.spotlight_serach input::placeholder {
  color: white;
}

.launchpad {
  display: none;
  animation: opacity 300ms;
  width: 100%;
  height: 100%;
  background-color: transparent;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.searchbox {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.searchbox .searchContainer {
  height: 30px;
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border-top: 1px solid rgba(255, 255, 255, 0.582);
  border-bottom: 1px solid rgba(255, 255, 255, 0.582);
  border-right: 1px solid rgba(255, 255, 255, 0.219);
  border-left: 1px solid rgba(255, 255, 255, 0.219);
  border-radius: 4px;
  padding: 0 3px;
}

.searchbox .searchContainer svg {
  fill: #fff;
}

.searchbox input {
  text-align: center;
  color: #fff;
  font-size: 17px;
  height: 100%;
  font-family: "Roboto", sans-serif;
}

.searchbox input::placeholder {
  color: #fff;
  font-weight: 100;
}

.searchbox input:focus {
  text-align: left;
}

.Apps-container {
  width: 90%;
  height: 60%;
  margin: 0 auto;
  display: grid;
  grid-row-gap: 10px;
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-rows: 25% 25% 25% 25%;
}

.launchpad .child-launchpad {
  display: flex;
  place-items: center;
  flex-direction: column;
  cursor: url(../cursor/Link.cur), pointer;
}

.launchpad .child-launchpad img {
  width: 80px;
}

@media screen and (min-width: 1200px) {
  .launchpad .Apps-container {
    grid-row-gap: 20px;
  }
  .launchpad .child-launchpad img {
    width: 80px;
  }
  .launchpad .child-launchpad strong {
    font-size: 18px;
  }
}

.launchpad .child-launchpad:active {
  animation: vibrate 0.1s ease-in forwards infinite alternate;
  transition: transform 0.1s cubic-bezier(0.42, 0, 1, 0.2);
}

.launchpad .child-launchpad strong {
  color: #fff;
}

::-webkit-scrollbar {
  background-color: #fff;
  width: 16px;
}

/* background of the scrollbar except button or resizer */
::-webkit-scrollbar-track {
  background-color: #fff;
}

/* scrollbar itself */
::-webkit-scrollbar-thumb {
  background-color: #babac0;
  border-radius: 16px;
  border: 4px solid #fff;
}

/* set button(top and bottom of the scrollbar) */
::-webkit-scrollbar-button {
  display: none;
}

/******Animations*****/

@keyframes zoom-out {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes to-top-bottom {
  0% {
    transform: translate(0);
  }
  25% {
    transform: translateY(-12px);
  }
  50% {
    transform: translateY(-3px);
  }
  75% {
    transform: translateY(-21px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes vibrate {
  0% {
    transform: rotate(9deg);
  }
  100% {
    transform: rotate(-9deg);
  }
}

@keyframes top-to-bottom {
  0% {
    transform: translateY(-60px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes opacity {
  0% {
    opacity: 0;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.calculator {
  display: none;
  width: 20rem;
  max-width: 100%;
  height: 25rem;
  max-height: 80%;
  background: var(--color-black-500);
  backdrop-filter: blur(1rem);
  border-radius: 1rem;
  box-shadow: 0 0.5rem 2rem var(--color-black-500);
  border: 1px solid var(--color-white-200);
  animation: zoom-out 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.calculator__top {
  width: 100%;
  height: 30%;
  display: flex;
  flex-direction: column;
}

.calculator__top--taskabr {
  height: 40px;
  padding: 0 2px;
  display: flex;
  align-items: center;
}

.calculator__top--taskabr button {
  position: relative;
  width: 1px;
  height: 1px;
  padding: 8px;
  border-radius: 50%;
  margin-left: 8px;
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calculator__top--taskabr button:nth-child(1) {
  background-color: #ff6059;
}

.calculator__top--taskabr button:nth-child(1):hover {
  background-color: #fc3c32;
}

.calculator__top--taskabr button:nth-child(2) {
  background-color: #ffbd2e;
}

.calculator__top--taskabr button:nth-child(2):hover {
  background-color: #ffa600;
}

.calculator__top--taskabr button:nth-child(3) {
  background-color: #28c941;
}

.calculator__top--taskabr button:nth-child(3):hover {
  background-color: #12aa29;
}

.calculator__top--taskabr button::after {
  display: block;
  font-size: 14px;
  color: transparent;
  font-weight: 900;
  position: absolute;
}

.calculator__top--taskabr:hover button::after {
  color: #000;
}

.calculator__top--taskabr button:nth-child(1)::after {
  content: "×";
}

.calculator__top--taskabr button:nth-child(2)::after {
  content: "−";
}

.calculator__top--taskabr button:nth-child(3)::after {
  content: "⤡";
}

.calculator__top--output {
  flex: 1;
  color: var(--color-white);
  font-size: 2rem;
  text-align: right;
  font-family: "Lexend";
  border: none;
  background: transparent;
  padding: 0 0.8rem;
}

.input {
  width: 100%;
  height: 70%;
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-rows: 20% 20% 20% 20% 20%;
}

.input .button {
  width: 100%;
  height: 100%;
  font-size: 1.8rem;
  font-family: "Montserrat";
  font-weight: bold;
  border: 1px solid rgba(95, 95, 95, 0.336);
}

.r-radius {
  border-bottom-right-radius: 15px;
}

.large {
  grid-column-start: span 2;
  border-bottom-left-radius: 15px;
}

.operator {
  background-color: #fd9e2a;
  color: #fff;
}

.number {
  background-color: #d6d6d6;
  color: rgb(0, 0, 0);
}

.operator-2 {
  background-color: #ccc9c9;
  color: rgb(0, 0, 0);
}

.context-menu {
  padding: 0 3px;
  position: absolute;
  border-radius: 7px;
  text-align: center;
  background: rgba(255, 255, 255, 0.219);
  border: 1px solid rgba(255, 255, 255, 0.281);
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.context-menu ul {
  padding: 0;
  margin: 0;
  min-width: 250px;
  list-style: none;
}

.context-menu ul li {
  margin: 4px 0;
  border-bottom: 1px solid rgba(65, 64, 64, 0.288);
}

.context-menu ul li:last-child {
  border: none;
}

.context-menu ul li button {
  color: var(--color-white);
  width: 100%;
  height: 100%;
  text-align: left;
  font-size: 15px;
  font-family: "Lexend", sans-serif;
  border-radius: 5px;
  padding: 4px 8px;
  transition: 80ms;
  font-weight: 300;
  margin: 0 0 4px 0;
  display: flex;
  flex-direction: row;
  cursor: url(../cursor/Link.cur), pointer;
}
.context-menu ul button:hover {
  background: var(--color-blue-800);
}

/* Widgets panel */
.widgets-panel {
  position: fixed;
  top: 42px;
  right: 10px;
  transform: translateX(115%);
  transition: all 0.3s cubic-bezier(0.79, 0.14, 0.15, 0.86);
  backdrop-filter: blur(1rem);
  border: 1px solid var(--color-white-200);
  border-radius: 16px;
  overflow: hidden;
}
.widgets-panel.open {
  transform: translateX(0);
}
.widgets-panel__calendar {
  background: transparent;
  padding: 16px;
  min-width: 160px;
}
.widgets-panel #taghvim {
  display: flex;
  align-items: center;
  justify-content: center;
}
.widgets-panel__calendar h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  margin-left: 8px;
  margin-bottom: -10px;
}
.widgets-panel__calendar h2 {
  color: #ffffff;
  font-size: 45px;
  font-weight: 300;
}
.widgets-panel__calendar li {
  position: relative;
  padding: 4px 10px;
  font-size: 15px;
  border-radius: 4px;
  margin-left: 8px;
  margin: 8px 0;
}
.widgets-panel__calendar li::before {
  content: "";
  width: 8px;
  height: calc(100% - 2px);
  position: absolute;
  border-radius: 99px;
  top: 2px;
  left: -12px;
}
.widgets-panel__calendar li.blue {
  color: #34aadc;
  background: #283646;
}
.widgets-panel__calendar li.blue::before {
  background: #34aadc;
}
.widgets-panel__calendar li.green {
  color: #32d74b;
  background: #2d402e;
}
.widgets-panel__calendar li.green::before {
  background: #32d74b;
}
.widgets-panel__calendar li.purple {
  color: #9c5ffd;
  background: #422948;
}
.widgets-panel__calendar li.purple::before {
  background: #7a3edb;
}
.widgets-panel__calendar li span {
  display: block;
}
.widgets-panel__calendar li span:first-child {
  font-weight: bold;
}
