@import url("../vendor/google-fonts/poppins/fonts.css");

/* Keep established layouts in one layer. ui.css owns shared component styling. */
@layer legacy {

:root {
  --color-primary: #00b800;
  --color-secprimary: #6c9bcf;
  --color-secondary: #fff;
  --color-danger: #ff0060;
  --color-success: #1b9c85;
  --color-warning: #f7d060;
  --color-white: #fff;
  --color-info-dark: #7d8da1;
  --color-dark: #363949;
  --color-light: rgba(132, 139, 200, 0.18);
  --color-dark-variant: #677483;
  --color-background: #f6f6f9;
  --color-lime: #00ff00;

  --card-border-radius: 2rem;
  --border-radius-1: 0.4rem;
  --border-radius-2: 1.2rem;

  --card-padding: 1.8rem;
  --padding-1: 1.2rem;

  --box-shadow: 0 2rem 3rem var(--color-light);
}

.dark-mode-variables {
  --color-background: #181a1e;
  --color-primary: #00ff00;
  --color-secondary: #00b800;
  --color-white: #202528;
  --color-dark: #edeffd;
  --color-dark-variant: #a3bdcc;
  --color-light: rgba(0, 0, 0, 0.4);
  --box-shadow: 0 2rem 3rem var(--color-light);
}

.dark-login {
  background-color: #202528;
  box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  appearance: 0;
  border: 0;
  text-decoration: none;
  box-sizing: border-box;
}

html {
  font-size: 14px;
}

body {
  width: 100vw;
  height: 100vh;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  user-select: none;
  overflow-x: hidden;
  color: var(--color-dark);
  background-color: var(--color-background);
}

body.modal-open {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 20, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 2;
}

body.menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

a {
  color: var(--color-dark);
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.img-border {
  border-radius: 20px;
}

h1 {
  font-weight: 800;
  font-size: 1.8rem;
}

h2 {
  font-weight: 600;
  font-size: 1.4rem;
}

h3 {
  font-weight: 500;
  font-size: 0.87rem;
}

small {
  font-size: 0.76rem;
}

p {
  color: var(--color-dark-variant);
}

b {
  color: var(--color-dark);
}

.menu-divider {
  background-color: #181a1e;
  height: 1px;
  width: 80%;
  align-self: center;
  margin: 35px 0px;
}

.menu-spacer {
  height: 15px; /* Adjust the height as needed */
}

@media (max-width: 1200px) {
  .menu-divider {
    margin: 20px 0px;
  }
}

.text-muted {
  color: var(--color-info-dark);
}

.text_muted {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6; /* Number of lines to show */
  -webkit-box-orient: vertical;
}

.primary {
  color: var(--color-primary);
}

.danger {
  color: var(--color-danger);
}

.king-plan {
  color: #cb2525;
  font-weight: bold;
}

.soldier-plan {
  color: #2b73f6;
  font-weight: bold;
}

.buffoon-plan {
  color: #eb3680;
  font-weight: bold;
}

.lime {
  color: var(--color-lime);
}

.success {
  color: var(--color-success);
}

.warning {
  color: var(--color-warning);
}

/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
  font-family: Poppins-Regular;
  src: url("../fonts/poppins/Poppins-Regular.ttf");
}

@font-face {
  font-family: Poppins-Bold;
  src: url("../fonts/poppins/Poppins-Bold.ttf");
}

@font-face {
  font-family: Poppins-Medium;
  src: url("../fonts/poppins/Poppins-Medium.ttf");
}

@font-face {
  font-family: Montserrat-Bold;
  src: url("../fonts/montserrat/Montserrat-Bold.ttf");
}

.right-text-update {
  width: 100%;
  text-align: right;
}

/*//////////////////////////////////////////////////////////////////
[ login ]*/

.limiter {
  width: 100%;
  margin: 0 auto;
}

.container-login100 {
  width: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #2b2b2b;
  background: -webkit-linear-gradient(-135deg, #353535, #25dc21);
  background: -o-linear-gradient(-135deg, #353535, #25dc21);
  background: -moz-linear-gradient(-135deg, #353535, #25dc21);
  background: linear-gradient(-135deg, #1c1e23, #181a1e);
}

.container-register100 {
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #2b2b2b;
  background: -webkit-linear-gradient(-135deg, #353535, #25dc21);
  background: -o-linear-gradient(-135deg, #353535, #25dc21);
  background: -moz-linear-gradient(-135deg, #353535, #25dc21);
  background: linear-gradient(-135deg, #353535, #25dc21);
}

.wrap-login100 {
  width: 960px;
  background: #202528;
  border-radius: 10px;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 100px 130px 100px 95px;
  align-items: center;
}

.wrap-update {
  width: auto;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flow;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 50px 50px 50px 50px;
  align-items: center;
}

.wrap-register100 {
  width: auto;
  max-width: 1480px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  overflow: hidden;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 50px 30px;
}

/*------------------------------------------------------------------
[  ]*/
.login100-pic {
  width: 316px;
  height: 316px;
}

.login100-pic img {
  max-width: 100%;
}

/*------------------------------------------------------------------
[  ]*/
.login100-form {
  width: 290px;
}

.login100-form-title {
  font-family: Poppins-Bold;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
  width: 100%;
  display: block;
  padding-bottom: 54px;
}

/*---------------------------------------------*/
.wrap-input100 {
  position: relative;
  width: 100%;
  z-index: 1;
  margin-bottom: 10px;
}

.input100 {
  font-family: Poppins-Medium;
  font-size: 15px;
  line-height: 1.5;
  color: #666666;
  display: block;
  width: 100%;
  background: #e6e6e6;
  height: 50px;
  border-radius: 25px;
  padding: 0 10px 0 30px;
}

.inputupdate {
  font-family: Poppins-Medium;
  font-size: 15px;
  line-height: 1.5;
  color: #666;
  display: block;
  width: 600px;
  max-width: 700px;
  background: #e6e6e6;
  height: 200px;
  max-height: 700px;
  border-radius: 25px;
  padding: 10px 30px 10px 30px;
}

/*------------------------------------------------------------------
[ Focus ]*/
.focus-input100 {
  display: block;
  position: absolute;
  border-radius: 25px;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 0px 0px;
  color: rgba(87, 184, 70, 0.8);
}

.input100:focus + .focus-input100 {
  -webkit-animation: anim-shadow 0.5s ease-in-out forwards;
  animation: anim-shadow 0.5s ease-in-out forwards;
}

@-webkit-keyframes anim-shadow {
  to {
    box-shadow: 0px 0px 70px 25px;
    opacity: 0;
  }
}

@keyframes anim-shadow {
  to {
    box-shadow: 0px 0px 70px 25px;
    opacity: 0;
  }
}

.symbol-input100 {
  font-size: 15px;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  position: absolute;
  border-radius: 25px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-left: 10px;
  pointer-events: none;
  color: #666666;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.input100:focus + .focus-input100 + .symbol-input100 {
  color: #25dc21;
  padding-left: 28px;
}

/*------------------------------------------------------------------
[ Button ]*/
.container-login100-form-btn {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.container-update-form-btn {
  width: 100%;
  max-width: 200px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.container-register100-form-btn {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.login100-form-btn {
  font-family: Montserrat-Bold;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  text-transform: uppercase;

  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: #25dc21;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 25px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.login100-form-btn:hover {
  background: #edeffd;
}

/*------------------------------------------------------------------
[ Responsive ]*/

@media (max-width: 992px) {
  .wrap-login100 {
    padding: 177px 90px 33px 85px;
  }

  .wrap-update {
    padding: 177px 90px 33px 85px;
  }

  .login100-pic {
    width: 35%;
  }

  .login100-form {
    width: 50%;
  }

  .inputupdate {
    width: auto;
  }
}

@media (max-width: 768px) {
  .wrap-login100 {
    padding: 100px 80px 33px 80px;
  }

  .wrap-update {
    padding: 100px 80px 33px 80px;
  }

  .login100-pic {
    display: none;
  }

  .login100-form {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .wrap-login100 {
    padding: 100px 15px 33px 15px;
  }
  .wrap-update {
    padding: 100px 15px 33px 15px;
  }
}

/*------------------------------------------------------------------*/

.license-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Style for the search box container */
.search-box {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  padding: 10px;
}

.search-box input {
  width: 200px; /* Adjust the width as needed */
}

.licensesbuttons {
  display: flex;
  gap: 10px; /* Optional: Add space between the buttons */
  margin-bottom: 10px;
}

/* Style for the search input */
#usernameSearch,
#usernameSearchMobile {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
  width: 200px;
}

/* Style for the search input */
#licenseSearch {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
  width: 200px;
}

/* Style for the search button */
#searchButton,
#searchButtonMobile {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: var(--color-light);
  color: var(--color-dark);
  cursor: pointer;
}

/* Hover effect for the search button */
#searchButton:hover,
#searchButtonMobile:hover {
  background-color: #353d42;
  color: white;
}

a:hover {
  text-decoration: none;
  color: #25dc21;
}

.ticket-button {
  padding: 0.46rem 0.82rem;
  border: none;
  cursor: pointer;
  margin: 0;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 0.87rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.ticket-button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.ticket-button.closed {
  background: linear-gradient(135deg, #b41313 0%, #8a0909 100%);
}

.ticket-button.open {
  background: linear-gradient(135deg, #00b027 0%, #00901f 100%);
}

.ticket-button.download {
  background: linear-gradient(135deg, #5aa70a 0%, #3b8608 100%);
}

.server-button {
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  margin: 3px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 1rem 2rem var(--color-light);
}

.server-button.configure {
  background-color: #00780b;
}

.server-button.edit {
  background-color: #00cf13;
}

.server-button.dezactivate {
  color: #6d6d6d;
  background-color: #303030;
}

.server-button.dezactivate:hover {
  opacity: 1;
  box-shadow: 0 1rem 2rem var(--color-light);
}

body:not(.dark-mode-variables) .server-button.dezactivate {
  color: #697384;
  background: linear-gradient(135deg, #d6d9df 0%, #c8ced8 100%);
  border: 1px solid #b7bfcb;
  box-shadow: none;
  cursor: not-allowed;
}

body:not(.dark-mode-variables) .server-button.dezactivate:hover {
  opacity: 1;
  box-shadow: none;
}

.server-button:hover {
  opacity: 0.8; /* Adjust opacity for hover effect */
  box-shadow: none;
}

.admin-button {
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  margin: 3px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 1rem 2rem var(--color-light);
}

.admin-button.plus {
  background-color: #1d3093;
}

.admin-button.minus {
  background-color: #c81111;
}

.admin-button.suspend {
  background-color: #6a1da0;
}

.admin-button.unsuspend {
  background-color: #1a8e64;
}

.admin-button.stopserver {
  background-color: #d13159;
}

.admin-button:hover {
  opacity: 0.8; /* Adjust opacity for hover effect */
  box-shadow: none;
}

.admin-button .material-icons-sharp {
  font-size: 1rem;
  line-height: 1;
  vertical-align: middle;
}

.license-button {
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  margin: 3px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 1rem 2rem var(--color-light);
  opacity: 1;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.license-button.add {
  background: linear-gradient(135deg, #0da154, #19c66a);
  border-color: rgba(22, 116, 66, 0.45);
}

.license-button.remove {
  background: linear-gradient(135deg, #8f1c1c, #c33333);
  border-color: rgba(102, 26, 26, 0.48);
}

.license-button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: none;
}

.license-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.license-button:disabled:hover {
  opacity: 0.45;
}

.float-container {
  padding: 1px;
}

.float-child {
  width: 50%;
  float: left;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.page-button,
.page-number {
  padding: 5px 10px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 5px;
  background-color: var(--color-white);
  color: var(--color-dark);
  font-size: 14px; /* Adjust font size */
}

.page-button:hover {
  background-color: var(--color-primary);
}

.page-number {
  padding: 5px;
  background-color: var(--color-white);
  color: var(--color-dark);
  font-size: 14px; /* Adjust font size */
}

.pagination .page-button.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

.container {
  display: grid;
  width: 96%;
  margin: 0 auto;
  gap: 1.8rem;
  grid-template-columns: 12rem auto 23rem;
}

.container-login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  margin: 0 auto;
  gap: 1.8rem;
}

@media (max-width: 768px) {
  .container-login {
    flex-direction: column; /* Stack elements vertically on mobile */
    height: auto; /* Adjust height to auto for better vertical scrolling */
    padding: 2rem; /* Add more padding for better spacing */
    gap: 1rem; /* Reduce gap to make better use of space */
  }
}

@media (max-width: 480px) {
  .container-login {
    padding: 1.5rem; /* Adjust padding for very small screens */
    gap: 0.8rem; /* Further reduce gap for small screens */
  }
}

.container-dash {
  display: grid;
  width: 96%;
  margin: 0 auto;
  gap: 1.8rem;
  grid-template-columns: 12rem auto;
}

aside {
  height: 100vh;
}

aside .toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
}

aside .toggle .logo {
  display: flex;
  gap: 0.5rem;
}

aside .toggle .logo img {
  width: 2rem;
  height: 2rem;
}

aside .toggle .close {
  padding-right: 1rem;
  display: none;
}

aside .sidebar {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  box-shadow: var(--box-shadow);
  border-radius: 15px;
  height: 88vh;
  position: relative;
  top: 1.5rem;
  transition: all 0.3s ease;
}

aside .sidebar:hover {
  box-shadow: none;
}

aside .sidebar a {
  display: flex;
  align-items: center;
  color: var(--color-info-dark);
  height: 3.7rem;
  gap: 1rem;
  position: relative;
  margin-left: 1.5rem;
  transition: all 0.3s ease;
}

aside .sidebar a span {
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

aside .sidebar a.active {
  width: 100%;
  color: var(--color-primary);
  background-color: var(--color-light);
  margin-left: 0;
}

aside .sidebar a.active::before {
  content: "";
  width: 6px;
  height: 18px;
  background-color: var(--color-primary);
}

aside .sidebar a.active span:not(.message-count) {
  color: var(--color-primary);
  margin-left: calc(1rem - 3px);
}

aside .sidebar a:hover {
  color: var(--color-primary);
}

aside .sidebar a:hover span {
  margin-left: 0.6rem;
}

aside .sidebar a.is-disabled {
  color: #5f6874;
  opacity: 0.68;
  cursor: default;
  pointer-events: none;
}

aside .sidebar a.is-disabled:hover {
  color: #5f6874;
}

aside .sidebar a.is-disabled:hover span {
  margin-left: 0;
}

aside .sidebar a.is-disabled h3,
aside .sidebar a.is-disabled span:not(.message-count) {
  color: inherit;
}

aside .sidebar .message-count {
  background-color: #181a1e;
  padding: 2px 6px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 11px;
  border-radius: var(--border-radius-1);
}

body:not(.dark-mode-variables) aside .sidebar .message-count {
  background-color: #dff8e6;
  color: #0a8f3d;
}

aside .sidebar a.active .message-count {
  background-color: var(--color-primary);
  color: #1b2530;
  font-weight: 700;
  margin-left: 0;
}

aside .sidebar a.vote-premium-nav {
  overflow: hidden;
  border-radius: 14px 0 0 14px;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

aside .sidebar a.vote-premium-nav::after {
  content: none;
}

aside .sidebar a.vote-premium-nav::before {
  content: none;
}

aside .sidebar a.vote-premium-nav h3,
aside .sidebar a.vote-premium-nav span:not(.message-count) {
  position: relative;
  z-index: 1;
  color: #8e6400;
  text-shadow: 0 0 18px rgba(255, 220, 120, 0.22);
}

aside .sidebar a.vote-premium-nav h3 {
  background: linear-gradient(90deg, #b97800 0%, #f6c447 35%, #fff2b3 52%, #d69212 72%, #a46700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
  text-shadow: 0 0 10px rgba(255, 215, 96, 0.12);
}

aside .sidebar a.vote-premium-nav:hover h3,
aside .sidebar a.vote-premium-nav:hover span:not(.message-count) {
  color: inherit;
}

aside .sidebar a.vote-premium-nav.active {
  background: transparent;
  color: #8c5e00;
  box-shadow: none;
}

aside .sidebar a.vote-premium-nav.active::before {
  content: "";
  width: 6px;
  height: 18px;
  background: linear-gradient(180deg, #d48d00, #ffd45a);
}

aside .sidebar a.vote-premium-nav.active h3,
aside .sidebar a.vote-premium-nav.active span:not(.message-count) {
  color: #7b4b00;
}

aside .sidebar a.vote-premium-nav.active span:not(.message-count) {
  margin-left: calc(1rem - 3px);
}

.vote-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vote-hero {
  padding: 0.25rem 0 0.5rem;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  display: block;
  border: 0;
}

.vote-hero h2 {
  margin: 0 0 0.45rem;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--color-dark);
}

.vote-hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--color-info-dark);
  line-height: 1.6;
  font-size: 0.98rem;
}

.vote-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.vote-link-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  min-height: auto;
  background: var(--color-white);
  border-radius: var(--border-radius-3);
  box-shadow: var(--box-shadow);
  border: 1px solid transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.vote-link-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ffe28a, #d99a0b);
  pointer-events: none;
}

.vote-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 171, 38, 0.2);
}

.vote-link-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.vote-link-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.vote-link-icon {
  color: #d5980c;
  font-size: 1.25rem;
}

.vote-link-card h3 {
  margin: 0;
  color: var(--color-dark);
  font-size: 1.1rem;
  line-height: 1.2;
}

.vote-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 0.62rem 0.95rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd86d, #e5a90a);
  color: #342000;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 20px rgba(229, 169, 10, 0.16);
}

.dark-mode-variables aside .sidebar a.vote-premium-nav h3,
.dark-mode-variables aside .sidebar a.vote-premium-nav span:not(.message-count) {
  color: #ffd66e;
}

.dark-mode-variables aside .sidebar a.vote-premium-nav {
  background: transparent;
}

.dark-mode-variables aside .sidebar a.vote-premium-nav.active {
  background: transparent;
}

.dark-mode-variables .vote-page .vote-hero h2 {
  color: #f3f6fb;
}

.dark-mode-variables .vote-page .vote-hero p {
  color: #c6cfdd;
}

.dark-mode-variables .vote-page .vote-link-card {
  background: #1d2026;
  border-color: rgba(255, 214, 112, 0.06);
}

.dark-mode-variables .vote-page .vote-link-card h3,
.dark-mode-variables .vote-page .vote-link-head h3,
.dark-mode-variables .vote-page .vote-link-title-wrap h3 {
  color: #f3f6fb;
}

.dark-mode-variables .vote-page .vote-link-icon {
  color: #efbc44;
}

.dark-mode-variables .vote-page .vote-link-button {
  color: #342000;
}

@media screen and (max-width: 900px) {
  .vote-links-grid {
    grid-template-columns: 1fr;
  }

  .vote-hero {
    padding: 0.15rem 0 0.45rem;
  }

  .vote-hero h2 {
    font-size: 1.6rem;
  }
}

.servers-header {
  padding-top: 60px;
  text-align: center;
}

.tickets-filter-bar {
  margin: 1rem 0 1.4rem 0;
  display: flex;
  justify-content: center;
}

.tickets-filter-form {
  background: var(--color-white);
  border-radius: var(--border-radius-2);
  box-shadow: var(--box-shadow);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.8rem;
  width: fit-content;
  max-width: 100%;
}

.tickets-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tickets-server-select {
  min-width: 280px;
  padding: 0.68rem 2.7rem 0.68rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--color-light);
  background: linear-gradient(
      180deg,
      rgba(108, 155, 207, 0.12) 0%,
      rgba(108, 155, 207, 0.02) 100%
    ),
    var(--color-background);
  color: var(--color-dark);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 2px transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.tickets-server-select:hover {
  border-color: var(--color-secprimary);
}

.tickets-server-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 184, 0, 0.2);
  transform: translateY(-1px);
}

.tickets-server-select option {
  background: var(--color-white);
  color: var(--color-dark);
  font-weight: 700;
}

.tickets-select-arrow {
  position: absolute;
  right: 0.8rem;
  pointer-events: none;
  color: var(--color-secprimary);
  font-size: 1.2rem;
}

@media screen and (max-width: 700px) {
  .tickets-filter-bar {
    justify-content: center;
  }

  .tickets-filter-form {
    align-items: center;
    flex-direction: column;
  }

  .tickets-server-select {
    width: 100%;
    min-width: 0;
  }
}

.tickets-pagination {
  margin-top: 1.05rem;
  margin-bottom: 0.1rem;
  gap: 0.45rem;
}

.tickets-pagination .page-button,
.tickets-pagination .page-number {
  min-width: 2.4rem;
  min-height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-light);
  text-decoration: none;
  font-weight: 700;
}

.tickets-pagination .page-number {
  min-width: 5.8rem;
}

.tickets-pagination .page-button.is-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.planets-background img {
  height: 100vh;
}

main {
  margin-top: 1.4rem;
}

main .analyse {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  padding-bottom: 10px;
}

main .analyse > div {
  background-color: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-top: 0.5rem;
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 15px 20px;
}

main .analyse > div:hover {
  box-shadow: none;
}

main .analyse > div .status {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main .analyse h3 {
  margin-left: 0.6rem;
  font-size: 1rem;
}

main .analyse .progresss {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
}

main .analyse svg {
  width: 7rem;
  height: 7rem;
}

main .analyse svg circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transform: translate(5px, 5px);
}

main .analyse .sales svg circle {
  stroke: var(--color-success);
  stroke-dashoffset: -30;
  stroke-dasharray: 200;
}

main .analyse .visits svg circle {
  stroke: var(--color-danger);
  stroke-dashoffset: -30;
  stroke-dasharray: 200;
}

main .analyse .ping svg circle {
  stroke: var(--color-primary);
  stroke-dashoffset: -30;
}

main .analyse .progresss .percentage {
  position: absolute;
  top: -3px;
  left: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

/* Compact statistics with vertically centered contents on the admin page. */
.admin-dashboard main {
  min-width: 0;
}

.admin-dashboard main .analyse > div {
  display: flex;
  align-items: center;
  padding: 8px 20px;
}

.admin-dashboard main .analyse > div > a {
  display: block;
  width: 100%;
}

.admin-dashboard main .analyse .status {
  width: 100%;
  justify-content: space-between;
  gap: 0.6rem;
}

.admin-dashboard main .analyse .info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.admin-dashboard main .analyse .info h3,
.admin-dashboard main .analyse .info h1 {
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}

.admin-dashboard main .analyse .info h3 {
  margin-left: 0.6rem;
}

.admin-dashboard main .analyse :is(.totalmembers, .active_members, .total_servers, .tickets_number) .info h1 {
  padding-left: 10px;
}

.admin-dashboard main .analyse .progresss {
  display: grid;
  place-items: center;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
}

.admin-dashboard main .analyse .progresss .percentage {
  position: static;
}

.admin-dashboard main .analyse .percentage p {
  line-height: 1;
}

.admin-dashboard main .analyse .progresss img,
.admin-dashboard main .analyse svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-dashboard main .analyse svg circle {
  transform: none;
}

main .tickets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1rem;
  padding-bottom: 10px;
}

main .tickets > div {
  background-color: var(--color-white);
  padding: 1.1rem 1.2rem;
  border-radius: 1.35rem;
  margin-top: 0;
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(108, 155, 207, 0.18);
  background: linear-gradient(
      135deg,
      rgba(108, 155, 207, 0.08) 0%,
      rgba(108, 155, 207, 0.01) 100%
    ),
    var(--color-white);
}

main .tickets > div.ticket-card-open {
  border-color: rgba(18, 160, 48, 0.26);
  background: linear-gradient(
      135deg,
      rgba(18, 160, 48, 0.16) 0%,
      rgba(18, 160, 48, 0.05) 60%,
      rgba(18, 160, 48, 0.02) 100%
    ),
    var(--color-white);
}

main .tickets > div.ticket-card-closed {
  border-color: rgba(176, 32, 32, 0.25);
  background: linear-gradient(
      135deg,
      rgba(176, 32, 32, 0.16) 0%,
      rgba(176, 32, 32, 0.05) 60%,
      rgba(176, 32, 32, 0.02) 100%
    ),
    var(--color-white);
}

main .tickets > div.ticket-card-expired {
  border-color: rgba(108, 117, 125, 0.28);
  background: linear-gradient(
      135deg,
      rgba(108, 117, 125, 0.17) 0%,
      rgba(108, 117, 125, 0.05) 60%,
      rgba(108, 117, 125, 0.02) 100%
    ),
    var(--color-white);
}

main .tickets > div:hover {
  box-shadow: 0 1.1rem 2rem var(--color-light);
  transform: translateY(-2px);
}

main .tickets > div.ticket-card-clickable {
  cursor: pointer;
}

main .tickets > div.ticket-card-clickable:focus-visible {
  outline: 2px solid var(--color-secprimary);
  outline-offset: 2px;
}

main .tickets > div.ticket-empty-state {
  cursor: default;
}

main .tickets > div.ticket-empty-state:hover {
  box-shadow: var(--box-shadow);
  transform: none;
}

main .tickets .ticket-empty-message-only {
  min-height: 9.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

main .tickets .ticket-empty-message-only h4 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
}

main .tickets > div .status {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

main .tickets h4 {
  font-size: 1.42rem;
  line-height: 1.2;
  margin: 0;
}

main .tickets .ticket-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

main .tickets .ticket-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  min-width: 0;
}

main .tickets .ticket-footer-row {
  display: flex;
  align-items: center;
  gap: 0.44rem;
  margin-top: 0.58rem;
}

main .tickets .ticket-actions-left,
main .tickets .ticket-actions {
  display: flex;
  align-items: center;
  gap: 0.44rem;
}

main .tickets .ticket-owner-row {
  margin-left: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0;
  color: var(--color-dark-variant);
  font-size: 0.82rem;
  line-height: 1.1;
  min-width: 0;
}

main .tickets .ticket-owner-row .ticket-owner-crown {
  color: #ffc72c;
  font-size: 0.86rem;
  line-height: 1;
}

main .tickets .ticket-owner-row .ticket-owner-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-dark);
  min-width: 0;
  max-width: 12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

main .tickets .ticket-button {
  padding: 0.33rem 0.62rem;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  box-shadow: none;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

main .tickets .ticket-button:hover {
  transform: translateY(-1px);
  opacity: 1;
  box-shadow: none;
}

main .tickets .ticket-btn-icon {
  font-size: 0.92rem;
  width: 0.95rem;
  height: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

main .tickets .ticket-btn-icon-discord {
  font-size: 0;
}

main .tickets .ticket-btn-icon-discord svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

main .tickets .ticket-button.open-discord {
  background: rgba(88, 101, 242, 0.16);
  border-color: rgba(88, 101, 242, 0.34);
  color: #d9deff;
}

main .tickets .ticket-button.open-discord:hover {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.48);
}

main .tickets .ticket-button.download.download-open {
  background: rgba(13, 158, 23, 0.18);
  border-color: rgba(13, 158, 23, 0.38);
  color: #d5ffdb;
}

main .tickets .ticket-button.download.download-open:hover {
  background: rgba(13, 158, 23, 0.26);
}

main .tickets .ticket-button.download.download-closed {
  background: rgba(192, 24, 24, 0.18);
  border-color: rgba(192, 24, 24, 0.38);
  color: #ffd5d5;
}

main .tickets .ticket-button.download.download-closed:hover {
  background: rgba(192, 24, 24, 0.26);
}

main .tickets .ticket-button.download.download-neutral {
  background: rgba(122, 134, 153, 0.18);
  border-color: rgba(122, 134, 153, 0.36);
  color: #e7edf7;
}

main .tickets .ticket-button.download.download-neutral:hover {
  background: rgba(122, 134, 153, 0.26);
}

body:not(.dark-mode-variables) main .tickets .ticket-button.open-discord {
  background: rgba(88, 101, 242, 0.14);
  border-color: rgba(88, 101, 242, 0.4);
  color: #243a9a;
}

body:not(.dark-mode-variables) main .tickets .ticket-button.open-discord:hover {
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.55);
  color: #1b2f86;
}

body:not(.dark-mode-variables) main .tickets .ticket-button.download.download-open {
  background: rgba(13, 158, 23, 0.14);
  border-color: rgba(13, 158, 23, 0.46);
  color: #0a7a1c;
}

body:not(.dark-mode-variables) main .tickets .ticket-button.download.download-open:hover {
  background: rgba(13, 158, 23, 0.22);
  border-color: rgba(13, 158, 23, 0.56);
  color: #086316;
}

body:not(.dark-mode-variables) main .tickets .ticket-button.download.download-closed {
  background: rgba(192, 24, 24, 0.14);
  border-color: rgba(192, 24, 24, 0.48);
  color: #9f1111;
}

body:not(.dark-mode-variables) main .tickets .ticket-button.download.download-closed:hover {
  background: rgba(192, 24, 24, 0.22);
  border-color: rgba(192, 24, 24, 0.58);
  color: #860d0d;
}

body:not(.dark-mode-variables) main .tickets .ticket-button.download.download-neutral {
  background: rgba(122, 134, 153, 0.14);
  border-color: rgba(122, 134, 153, 0.44);
  color: #46576e;
}

body:not(.dark-mode-variables) main .tickets .ticket-button.download.download-neutral:hover {
  background: rgba(122, 134, 153, 0.22);
  border-color: rgba(122, 134, 153, 0.56);
  color: #37475d;
}

body:not(.dark-mode-variables) main .tickets .ticket-owner-row {
  color: #64748b;
}

body:not(.dark-mode-variables) main .tickets .ticket-owner-row .ticket-owner-name {
  color: #243044;
}

main .tickets .ticket-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

main .tickets .ticket-status-open {
  color: #0d9e17;
  background: rgba(13, 158, 23, 0.15);
  border-color: rgba(13, 158, 23, 0.35);
}

main .tickets .ticket-status-closed {
  color: #c01818;
  background: rgba(192, 24, 24, 0.14);
  border-color: rgba(192, 24, 24, 0.35);
}

main .tickets .ticket-status-created {
  color: #0f8a66;
  background: rgba(15, 138, 102, 0.14);
  border-color: rgba(15, 138, 102, 0.35);
}

main .tickets .ticket-status-expired,
main .tickets .ticket-status-unknown {
  color: #6f7f92;
  background: rgba(111, 127, 146, 0.15);
  border-color: rgba(111, 127, 146, 0.35);
}

@media screen and (max-width: 600px) {
  main .tickets .ticket-footer-row {
    flex-wrap: nowrap;
  }

  main .tickets .ticket-owner-row {
    width: auto;
    margin-left: auto;
    text-align: left;
  }

  main .tickets .ticket-owner-row .ticket-owner-name {
    max-width: 7.6rem;
  }

  main .tickets > div.ticket-card-open .ticket-footer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.55rem;
    row-gap: 0.35rem;
    align-items: center;
  }

  main .tickets > div.ticket-card-open .ticket-actions-left,
  main .tickets > div.ticket-card-open .ticket-actions {
    width: auto;
    justify-content: flex-start;
  }

  main .tickets > div.ticket-card-open .ticket-actions-left {
    grid-column: 1;
    grid-row: 1;
  }

  main .tickets > div.ticket-card-open .ticket-actions {
    grid-column: 1;
    grid-row: 2;
  }

  main .tickets > div.ticket-card-open .ticket-button {
    width: auto;
    justify-content: center;
  }

  main .tickets > div.ticket-card-open .ticket-owner-row {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    margin-left: 0;
    justify-self: end;
    align-self: center;
    justify-content: flex-end;
  }

  main .tickets > div.ticket-card-open .ticket-owner-row .ticket-owner-name {
    max-width: 7.6rem;
  }
}

main .tickets .progresss.ticket-avatar-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(108, 155, 207, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  flex-shrink: 0;
}

main .tickets > div.ticket-card-open .progresss.ticket-avatar-wrap {
  border: 1px solid rgba(18, 160, 48, 0.32);
  background: linear-gradient(
      135deg,
      rgba(18, 160, 48, 0.22) 0%,
      rgba(18, 160, 48, 0.09) 70%,
      rgba(18, 160, 48, 0.03) 100%
    );
}

main .tickets > div.ticket-card-closed .progresss.ticket-avatar-wrap {
  border: 1px solid rgba(176, 32, 32, 0.34);
  background: linear-gradient(
      135deg,
      rgba(176, 32, 32, 0.22) 0%,
      rgba(176, 32, 32, 0.09) 70%,
      rgba(176, 32, 32, 0.03) 100%
    );
}

main .tickets > div.ticket-card-expired .progresss.ticket-avatar-wrap {
  border: 1px solid rgba(108, 117, 125, 0.35);
  background: linear-gradient(
      135deg,
      rgba(108, 117, 125, 0.24) 0%,
      rgba(108, 117, 125, 0.11) 70%,
      rgba(108, 117, 125, 0.04) 100%
    );
}

main .tickets .progresss.ticket-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

main .new-users {
  margin-top: 1.3rem;
}

main .new-users .user-list {
  background-color: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-top: 1rem;
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

main .new-users .user-list:hover {
  box-shadow: none;
}

main .new-users .user-list .user {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main .new-users .user-list .user img {
  width: 5rem;
  height: 5rem;
  margin-bottom: 0.4rem;
  border-radius: 50%;
}

main .recent-servers {
  margin-top: 1.3rem;
}

main .recent-servers h2 {
  margin-bottom: 0.8rem;
}

main .recent-servers table {
  background-color: var(--color-white);
  width: 100%;
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--box-shadow);
  border-radius: var(--card-border-radius);
  transition: all 0.3s ease;
}

main .recent-servers table:hover {
  box-shadow: none;
}

main .acrecent-servers {
  margin-top: 1.3rem;
}

main .acrecent-servers h2 {
  margin-bottom: 0.8rem;
}

main .acrecent-servers table {
  background-color: var(--color-white);
  width: 100%;
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--box-shadow);
  border-radius: var(--card-border-radius);
  transition: all 0.3s ease;
}

main .acrecent-servers table:hover {
  box-shadow: none;
}

/* Admin server controls use the same theme variables as the existing tables. */
.admin-dashboard main .admin-server-list {
  position: static;
  width: 100%;
  min-width: 0;
  margin: 1.3rem 0 0;
  transform: none;
}

.admin-dashboard main .admin-server-list table {
  width: 100%;
  table-layout: fixed;
}

.admin-dashboard main .admin-server-list table th,
.admin-dashboard main .admin-server-list table td {
  display: table-cell;
  overflow-wrap: anywhere;
  padding: 0.45rem 0.3rem;
}

.server-list-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 1.3fr) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.admin-dashboard main .server-list-toolbar h2 {
  margin: 0;
}

.server-list-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  background: var(--color-white);
  color: var(--color-dark-variant);
  border: 1px solid var(--color-light);
  border-radius: 0.7rem;
}

.server-list-search > .material-icons-sharp {
  font-size: 1.25rem;
}

.server-list-search input {
  min-width: 0;
  width: 100%;
  font: inherit;
  font-size: 0.8rem;
  color: var(--color-dark);
  background: transparent;
  user-select: text;
}

.server-list-search input::placeholder {
  color: var(--color-dark-variant);
  opacity: 1;
}

.server-list-sort {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.45rem;
  max-width: 100%;
  min-width: 0;
  color: var(--color-dark-variant);
  font-size: 0.75rem;
}

.server-list-sort > span {
  flex-shrink: 0;
}

.server-list-sort select {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  max-width: 100%;
  padding: 0.65rem 2rem 0.65rem 0.5rem;
  border: 1px solid var(--color-light);
  border-radius: 0.7rem;
  background: var(--color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23677483' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 0.85rem;
  color: var(--color-dark);
  font: inherit;
  cursor: pointer;
  color-scheme: light;
}

.dark-mode-variables .server-list-sort select {
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23a3bdcc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.server-list-search:focus-within,
.server-list-sort select:focus-visible,
.server-copy-id:focus-visible,
.admin-server-list .page-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.server-list-status {
  min-height: 1.3em;
  margin: 0.45rem 0 0.7rem;
  font-size: 0.75rem;
  color: var(--color-dark-variant);
}

.server-id-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.server-id-text {
  user-select: text;
  overflow-wrap: anywhere;
}

.server-copy-id {
  flex-shrink: 0;
  min-height: 28px;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--color-light);
  border-radius: 0.45rem;
  background: var(--color-background);
  color: var(--color-dark);
  font: inherit;
  font-size: 0.7rem;
  cursor: pointer;
}

.server-copy-id:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.server-copy-id:disabled {
  cursor: default;
  opacity: 0.7;
}

.server-list-sr-only,
.server-copy-buffer {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.server-copy-buffer {
  position: fixed;
  top: 0;
  left: 0;
}

.admin-server-list .page-button {
  font-family: inherit;
}

@media (max-width: 640px) {
  .server-list-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.6rem;
  }

  .admin-dashboard main .server-list-toolbar h2 {
    font-size: 1.2rem;
  }

  .server-list-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .server-list-sort {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .server-list-sort > span {
    text-align: right;
    font-size: 0.68rem;
  }

  .server-list-sort select {
    width: 100%;
  }
}

.analytics-servers-mobile-list {
  display: none;
}

@media screen and (max-width: 768px) {
  main .has-mobile-cards table {
    display: none;
  }

  .analytics-servers-mobile-list {
    display: grid;
    gap: 0.75rem;
  }

  .analytics-mobile-server-card {
    background: var(--color-white);
    border: 1px solid var(--color-light);
    border-radius: 0.9rem;
    padding: 0.75rem 0.8rem;
    box-shadow: var(--box-shadow);
  }

  .analytics-mobile-server-top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  .analytics-mobile-server-top img {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
  }

  .analytics-mobile-server-top h4 {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.2;
    color: var(--color-dark);
    word-break: break-word;
  }

  .analytics-mobile-server-top small {
    display: block;
    margin-top: 0.18rem;
    color: var(--color-dark-variant);
    font-size: 0.72rem;
    word-break: break-all;
  }

  .admin-server-list .analytics-mobile-server-top > div {
    min-width: 0;
  }

  .admin-server-list .analytics-mobile-server-top .server-id-cell {
    display: flex;
    justify-content: flex-start;
    word-break: normal;
  }

  .analytics-mobile-server-meta {
    margin-top: 0.6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .analytics-mobile-server-meta span {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    border: 1px solid var(--color-light);
    border-radius: 0.55rem;
    padding: 0.35rem 0.45rem;
    background: rgba(108, 155, 207, 0.08);
    color: var(--color-dark);
    font-size: 0.8rem;
    font-weight: 600;
  }

  .analytics-mobile-server-meta span b {
    font-size: 0.67rem;
    font-weight: 700;
    color: var(--color-dark-variant);
    letter-spacing: 0.02em;
  }

  .analytics-mobile-empty {
    margin: 0;
    background: var(--color-white);
    border: 1px solid var(--color-light);
    border-radius: 0.85rem;
    padding: 0.8rem;
    text-align: center;
    color: var(--color-dark-variant);
  }

  .users-mobile-filter {
    display: block;
    margin-bottom: 0.75rem;
  }

  .users-mobile-filter .search-box {
    justify-content: flex-start;
    padding: 0;
    margin-bottom: 0;
    gap: 0.45rem;
  }

  .users-mobile-filter #usernameSearchMobile {
    width: 100%;
    margin-right: 0;
    min-width: 0;
  }

  .users-mobile-filter #searchButtonMobile {
    white-space: nowrap;
  }

  .users-mobile-list {
    display: grid;
    gap: 0.75rem;
  }

  .licensesrecent-servers .license-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .licensesrecent-servers .license-container h2 {
    margin-bottom: 0;
  }

  .licensesrecent-servers .license-container .search-box {
    justify-content: flex-start;
    padding: 0;
    margin-bottom: 0;
    gap: 0.45rem;
  }

  .licensesrecent-servers #licenseSearch {
    width: 100%;
    min-width: 0;
    margin-right: 0;
  }

  .licensesrecent-servers .licensesbuttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 0;
  }

  .licensesrecent-servers .licensesbuttons .license-button {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .licenses-mobile-list {
    display: grid;
    gap: 0.75rem;
  }
}

main .usersrecent-servers {
  margin-top: 1.3rem;
}

main .usersrecent-servers h2 {
  margin-bottom: 0.8rem;
}

main .usersrecent-servers table {
  background-color: var(--color-white);
  width: 100%;
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--box-shadow);
  border-radius: var(--card-border-radius);
  transition: all 0.3s ease;
}

main .usersrecent-servers table:hover {
  box-shadow: none;
}

@media screen and (min-width: 769px) {
  .users-mobile-filter,
  .users-mobile-list,
  .licenses-mobile-list {
    display: none;
  }
}

.users-mobile-card {
  background: var(--color-white);
  border: 1px solid var(--color-light);
  border-radius: 0.95rem;
  padding: 0.8rem;
  box-shadow: var(--box-shadow);
}

.users-mobile-card-head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.users-mobile-card-head img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.users-mobile-card-title h4 {
  margin: 0;
  font-size: 0.94rem;
  color: var(--color-dark);
  line-height: 1.2;
  word-break: break-word;
}

.users-mobile-card-title small {
  color: var(--color-dark-variant);
  font-size: 0.72rem;
  word-break: break-all;
}

.users-mobile-card-meta {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.users-mobile-card-meta span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--color-light);
  border-radius: 0.55rem;
  padding: 0.38rem 0.48rem;
  background: rgba(108, 155, 207, 0.08);
  color: var(--color-dark);
  font-size: 0.79rem;
}

.users-mobile-card-meta span b {
  color: var(--color-dark-variant);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.users-mobile-card-meta span strong {
  font-size: 0.8rem;
  font-weight: 700;
}

.users-mobile-card-actions {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.users-mobile-card-actions .admin-button {
  margin: 0;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.42rem;
  box-shadow: none;
}

.users-mobile-card-actions .admin-button .material-icons-sharp {
  font-size: 1rem;
}

main .licensesrecent-servers {
  margin-top: 1.3rem;
}

main .licensesrecent-servers h2 {
  margin-bottom: 0.8rem;
}

main .licensesrecent-servers table {
  background-color: var(--color-white);
  width: 100%;
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--box-shadow);
  border-radius: var(--card-border-radius);
  transition: all 0.3s ease;
}

main .licensesrecent-servers table:hover {
  box-shadow: none;
}

.licenses-mobile-card {
  background: var(--color-white);
  border: 1px solid var(--color-light);
  border-radius: 0.95rem;
  padding: 0.8rem;
  box-shadow: var(--box-shadow);
}

.licenses-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.licenses-mobile-head h4 {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-dark);
  word-break: break-all;
}

.licenses-mobile-plan {
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.licenses-mobile-meta {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.licenses-mobile-meta span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--color-light);
  border-radius: 0.55rem;
  padding: 0.38rem 0.48rem;
  background: rgba(108, 155, 207, 0.08);
  color: var(--color-dark);
  font-size: 0.79rem;
  gap: 0.6rem;
}

.licenses-mobile-meta span b {
  color: var(--color-dark-variant);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.licenses-mobile-meta span:last-child {
  word-break: break-all;
}

.licenses-mobile-actions {
  margin-top: 0.65rem;
  display: flex;
  justify-content: flex-end;
}

.licenses-mobile-actions .admin-button {
  margin: 0;
  min-width: 2.4rem;
  box-shadow: none;
}

main table tbody td {
  height: 2.8rem;
  border-bottom: 1px solid var(--color-light);
  color: var(--color-dark-variant);
}

main table tbody tr:last-child td {
  border: none;
}

main .recent-servers a {
  text-align: center;
  display: block;
  margin: 1rem auto;
  color: var(--color-primary);
}

main .acrecent-servers a {
  text-align: center;
  display: block;
  margin: 1rem auto;
  color: var(--color-primary);
}

main .usersrecent-servers a {
  text-align: center;
  display: block;
  margin: 1rem auto;
  color: var(--color-primary);
}

main .licensesrecent-servers a {
  text-align: center;
  display: block;
  margin: 1rem auto;
  color: var(--color-primary);
}

.login100-form-title {
  color: var(--color-dark);
}

.right-section {
  margin-top: 1.4rem;
}

.right-section .nav {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 2rem;
}

.right-section .nav button {
  display: none;
}

.right-section .dark-mode {
  background-color: var(--color-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 1.6rem;
  width: 4.2rem;
  cursor: pointer;
  border-radius: var(--border-radius-1);
}

.right-section .dark-mode span {
  font-size: 1.2rem;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-section .dark-mode span.active {
  background-color: var(--color-primary);
  color: white;
  border-radius: var(--border-radius-1);
}

/* containerul principal */
.right-section .nav .profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer; /* ca să indice că e clickabil */
}

/* poza de profil */
.right-section .nav .profile .profile-photo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  overflow: hidden;
}

/* dropdown-ul: ascuns implicit */
.right-section .nav .profile .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--color-white);
  border: 1px solid #2e323b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  min-width: 12rem;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.12);
}

.right-section .nav .profile.open .dropdown {
  display: block;
}

/* elementele din dropdown */
.right-section .nav .profile .dropdown-item {
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

/* separator */
.right-section .nav .profile .dropdown-divider {
  height: 1px;
  margin: 0;
  background-color: #181a1e;
  height: 1px;
  width: 80%;
  justify-self: center;
}

/* link de logout */
.right-section .nav .profile .dropdown-item.logout a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  color: var(--color-dark);
}

.right-section .nav .profile .dropdown-item.logout a:hover {
  color: var(--color-primary);
}

/* RIGHT section fara right section */
.float-child.nav .profile .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--color-white);
  border: 1px solid #2e323b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  min-width: 12rem;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.12);
}

.float-child.nav .profile.open .dropdown {
  display: block;
}

/* elementele din dropdown */
.float-child.nav .profile .dropdown-item {
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

/* separator */
.float-child.nav .profile .dropdown-divider {
  height: 1px;
  margin: 0;
  background-color: #181a1e;
  height: 1px;
  width: 80%;
  justify-self: center;
}

/* link de logout */
.float-child.nav .profile .dropdown-item.logout a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  color: var(--color-dark);
}

.float-child.nav .profile .dropdown-item.logout a:hover {
  color: var(--color-primary);
}

.right-section .user-profile {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 1rem;
  background-color: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: all 0.3s ease;
}

.right-section .user-profile:hover {
  box-shadow: none;
}

.right-section .user-profile img {
  width: 11rem;
  height: auto;
  margin-bottom: 0.8rem;
  border-radius: 50%;
}

.right-section .user-profile h2 {
  margin-bottom: 0.2rem;
}

.right-section .reminders {
  margin-top: 2rem;
}

.right-section .reminders .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.right-section .reminders .header > span {
  padding: 10px;
  box-shadow: var(--box-shadow);
  background-color: var(--color-white);
  border-radius: 50%;
}

.right-section .reminders .header .updates-bell-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.right-section .reminders .header .updates-bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 12%;
}

.right-section .reminders .header .updates-bell.has-unread {
  color: #d67f11;
  animation: updates-bell-shake 2.4s ease-in-out infinite;
}

@keyframes updates-bell-shake {
  0%,
  18%,
  100% {
    transform: rotate(0deg);
  }

  2% {
    transform: rotate(-18deg);
  }

  4% {
    transform: rotate(16deg);
  }

  6% {
    transform: rotate(-14deg);
  }

  8% {
    transform: rotate(12deg);
  }

  10% {
    transform: rotate(-10deg);
  }

  12% {
    transform: rotate(8deg);
  }

  14% {
    transform: rotate(-5deg);
  }

  16% {
    transform: rotate(2deg);
  }
}

.right-section .reminders .notification {
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
  padding: 1.4rem var(--card-padding);
  border-radius: var(--border-radius-2);
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: all 0.3s ease;
}

.right-section .reminders .notification:hover {
  box-shadow: none;
}

.right-section .reminders .notification .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  width: 100%;
}

.right-section .reminders .notification .icon {
  padding: 0.6rem;
  color: var(--color-white);
  background-color: var(--color-success);
  border-radius: 20%;
  display: flex;
}

.right-section .reminders .notification.tips .icon {
  background-color: var(--color-lime);
}

.right-section .reminders .notification.releases .icon {
  background-color: var(--color-warning);
}

.right-section .reminders .notification.upgrade .icon {
  background-color: var(--color-danger);
}

.right-section .reminders .notification.summary-card {
  border-left: 4px solid transparent;
}

.right-section .reminders .notification.summary-access {
  border-left-color: #4f46e5;
}

.right-section .reminders .notification.summary-access .icon {
  background-color: #4f46e5;
}

.right-section .reminders .notification.summary-tickets {
  border-left-color: #0891b2;
}

.right-section .reminders .notification.summary-tickets .icon {
  background-color: #0891b2;
}

.right-section .reminders .notification.summary-servers {
  border-left-color: #ea580c;
}

.right-section .reminders .notification.summary-servers .icon {
  background-color: #ea580c;
}

.right-section .reminders .summary-servers-list {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.right-section .reminders .summary-servers-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  background: rgba(148, 163, 184, 0.14);
  border-radius: 0.6rem;
  padding: 0.42rem 0.55rem;
}

.right-section .reminders .summary-servers-name {
  color: var(--color-dark);
  font-weight: 600;
}

.right-section .reminders .summary-servers-members {
  color: var(--color-dark-variant);
  white-space: nowrap;
}

.right-section .reminders .add-reminder {
  background-color: var(--color-white);
  border: 2px dashed var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.right-section .reminders .add-reminder:hover {
  background-color: var(--color-primary);
  color: white;
}

.right-section .reminders .add-reminder div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

@media screen and (max-width: 1200px) {
  .container {
    width: 95%;
    grid-template-columns: 7rem auto 23rem;
  }

  .container-dash {
    width: 95%;
    grid-template-columns: 7rem auto;
  }

  aside .logo h2 {
    display: none;
  }

  aside .sidebar h3 {
    display: none;
  }

  aside .sidebar a {
    width: 5.6rem;
  }

  aside .sidebar a:last-child {
    position: relative;
    margin-top: 1.8rem;
  }

  main .analyse {
    grid-template-columns: 1fr;
    gap: 0;
  }

  main .tickets {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  main .new-users .user-list .user {
    flex-basis: 40%;
  }

  main .recent-servers {
    width: 94%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 0.8rem;
  }

  main .recent-servers table {
    width: 83vw;
  }

  main .acrecent-servers {
    width: 94%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 0.8rem;
  }

  main .acrecent-servers table {
    width: 83vw;
  }

  main .usersrecent-servers {
    width: 94%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 0.8rem;
  }

  main .usersrecent-servers table {
    width: 83vw;
  }

  main .licensesrecent-servers {
    width: 94%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 0.8rem;
  }

  main .licensesrecent-servers table {
    width: 83vw;
  }

  main table thead tr th:last-child,
  main table thead tr th:first-child {
    display: none;
  }

  main table tbody tr td:last-child,
  main table tbody tr td:first-child {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .container {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 0 var(--padding-1);
  }

  .container-dash {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 0 var(--padding-1);
  }

  aside {
    position: fixed;
    background-color: var(--color-white);
    width: 15rem;
    z-index: 3;
    box-shadow: 1rem 3rem 4rem var(--color-light);
    height: 100vh;
    left: -100%;
    display: none;
    animation: showMenu 0.4s ease forwards;
    border-radius: 0 1rem 1rem 0;
    overflow: hidden;
  }

  @keyframes showMenu {
    to {
      left: 0;
    }
  }

  aside .logo {
    margin-left: 0;
  }

  aside .logo h2 {
    display: inline;
  }

  aside .toggle {
    margin-top: 0;
    padding: 0.95rem 0.9rem 0.78rem 0.9rem;
    border-bottom: 0;
    position: static;
  }

  aside .toggle a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding-left: 0;
  }

  aside .sidebar {
    top: 0;
    height: calc(100vh - 5.3rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 4.2rem;
    scrollbar-width: thin;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  aside .sidebar::-webkit-scrollbar {
    width: 6px;
  }

  aside .sidebar::-webkit-scrollbar-track {
    background: transparent;
  }

  aside .sidebar::-webkit-scrollbar-thumb {
    background: rgba(108, 155, 207, 0.42);
    border-radius: 999px;
  }

  aside .sidebar h3 {
    display: inline;
  }

  aside .sidebar a {
    width: 100%;
    height: 3.05rem;
    margin-left: 1.15rem;
    gap: 0.82rem;
  }

  aside .sidebar a:last-child {
    position: relative;
    bottom: auto;
    margin-top: 0;
  }

  aside .toggle .close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    left: 50%;
    bottom: 0.9rem;
    top: auto;
    transform: translateX(-50%);
    z-index: 7;
    border: 1px solid rgba(132, 144, 158, 0.38);
    background: rgba(127, 139, 156, 0.1);
    border-radius: 999px;
    padding: 0;
    box-shadow: 0 0.2rem 0.45rem rgba(9, 18, 28, 0.09);
    width: 2.35rem;
    height: 2.35rem;
  }

  aside .toggle .close span {
    font-size: 1.28rem;
    line-height: 1;
    color: #8c98a9;
  }

  aside .toggle .close::after {
    content: none;
  }

  .menu-divider {
    margin: 0.9rem 0;
    width: 84%;
  }

  .menu-spacer {
    height: 8px;
  }

  main {
    margin-top: 8rem;
    padding: 0 1rem;
  }

  main .new-users .user-list .user {
    flex-basis: 35%;
  }

  main .recent-servers {
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }

  main .recent-servers table {
    width: 100%;
    margin: 0;
  }

  main .acrecent-servers {
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }

  main .acrecent-servers table {
    width: 100%;
    margin: 0;
  }

  main .usersrecent-servers {
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }

  main .usersrecent-servers table {
    width: 100%;
    margin: 0;
  }

  main .licensesrecent-servers {
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }

  main .licensesrecent-servers table {
    width: 100%;
    margin: 0;
  }

  .right-section {
    width: 94%;
    margin: 0 auto 4rem;
  }

  .right-section .nav {
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    background-color: var(--color-white);
    padding: 0 var(--padding-1);
    height: 4.6rem;
    width: 100%;
    z-index: 2;
    box-shadow: 0 1rem 1rem var(--color-light);
    margin: 0;
  }

  .right-section .nav .dark-mode {
    width: 4.4rem;
    position: absolute;
    left: 66%;
  }

  .right-section .profile .info {
    display: none;
  }

  .right-section .nav button {
    display: inline-block;
    background-color: transparent;
    cursor: pointer;
    color: var(--color-dark);
    position: absolute;
    left: 1rem;
  }

  .right-section .nav button span {
    font-size: 2rem;
  }
}

/* Updates redesign */
.update-composer .update-composer-card,
.update-view .update-view-card {
  cursor: default;
  align-items: stretch;
  padding: clamp(1rem, 2.4vw, 2rem);
  background: linear-gradient(
      140deg,
      rgba(0, 184, 0, 0.08) 0%,
      rgba(108, 155, 207, 0.12) 38%,
      rgba(108, 155, 207, 0.03) 100%
    ),
    var(--color-white);
}

.update-composer .update-composer-card:hover,
.update-view .update-view-card:hover {
  box-shadow: var(--box-shadow);
}

.update-composer .wrap-update,
.update-view .wrap-update {
  width: 100%;
  padding: 0;
}

.update-composer .login100-form-title {
  text-align: left;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  padding-bottom: 0;
  margin-bottom: 0.2rem;
}

.update-composer .update-composer-head p {
  color: var(--color-dark-variant);
  font-size: 0.84rem;
  margin-bottom: 1rem;
}

.update-composer .update-composer-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.update-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.update-form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.update-composer-form .update-input,
.update-composer-form .update-textarea {
  width: 100%;
  max-width: none;
  border-radius: 0.9rem;
  border: 1px solid rgba(108, 155, 207, 0.26);
  background: rgba(246, 246, 249, 0.92);
  color: var(--color-dark);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.update-composer-form .update-input {
  height: auto;
  padding: 0.85rem 1rem;
}

.update-composer-form .update-textarea {
  min-height: 150px;
  padding: 0.9rem 1rem;
  resize: vertical;
}

.update-composer-form .update-input:focus,
.update-composer-form .update-textarea:focus {
  border-color: rgba(0, 184, 0, 0.62);
  box-shadow: 0 0 0 3px rgba(0, 184, 0, 0.14);
}

.update-sections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.update-submit-wrap {
  max-width: 240px;
  margin-left: auto;
  padding-top: 0.4rem;
}

.update-submit-btn {
  border-radius: 0.9rem;
  height: auto;
  min-height: 2.9rem;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  background: linear-gradient(140deg, #00a63f 0%, #00772d 100%);
}

.update-submit-btn:hover {
  background: linear-gradient(140deg, #00be4a 0%, #008a34 100%);
  color: #ffffff;
}

.update-view .update-view-entry {
  width: 100%;
}

.update-view .update-view-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(108, 155, 207, 0.28);
}

.update-view .update-view-pill {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #05603a;
  margin-bottom: 0.4rem;
}

.update-view .update-view-head h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.update-view .update-view-meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.update-view .update-view-head time {
  color: var(--color-dark-variant);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 0.24rem;
}

.update-view .update-delete-form {
  margin: 0;
}

.update-view .update-delete-btn {
  border: 1px solid rgba(184, 31, 31, 0.4);
  background: rgba(184, 31, 31, 0.1);
  color: #9f1d1d;
  border-radius: 0.72rem;
  padding: 0.42rem 0.62rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.update-view .update-delete-btn .material-icons-sharp {
  font-size: 1rem;
}

.update-view .update-delete-btn:hover {
  background: rgba(184, 31, 31, 0.2);
  border-color: rgba(184, 31, 31, 0.55);
  color: #801111;
}

.update-delete-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 12, 20, 0.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

.update-delete-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.update-delete-modal-card {
  width: min(100%, 420px);
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(108, 155, 207, 0.3);
  box-shadow: 0 1.4rem 2.6rem rgba(0, 0, 0, 0.26);
  padding: 1rem 1.1rem;
}

.update-delete-modal-card h3 {
  margin: 0 0 0.35rem 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1d2530;
}

.update-delete-modal-card p {
  margin: 0;
  color: #4e5d6d;
  line-height: 1.4;
}

.update-delete-modal-actions {
  margin-top: 0.95rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.update-delete-modal-actions button {
  border-radius: 0.7rem;
  padding: 0.48rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.update-delete-modal-cancel {
  border: 1px solid rgba(108, 155, 207, 0.4);
  background: rgba(108, 155, 207, 0.12);
  color: #244a74;
}

.update-delete-modal-cancel:hover {
  background: rgba(108, 155, 207, 0.2);
}

.update-delete-modal-confirm {
  border: 1px solid rgba(184, 31, 31, 0.45);
  background: rgba(184, 31, 31, 0.12);
  color: #931818;
}

.update-delete-modal-confirm:hover {
  background: rgba(184, 31, 31, 0.22);
}

.users-action-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 14, 10, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1250;
}

.users-action-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.users-action-modal-card {
  width: min(100%, 430px);
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(41, 163, 87, 0.35);
  box-shadow: 0 1.4rem 2.6rem rgba(0, 0, 0, 0.26);
  padding: 1rem 1.1rem;
}

.users-action-modal-card h3 {
  margin: 0 0 0.35rem 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #183523;
}

.users-action-modal-card p {
  margin: 0;
  color: #3e5b4a;
  line-height: 1.4;
}

.users-action-modal-actions {
  margin-top: 0.95rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.users-action-modal-actions button {
  border-radius: 0.7rem;
  padding: 0.48rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.users-action-modal-actions button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.users-action-modal-cancel {
  border: 1px solid rgba(50, 145, 93, 0.38);
  background: rgba(50, 145, 93, 0.13);
  color: #1e5938;
}

.users-action-modal-cancel:hover {
  background: rgba(50, 145, 93, 0.21);
}

.users-action-modal-confirm {
  border: 1px solid rgba(179, 53, 53, 0.45);
  background: rgba(179, 53, 53, 0.11);
  color: #8e1c1c;
}

.users-action-modal-confirm.is-safe {
  border-color: rgba(41, 163, 87, 0.45);
  background: rgba(41, 163, 87, 0.12);
  color: #16733c;
}

.users-action-modal-confirm.is-danger {
  border-color: rgba(179, 53, 53, 0.45);
  background: rgba(179, 53, 53, 0.11);
  color: #8e1c1c;
}

.users-action-modal-confirm.is-neutral {
  border-color: rgba(80, 105, 130, 0.4);
  background: rgba(80, 105, 130, 0.12);
  color: #26415a;
}

.users-action-modal-confirm:hover {
  background: rgba(179, 53, 53, 0.2);
}

.users-action-modal-confirm.is-safe:hover {
  background: rgba(41, 163, 87, 0.22);
}

.users-action-modal-confirm.is-neutral:hover {
  background: rgba(80, 105, 130, 0.22);
}

.license-create-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 12, 20, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1260;
}

.license-create-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.license-create-modal-card {
  width: min(100%, 440px);
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(43, 155, 96, 0.35);
  box-shadow: 0 1.4rem 2.6rem rgba(0, 0, 0, 0.26);
  padding: 1rem 1.1rem;
}

.license-create-modal-card h3 {
  margin: 0 0 0.32rem 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1b3426;
}

.license-create-modal-card p {
  margin: 0;
  color: #4a5e53;
  line-height: 1.4;
}

.license-create-form {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.license-create-form label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #274332;
}

.license-create-form input,
.license-create-form select {
  width: 100%;
  border-radius: 0.72rem;
  border: 1px solid rgba(67, 128, 90, 0.35);
  background: #f7fbf8;
  color: #1f3328;
  padding: 0.52rem 0.62rem;
  font-size: 0.85rem;
}

.license-create-form input:focus,
.license-create-form select:focus {
  border-color: rgba(31, 170, 98, 0.62);
  box-shadow: 0 0 0 2px rgba(31, 170, 98, 0.12);
}

.license-create-error {
  margin: 0.2rem 0 0;
  font-size: 0.76rem;
  color: #9e1717;
  font-weight: 600;
}

.license-create-actions {
  margin-top: 0.35rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.license-create-actions button {
  border-radius: 0.7rem;
  padding: 0.48rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.license-create-actions button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.license-create-cancel {
  border: 1px solid rgba(69, 132, 92, 0.42);
  background: rgba(69, 132, 92, 0.14);
  color: #235339;
}

.license-create-cancel:hover {
  background: rgba(69, 132, 92, 0.22);
}

.license-create-submit {
  border: 1px solid rgba(38, 171, 101, 0.45);
  background: rgba(38, 171, 101, 0.16);
  color: #136f3c;
}

.license-create-submit:hover {
  background: rgba(38, 171, 101, 0.24);
}

.license-remove-modal,
.license-remove-confirm-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 12, 20, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1261;
}

.license-remove-confirm-modal {
  z-index: 1262;
}

.license-remove-modal.open,
.license-remove-confirm-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.license-remove-modal-card {
  width: min(100%, 760px);
  max-height: min(86vh, 760px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.license-remove-confirm-card {
  width: min(100%, 470px);
}

.license-remove-modal-card,
.license-remove-confirm-card {
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(155, 52, 52, 0.3);
  box-shadow: 0 1.4rem 2.6rem rgba(0, 0, 0, 0.26);
  padding: 1rem 1.1rem;
}

.license-remove-modal-card h3,
.license-remove-confirm-card h3 {
  margin: 0 0 0.32rem 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #3f2020;
}

.license-remove-modal-card p,
.license-remove-confirm-card p {
  margin: 0;
  color: #665050;
  line-height: 1.4;
}

.license-remove-label {
  margin-top: 0.82rem;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4f3434;
}

.license-remove-search {
  width: 100%;
  margin-top: 0.28rem;
  border-radius: 0.72rem;
  border: 1px solid rgba(142, 85, 85, 0.34);
  background: #fbf7f7;
  color: #3e2e2e;
  padding: 0.52rem 0.62rem;
  font-size: 0.85rem;
}

.license-remove-search:focus {
  border-color: rgba(186, 53, 53, 0.6);
  box-shadow: 0 0 0 2px rgba(186, 53, 53, 0.14);
}

.license-remove-list {
  margin-top: 0.58rem;
  max-height: min(54vh, 22rem);
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(142, 85, 85, 0.25);
  border-radius: 0.78rem;
  background: #fbf7f7;
  padding: 0.32rem 0.4rem 0.32rem 0.32rem;
  display: grid;
  gap: 0.28rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(181, 66, 66, 0.7) rgba(142, 85, 85, 0.2);
}

.license-remove-list::-webkit-scrollbar {
  width: 10px;
  height: 0;
}

.license-remove-list::-webkit-scrollbar-track {
  background: rgba(142, 85, 85, 0.2);
  border-radius: 999px;
}

.license-remove-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(191, 78, 78, 0.92), rgba(151, 50, 50, 0.9));
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.license-remove-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(211, 94, 94, 0.95), rgba(166, 60, 60, 0.95));
}

.license-remove-item {
  width: 100%;
  border-radius: 0.62rem;
  border: 1px solid rgba(142, 85, 85, 0.22);
  background: #fff;
  color: #3e2e2e;
  padding: 0.46rem 0.58rem;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.license-remove-item:hover {
  background: #f9eeee;
  border-color: rgba(181, 66, 66, 0.4);
}

.license-remove-item.selected {
  background: rgba(181, 66, 66, 0.12);
  border-color: rgba(181, 66, 66, 0.6);
  color: #7d1f1f;
}

.license-remove-item-code {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.license-remove-item-meta {
  flex: 0 0 auto;
  font-size: 0.72rem;
  color: #796565;
  white-space: nowrap;
}

.license-remove-empty {
  text-align: center;
  color: #7a6767;
  font-size: 0.78rem;
  padding: 0.52rem 0.4rem;
}

.license-remove-error {
  margin-top: 0.5rem;
  font-size: 0.76rem;
  color: #9e1717;
  font-weight: 600;
}

.license-remove-actions,
.license-remove-confirm-actions {
  margin-top: 0.85rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.license-remove-actions button,
.license-remove-confirm-actions button {
  border-radius: 0.7rem;
  padding: 0.48rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.license-remove-actions button:disabled,
.license-remove-confirm-actions button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.license-remove-cancel,
.license-remove-confirm-cancel {
  border: 1px solid rgba(104, 126, 153, 0.42);
  background: rgba(104, 126, 153, 0.14);
  color: #2d4f73;
}

.license-remove-cancel:hover,
.license-remove-confirm-cancel:hover {
  background: rgba(104, 126, 153, 0.23);
}

.license-remove-delete,
.license-remove-confirm-delete {
  border: 1px solid rgba(181, 66, 66, 0.46);
  background: rgba(181, 66, 66, 0.14);
  color: #8e1c1c;
}

.license-remove-delete:hover,
.license-remove-confirm-delete:hover {
  background: rgba(181, 66, 66, 0.24);
}

.update-view .update-view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.update-view .update-view-section {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(108, 155, 207, 0.24);
  border-radius: 0.95rem;
  padding: 0.95rem;
}

.update-view .update-view-section h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.update-view .update-view-section h3 .material-icons-sharp {
  font-size: 1.1rem;
}

.update-view .update-view-section p {
  margin: 0;
  line-height: 1.45;
  font-size: 0.83rem;
  color: var(--color-dark-variant);
}

.update-tone-features {
  border-color: rgba(0, 163, 86, 0.34);
}

.update-tone-features h3,
.updates-feed .update-tone-features .icon,
.update-listing-item.update-tone-features .update-listing-icon {
  color: #007a3e;
}

.updates-feed .update-feed-item.update-tone-features .icon,
.update-listing-item.update-tone-features .update-listing-icon {
  background: rgba(0, 163, 86, 0.16);
  border: 1px solid rgba(0, 163, 86, 0.35);
}

.updates-feed .update-tone-features .update-feed-label,
.update-listing-item.update-tone-features .update-listing-label {
  color: #007a3e;
}

.update-tone-bugs {
  border-color: rgba(201, 43, 43, 0.34);
}

.update-tone-bugs h3,
.updates-feed .update-tone-bugs .icon,
.update-listing-item.update-tone-bugs .update-listing-icon {
  color: #ab1f1f;
}

.updates-feed .update-feed-item.update-tone-bugs .icon,
.update-listing-item.update-tone-bugs .update-listing-icon {
  background: rgba(201, 43, 43, 0.16);
  border: 1px solid rgba(201, 43, 43, 0.35);
}

.updates-feed .update-tone-bugs .update-feed-label,
.update-listing-item.update-tone-bugs .update-listing-label {
  color: #ab1f1f;
}

.update-tone-improvements {
  border-color: rgba(36, 115, 201, 0.32);
}

.update-tone-improvements h3,
.updates-feed .update-tone-improvements .icon,
.update-listing-item.update-tone-improvements .update-listing-icon {
  color: #1d5fa8;
}

.updates-feed .update-feed-item.update-tone-improvements .icon,
.update-listing-item.update-tone-improvements .update-listing-icon {
  background: rgba(36, 115, 201, 0.16);
  border: 1px solid rgba(36, 115, 201, 0.34);
}

.updates-feed .update-tone-improvements .update-feed-label,
.update-listing-item.update-tone-improvements .update-listing-label {
  color: #1d5fa8;
}

.update-tone-soon {
  border-color: rgba(215, 126, 9, 0.35);
}

.update-tone-soon h3,
.updates-feed .update-tone-soon .icon,
.update-listing-item.update-tone-soon .update-listing-icon {
  color: #b86608;
}

.updates-feed .update-feed-item.update-tone-soon .icon,
.update-listing-item.update-tone-soon .update-listing-icon {
  background: rgba(215, 126, 9, 0.16);
  border: 1px solid rgba(215, 126, 9, 0.36);
}

.updates-feed .update-tone-soon .update-feed-label,
.update-listing-item.update-tone-soon .update-listing-label {
  color: #b86608;
}

.updates-feed .update-feed-link {
  color: inherit;
  display: block;
}

.updates-feed .update-feed-item {
  padding: 1rem 1.05rem;
  gap: 0.75rem;
  align-items: flex-start;
}

.updates-feed .update-feed-item .icon {
  border-radius: 0.82rem;
  margin-top: 0.15rem;
  padding: 0.5rem;
  background: rgba(108, 155, 207, 0.14);
  color: var(--color-secprimary);
}

.updates-feed .update-feed-item .icon .material-icons-sharp {
  font-size: 1.05rem;
}

.updates-feed .update-feed-item .info {
  min-width: 0;
}

.updates-feed .update-feed-item .info h3 {
  margin: 0;
}

.updates-feed .update-feed-label {
  display: inline-block;
  margin-bottom: 0.2rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-dark-variant);
}

.updates-feed .update-feed-preview {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.updates-feed .update-feed-date {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.69rem;
  color: var(--color-info-dark);
}

.updates-feed .update-feed-arrow {
  font-size: 1.05rem;
  margin-top: 0.18rem;
  color: var(--color-dark-variant);
}

.updates-feed .update-feed-empty {
  cursor: default;
}

.updates-feed .update-feed-add {
  border: 1px dashed rgba(0, 184, 0, 0.44);
}

@media (max-width: 992px) {
  .update-sections-grid,
  .update-view .update-view-grid {
    grid-template-columns: 1fr;
  }

  .update-submit-wrap {
    max-width: none;
    width: 100%;
    margin-left: 0;
  }

  .update-view .update-view-head {
    flex-direction: column;
    gap: 0.6rem;
  }

  .update-view .update-view-meta {
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .update-composer .update-composer-card,
  .update-view .update-view-card {
    padding: 0.95rem;
  }

  .update-composer .update-composer-head p {
    font-size: 0.8rem;
  }

  .updates-feed .update-feed-item {
    padding: 0.9rem;
  }
}

.update-listing .update-listing-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  cursor: default;
  align-items: stretch;
  padding: clamp(1rem, 2.2vw, 1.8rem);
  background: linear-gradient(
      145deg,
      rgba(108, 155, 207, 0.1) 0%,
      rgba(0, 184, 0, 0.05) 45%,
      rgba(108, 155, 207, 0.03) 100%
    ),
    var(--color-white);
}

.update-listing .update-listing-card:hover {
  box-shadow: var(--box-shadow);
}

.update-listing-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}

.update-listing-head > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  text-align: left;
}

.update-listing-head h2 {
  margin: 0 0 0.3rem 0;
  font-size: 1.25rem;
}

.update-listing-head p {
  color: var(--color-dark-variant);
  font-size: 0.84rem;
}

.update-listing-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.55rem 0.78rem;
  border-radius: 0.75rem;
  background: linear-gradient(140deg, #00a63f 0%, #00772d 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.update-listing-create-btn:hover {
  color: #fff;
  background: linear-gradient(140deg, #00be4a 0%, #008a34 100%);
}

.update-listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
}

.update-listing-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(108, 155, 207, 0.24);
  padding: 0.92rem;
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.update-listing-item:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 184, 0, 0.35);
  box-shadow: 0 0.8rem 1.3rem rgba(0, 0, 0, 0.08);
}

.update-listing-icon {
  border-radius: 0.75rem;
  background: rgba(108, 155, 207, 0.14);
  color: var(--color-secprimary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
}

.update-listing-icon .material-icons-sharp {
  font-size: 1.12rem;
}

.update-listing-content {
  min-width: 0;
  flex: 1;
}

.update-listing-content h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.update-listing-content p {
  margin-top: 0.35rem;
  color: var(--color-dark-variant);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.update-listing-label {
  display: inline-block;
  margin-bottom: 0.24rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-dark-variant);
}

.update-listing-date {
  display: block;
  margin-top: 0.42rem;
  color: var(--color-info-dark);
  font-size: 0.72rem;
}

.update-listing-arrow {
  font-size: 1rem;
  color: var(--color-dark-variant);
  margin-top: 0.2rem;
}

.update-listing-empty {
  padding: 1.2rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(108, 155, 207, 0.4);
  background: rgba(108, 155, 207, 0.08);
  width: 100%;
}

main .new-users.update-listing .user-list.update-listing-card {
  justify-content: flex-start;
}

.update-listing-empty h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.update-listing-empty p {
  color: var(--color-dark-variant);
}

.dark-mode-variables .update-composer .update-composer-card,
.dark-mode-variables .update-view .update-view-card,
.dark-mode-variables .update-listing .update-listing-card {
  background: linear-gradient(
      145deg,
      rgba(14, 43, 29, 0.5) 0%,
      rgba(24, 40, 56, 0.55) 45%,
      rgba(22, 28, 36, 0.72) 100%
    ),
    var(--color-white);
  border: 1px solid rgba(110, 139, 165, 0.28);
}

.dark-mode-variables .update-composer .update-composer-head p,
.dark-mode-variables .update-listing-head p,
.dark-mode-variables .update-view .update-view-head time,
.dark-mode-variables .update-view .update-view-section p,
.dark-mode-variables .update-listing-content p,
.dark-mode-variables .update-listing-label,
.dark-mode-variables .update-listing-date {
  color: #cfdeec;
}

.dark-mode-variables .update-view .update-view-pill {
  color: #56dd92;
}

.dark-mode-variables .update-view .update-delete-btn {
  background: rgba(190, 48, 48, 0.24);
  border-color: rgba(255, 139, 139, 0.45);
  color: #ffb2b2;
}

.dark-mode-variables .update-view .update-delete-btn:hover {
  background: rgba(190, 48, 48, 0.35);
  border-color: rgba(255, 139, 139, 0.65);
  color: #ffd0d0;
}

.dark-mode-variables .update-delete-modal {
  background: rgba(2, 6, 12, 0.6);
}

.dark-mode-variables .update-delete-modal-card {
  background: #131c26;
  border-color: rgba(118, 148, 173, 0.38);
}

.dark-mode-variables .update-delete-modal-card h3 {
  color: #e8f2ff;
}

.dark-mode-variables .update-delete-modal-card p {
  color: #c7d7e8;
}

.dark-mode-variables .update-delete-modal-cancel {
  background: rgba(108, 155, 207, 0.22);
  border-color: rgba(143, 183, 220, 0.52);
  color: #b7d7f8;
}

.dark-mode-variables .update-delete-modal-cancel:hover {
  background: rgba(108, 155, 207, 0.32);
}

.dark-mode-variables .update-delete-modal-confirm {
  background: rgba(190, 48, 48, 0.28);
  border-color: rgba(255, 142, 142, 0.56);
  color: #ffb0b0;
}

.dark-mode-variables .update-delete-modal-confirm:hover {
  background: rgba(190, 48, 48, 0.4);
}

.dark-mode-variables .users-action-modal {
  background: rgba(2, 8, 5, 0.62);
}

.dark-mode-variables .users-action-modal-card {
  background: #131c26;
  border-color: rgba(81, 173, 120, 0.34);
}

.dark-mode-variables .users-action-modal-card h3 {
  color: #ddf7e8;
}

.dark-mode-variables .users-action-modal-card p {
  color: #bcddcb;
}

.dark-mode-variables .users-action-modal-cancel {
  background: rgba(56, 154, 97, 0.24);
  border-color: rgba(114, 203, 151, 0.44);
  color: #b6f0ce;
}

.dark-mode-variables .users-action-modal-cancel:hover {
  background: rgba(56, 154, 97, 0.33);
}

.dark-mode-variables .users-action-modal-confirm.is-danger {
  background: rgba(190, 48, 48, 0.28);
  border-color: rgba(255, 142, 142, 0.56);
  color: #ffb0b0;
}

.dark-mode-variables .users-action-modal-confirm.is-danger:hover {
  background: rgba(190, 48, 48, 0.4);
}

.dark-mode-variables .users-action-modal-confirm.is-safe {
  background: rgba(56, 154, 97, 0.26);
  border-color: rgba(114, 203, 151, 0.5);
  color: #bdf6d4;
}

.dark-mode-variables .users-action-modal-confirm.is-safe:hover {
  background: rgba(56, 154, 97, 0.36);
}

.dark-mode-variables .users-action-modal-confirm.is-neutral {
  background: rgba(95, 125, 152, 0.26);
  border-color: rgba(135, 165, 194, 0.48);
  color: #c8def5;
}

.dark-mode-variables .users-action-modal-confirm.is-neutral:hover {
  background: rgba(95, 125, 152, 0.36);
}

.dark-mode-variables .license-create-modal {
  background: rgba(2, 8, 5, 0.62);
}

.dark-mode-variables .license-create-modal-card {
  background: #131c26;
  border-color: rgba(81, 173, 120, 0.34);
}

.dark-mode-variables .license-create-modal-card h3 {
  color: #ddf7e8;
}

.dark-mode-variables .license-create-modal-card p {
  color: #bcddcb;
}

.dark-mode-variables .license-create-form label {
  color: #cdeedb;
}

.dark-mode-variables .license-create-form input,
.dark-mode-variables .license-create-form select {
  background: rgba(13, 30, 21, 0.95);
  border-color: rgba(96, 171, 128, 0.45);
  color: #e6fff1;
}

.dark-mode-variables .license-create-form input:focus,
.dark-mode-variables .license-create-form select:focus {
  border-color: rgba(114, 203, 151, 0.68);
  box-shadow: 0 0 0 2px rgba(56, 154, 97, 0.2);
}

.dark-mode-variables .license-create-error {
  color: #ffb4b4;
}

.dark-mode-variables .license-create-cancel {
  background: rgba(56, 154, 97, 0.24);
  border-color: rgba(114, 203, 151, 0.44);
  color: #b6f0ce;
}

.dark-mode-variables .license-create-cancel:hover {
  background: rgba(56, 154, 97, 0.33);
}

.dark-mode-variables .license-create-submit {
  background: rgba(56, 154, 97, 0.26);
  border-color: rgba(114, 203, 151, 0.5);
  color: #bdf6d4;
}

.dark-mode-variables .license-create-submit:hover {
  background: rgba(56, 154, 97, 0.36);
}

.dark-mode-variables .license-remove-modal,
.dark-mode-variables .license-remove-confirm-modal {
  background: rgba(8, 4, 5, 0.66);
}

.dark-mode-variables .license-remove-modal-card,
.dark-mode-variables .license-remove-confirm-card {
  background: #161b22;
  border-color: rgba(171, 93, 93, 0.4);
}

.dark-mode-variables .license-remove-modal-card h3,
.dark-mode-variables .license-remove-confirm-card h3 {
  color: #ffdede;
}

.dark-mode-variables .license-remove-modal-card p,
.dark-mode-variables .license-remove-confirm-card p {
  color: #e3bfbf;
}

.dark-mode-variables .license-remove-label {
  color: #f3caca;
}

.dark-mode-variables .license-remove-search {
  background: rgba(42, 16, 16, 0.9);
  border-color: rgba(171, 93, 93, 0.45);
  color: #ffe6e6;
}

.dark-mode-variables .license-remove-search:focus {
  border-color: rgba(227, 112, 112, 0.72);
  box-shadow: 0 0 0 2px rgba(181, 66, 66, 0.26);
}

.dark-mode-variables .license-remove-list {
  background: rgba(42, 16, 16, 0.6);
  border-color: rgba(171, 93, 93, 0.35);
  scrollbar-color: rgba(234, 119, 119, 0.88) rgba(91, 38, 38, 0.55);
}

.dark-mode-variables .license-remove-list::-webkit-scrollbar-track {
  background: rgba(91, 38, 38, 0.55);
}

.dark-mode-variables .license-remove-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(234, 119, 119, 0.94), rgba(181, 66, 66, 0.92));
  border-color: rgba(30, 16, 16, 0.7);
}

.dark-mode-variables .license-remove-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(247, 142, 142, 0.96), rgba(201, 81, 81, 0.94));
}

.dark-mode-variables .license-remove-item {
  background: rgba(31, 19, 19, 0.95);
  border-color: rgba(171, 93, 93, 0.3);
  color: #ffe5e5;
}

.dark-mode-variables .license-remove-item:hover {
  background: rgba(95, 41, 41, 0.56);
  border-color: rgba(227, 112, 112, 0.55);
}

.dark-mode-variables .license-remove-item.selected {
  background: rgba(181, 66, 66, 0.34);
  border-color: rgba(227, 112, 112, 0.7);
  color: #ffd0d0;
}

.dark-mode-variables .license-remove-item-meta,
.dark-mode-variables .license-remove-empty {
  color: #e2bbbb;
}

.dark-mode-variables .license-remove-error {
  color: #ffb3b3;
}

.dark-mode-variables .license-remove-cancel,
.dark-mode-variables .license-remove-confirm-cancel {
  background: rgba(95, 125, 152, 0.26);
  border-color: rgba(135, 165, 194, 0.48);
  color: #c8def5;
}

.dark-mode-variables .license-remove-cancel:hover,
.dark-mode-variables .license-remove-confirm-cancel:hover {
  background: rgba(95, 125, 152, 0.36);
}

.dark-mode-variables .license-remove-delete,
.dark-mode-variables .license-remove-confirm-delete {
  background: rgba(190, 48, 48, 0.28);
  border-color: rgba(255, 142, 142, 0.56);
  color: #ffb0b0;
}

.dark-mode-variables .license-remove-delete:hover,
.dark-mode-variables .license-remove-confirm-delete:hover {
  background: rgba(190, 48, 48, 0.4);
}

.dark-mode-variables aside .sidebar a.is-disabled {
  color: #5a6672;
  opacity: 0.56;
}

.dark-mode-variables aside .sidebar a.is-disabled:hover {
  color: #5a6672;
}

.dark-mode-variables aside .toggle .close {
  border-color: rgba(142, 160, 180, 0.36);
  background: rgba(68, 85, 103, 0.22);
  box-shadow: 0 0.22rem 0.52rem rgba(0, 0, 0, 0.2);
}

.dark-mode-variables aside .toggle .close span {
  color: #afbccd;
}

.dark-mode-variables .right-section .reminders .header .updates-bell-wrap.has-unread {
  background-color: rgba(255, 183, 66, 0.14);
}

.dark-mode-variables .right-section .reminders .header .updates-bell.has-unread {
  color: #ffc766;
}

.dark-mode-variables .updates-feed .update-feed-item.update-tone-features .icon,
.dark-mode-variables .update-listing-item.update-tone-features .update-listing-icon {
  background: rgba(0, 163, 86, 0.28);
  border-color: rgba(96, 243, 173, 0.42);
  color: #6ff5b4;
}

.dark-mode-variables .updates-feed .update-feed-item.update-tone-bugs .icon,
.dark-mode-variables .update-listing-item.update-tone-bugs .update-listing-icon {
  background: rgba(201, 43, 43, 0.27);
  border-color: rgba(255, 134, 134, 0.4);
  color: #ff8f8f;
}

.dark-mode-variables .updates-feed .update-feed-item.update-tone-improvements .icon,
.dark-mode-variables .update-listing-item.update-tone-improvements .update-listing-icon {
  background: rgba(36, 115, 201, 0.28);
  border-color: rgba(140, 190, 255, 0.44);
  color: #9cc8ff;
}

.dark-mode-variables .updates-feed .update-feed-item.update-tone-soon .icon,
.dark-mode-variables .update-listing-item.update-tone-soon .update-listing-icon {
  background: rgba(215, 126, 9, 0.28);
  border-color: rgba(255, 194, 120, 0.46);
  color: #ffd297;
}

.dark-mode-variables .updates-feed .update-tone-features .update-feed-label,
.dark-mode-variables .update-listing-item.update-tone-features .update-listing-label {
  color: #77f8bc;
}

.dark-mode-variables .updates-feed .update-tone-bugs .update-feed-label,
.dark-mode-variables .update-listing-item.update-tone-bugs .update-listing-label {
  color: #ff9d9d;
}

.dark-mode-variables .updates-feed .update-tone-improvements .update-feed-label,
.dark-mode-variables .update-listing-item.update-tone-improvements .update-listing-label {
  color: #acd3ff;
}

.dark-mode-variables .updates-feed .update-tone-soon .update-feed-label,
.dark-mode-variables .update-listing-item.update-tone-soon .update-listing-label {
  color: #ffd39f;
}

.dark-mode-variables .update-composer-form .update-input,
.dark-mode-variables .update-composer-form .update-textarea {
  background: rgba(11, 19, 26, 0.85);
  border-color: rgba(117, 147, 173, 0.4);
  color: #e7f0fb;
}

.dark-mode-variables .update-composer-form .update-input::placeholder,
.dark-mode-variables .update-composer-form .update-textarea::placeholder {
  color: rgba(207, 223, 237, 0.62);
}

.dark-mode-variables .update-view .update-view-section,
.dark-mode-variables .update-listing-item {
  background: rgba(11, 18, 25, 0.72);
  border-color: rgba(120, 149, 174, 0.34);
}

.dark-mode-variables .update-listing-empty {
  background: rgba(17, 30, 42, 0.7);
  border-color: rgba(120, 149, 174, 0.46);
}

@media (max-width: 992px) {
  .update-listing-grid {
    grid-template-columns: 1fr;
  }

  .update-listing-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .update-listing-create-btn {
    margin-left: 0;
  }
}

/* Server control page */
.server-control-page main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.server-control-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.46rem 0.72rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(16, 161, 76, 0.35);
  background: rgba(16, 161, 76, 0.13);
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.82rem;
}

.server-control-back:hover {
  background: rgba(16, 161, 76, 0.21);
  color: var(--color-dark);
}

.server-control-command {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.66rem;
}

.server-control-command-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.server-control-head-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 161, 76, 0.33);
  background: rgba(16, 161, 76, 0.12);
  color: #0b8140;
  font-weight: 700;
  font-size: 0.7rem;
}

.server-control-head-badge .material-icons-sharp {
  font-size: 0.95rem;
}

.server-control-command-grid {
  display: flex;
  gap: 0.7rem;
  align-items: stretch;
}

.server-control-command-main {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 1rem;
  border: 1px solid rgba(16, 161, 76, 0.28);
  background: linear-gradient(145deg, rgba(16, 161, 76, 0.19), rgba(7, 102, 49, 0.08) 58%, rgba(7, 67, 35, 0.05));
  box-shadow: 0 0.95rem 1.8rem rgba(4, 46, 22, 0.14);
  padding: 0.54rem 0.66rem;
  display: flex;
  align-items: center;
}

.server-control-command-row {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}

.server-control-id {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.server-control-id img {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  border: 2px solid rgba(16, 161, 76, 0.4);
  object-fit: cover;
  box-shadow: 0 0.32rem 0.74rem rgba(13, 110, 54, 0.22);
}

.server-control-id h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.15;
}

.server-control-id p {
  margin: 0.1rem 0 0 0;
  color: var(--color-dark-variant);
  font-weight: 700;
  font-size: 0.88rem;
}

.server-control-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.38rem;
}

.server-control-stat-card {
  border-radius: 0.64rem;
  border: 1px solid rgba(16, 161, 76, 0.3);
  background: rgba(3, 27, 13, 0.19);
  padding: 0.42rem 0.56rem;
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
  min-height: 62px;
}

.server-control-stat-head {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
}

.server-control-stat-head .material-icons-sharp {
  font-size: 1.02rem;
  color: #0e9a49;
}

.server-control-stat-card small {
  color: rgba(34, 57, 44, 0.9);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.server-control-stat-value {
  color: var(--color-dark);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.24;
}

.server-control-ticket-lines {
  display: grid;
  gap: 0.08rem;
  margin-top: 0.02rem;
}

.server-control-ticket-lines > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.42rem;
}

.server-control-ticket-lines span {
  color: rgba(34, 57, 44, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
}

.server-control-ticket-lines strong {
  color: var(--color-dark);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
}

.server-control-plan-panel {
  width: 334px;
  border-radius: 1rem;
  border: 1px solid rgba(16, 161, 76, 0.35);
  background: linear-gradient(160deg, rgba(6, 21, 12, 0.7), rgba(16, 47, 28, 0.8));
  box-shadow: 0 1.1rem 2rem rgba(4, 36, 19, 0.24);
  padding: 0.5rem 0.62rem;
}

.server-control-plan-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.42rem;
}

.server-control-plan-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.server-control-plan-media {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-control-plan-art {
  width: 82px;
  height: 82px;
  object-fit: contain;
  opacity: 0.96;
  filter: drop-shadow(0 0.4rem 0.8rem rgba(0, 0, 0, 0.34));
}

.server-control-plan-panel small {
  color: #9fd7b6;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.server-control-plan-panel h3 {
  margin: 0.22rem 0 0 0;
  font-size: 1.16rem;
  color: #f0fff7;
}

.server-control-plan-panel p {
  margin: 0.2rem 0 0 0;
  font-size: 0.71rem;
  font-weight: 600;
  color: #b8e6ca;
  max-width: 100%;
  line-height: 1.28;
}

.server-control-plan-chip {
  margin-top: 0.36rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(112, 251, 172, 0.33);
  background: rgba(18, 112, 63, 0.42);
  color: #caffdf;
  padding: 0.16rem 0.5rem;
  font-size: 0.64rem;
  font-weight: 700;
}

.server-control-plan-panel.tone-king {
  border-color: rgba(255, 216, 123, 0.54);
  background: linear-gradient(160deg, rgba(30, 24, 9, 0.78), rgba(74, 55, 17, 0.74));
}

.server-control-plan-panel.tone-king small {
  color: #ffe3a3;
}

.server-control-plan-panel.tone-king .server-control-plan-chip {
  border-color: rgba(255, 216, 123, 0.45);
  background: rgba(142, 104, 27, 0.5);
  color: #fff1cf;
}

.server-control-plan-panel.tone-soldier {
  border-color: rgba(140, 189, 255, 0.5);
  background: linear-gradient(160deg, rgba(11, 23, 37, 0.82), rgba(24, 54, 86, 0.72));
}

.server-control-plan-panel.tone-soldier small {
  color: #bfdcff;
}

.server-control-plan-panel.tone-soldier .server-control-plan-chip {
  border-color: rgba(140, 189, 255, 0.45);
  background: rgba(36, 81, 128, 0.5);
  color: #dcefff;
}

.server-control-plan-panel.tone-buffoon {
  border-color: rgba(176, 255, 180, 0.46);
  background: linear-gradient(160deg, rgba(12, 31, 16, 0.8), rgba(23, 69, 30, 0.73));
}

.server-control-plan-panel.tone-buffoon small {
  color: #c8f8cb;
}

.server-control-modules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.82rem;
}

.server-module {
  background: var(--color-white);
  border-radius: 1rem;
  border: 1px solid rgba(108, 155, 207, 0.24);
  padding: 0.96rem;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.54rem;
  min-height: 188px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.server-module:hover {
  transform: translateY(-1px);
  border-color: rgba(12, 154, 72, 0.4);
}

.server-module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.server-module-head {
  display: inline-flex;
  align-items: center;
  gap: 0.54rem;
  min-width: 0;
}

.server-module-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 154, 72, 0.2);
  color: #0c9a48;
}

.server-module-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.52rem;
  border: 1px solid rgba(108, 155, 207, 0.34);
  background: rgba(108, 155, 207, 0.12);
  color: #356187;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.server-module-status-on {
  border-color: rgba(12, 154, 72, 0.42);
  background: rgba(12, 154, 72, 0.16);
  color: #0b8742;
}

.server-module-status-off {
  border-color: rgba(194, 43, 43, 0.45);
  background: rgba(194, 43, 43, 0.12);
  color: #b91f1f;
}

.server-module-status-na {
  border-color: rgba(108, 155, 207, 0.34);
  background: rgba(108, 155, 207, 0.12);
  color: #356187;
}

.server-module-head h3 {
  margin: 0;
  font-size: 1.06rem;
}

.server-module p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  min-height: 2.28rem;
}

.server-module-meta {
  display: grid;
  gap: 0.32rem;
}

.server-module-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.45rem;
  border-radius: 0.52rem;
  border: 1px solid rgba(108, 155, 207, 0.24);
  background: rgba(108, 155, 207, 0.08);
  padding: 0.28rem 0.38rem;
}

.server-module-meta-row small {
  color: var(--color-dark-variant);
  font-weight: 700;
  font-size: 0.68rem;
}

.server-module-meta-row strong {
  display: block;
  color: var(--color-dark);
  font-size: 0.75rem;
  font-weight: 700;
  width: 62%;
  min-width: 0;
  text-align: right;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-module-meta-row.long-value {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.server-module-meta-row.long-value .server-module-meta-value {
  width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.server-module-list {
  margin-top: 0.12rem;
  display: grid;
  gap: 0.3rem;
}

.server-module-list small {
  color: var(--color-dark-variant);
  font-weight: 700;
  font-size: 0.66rem;
}

.server-module-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.server-module-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(108, 155, 207, 0.32);
  background: rgba(108, 155, 207, 0.12);
  color: var(--color-dark);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 0.16rem 0.45rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-module-chip.more {
  border-color: rgba(12, 154, 72, 0.38);
  background: rgba(12, 154, 72, 0.14);
  color: #0b8742;
}

.dark-mode-variables .server-control-back {
  border-color: rgba(72, 198, 129, 0.42);
  background: rgba(19, 63, 44, 0.42);
  color: #ddf7e9;
}

.dark-mode-variables .server-control-back:hover {
  background: rgba(27, 87, 60, 0.52);
}

.dark-mode-variables .server-control-head-badge {
  border-color: rgba(72, 198, 129, 0.44);
  background: rgba(17, 62, 43, 0.48);
  color: #9ff2c8;
}

.dark-mode-variables .server-control-command-main,
.dark-mode-variables .server-control-plan-panel,
.dark-mode-variables .server-module {
  background: rgba(13, 23, 33, 0.78);
  border-color: rgba(127, 166, 197, 0.28);
}

.dark-mode-variables .server-module-icon {
  background: rgba(21, 126, 77, 0.33);
  color: #8ffac4;
}

.dark-mode-variables .server-module-status-na {
  border-color: rgba(127, 166, 197, 0.42);
  background: rgba(30, 55, 72, 0.4);
  color: #b6d8f9;
}

.dark-mode-variables .server-module-status-off {
  border-color: rgba(255, 120, 120, 0.5);
  background: rgba(171, 38, 38, 0.36);
  color: #ffb4b4;
}

.dark-mode-variables .server-module-meta-row {
  border-color: rgba(127, 166, 197, 0.3);
  background: rgba(30, 55, 72, 0.42);
}

.dark-mode-variables .server-module-meta-row small {
  color: #b7cde2;
}

.dark-mode-variables .server-module-meta-row strong {
  color: #eff7ff;
}

.dark-mode-variables .server-module-list small {
  color: #b7cde2;
}

.dark-mode-variables .server-module-chip {
  border-color: rgba(127, 166, 197, 0.4);
  background: rgba(30, 55, 72, 0.46);
  color: #eff7ff;
}

.dark-mode-variables .server-module-chip.more {
  border-color: rgba(76, 227, 151, 0.5);
  background: rgba(21, 126, 77, 0.33);
  color: #9cf4c8;
}

.dark-mode-variables .server-control-command-main {
  border-color: rgba(72, 198, 129, 0.34);
  background: linear-gradient(
      150deg,
      rgba(22, 110, 71, 0.3) 0%,
      rgba(13, 68, 42, 0.26) 48%,
      rgba(9, 42, 27, 0.24) 100%
    ),
    rgba(10, 21, 16, 0.82);
}

.dark-mode-variables .server-control-plan-panel {
  border-color: rgba(72, 198, 129, 0.4);
  background: linear-gradient(160deg, rgba(9, 19, 13, 0.87), rgba(16, 42, 29, 0.88));
}

.dark-mode-variables .server-control-plan-panel.tone-king {
  border-color: rgba(255, 216, 123, 0.52);
  background: linear-gradient(160deg, rgba(35, 26, 9, 0.88), rgba(87, 63, 18, 0.84));
}

.dark-mode-variables .server-control-plan-panel.tone-soldier {
  border-color: rgba(140, 189, 255, 0.5);
  background: linear-gradient(160deg, rgba(10, 21, 36, 0.9), rgba(22, 49, 81, 0.86));
}

.dark-mode-variables .server-control-plan-panel.tone-buffoon {
  border-color: rgba(176, 255, 180, 0.46);
  background: linear-gradient(160deg, rgba(11, 27, 14, 0.9), rgba(24, 66, 30, 0.84));
}

.dark-mode-variables .server-control-stat-card {
  border-color: rgba(72, 198, 129, 0.3);
  background: linear-gradient(155deg, rgba(18, 41, 30, 0.74), rgba(12, 73, 44, 0.42));
}

.dark-mode-variables .server-control-stat-head .material-icons-sharp {
  color: #89f0b8;
}

.dark-mode-variables .server-control-stat-card small {
  color: #b8d9c8;
}

.dark-mode-variables .server-control-stat-value,
.dark-mode-variables .server-control-ticket-lines strong {
  color: #effff6;
}

.dark-mode-variables .server-control-ticket-lines span {
  color: #b8d9c8;
}

.dark-mode-variables .server-control-plan-panel p {
  color: #d2f4df;
}

.dark-mode-variables .server-control-plan-chip {
  border-color: rgba(115, 247, 173, 0.4);
  background: rgba(29, 126, 78, 0.45);
  color: #d9ffe9;
}

@media (max-width: 1380px) {
  .server-control-modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .server-control-command-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .server-control-head-badge {
    width: 100%;
    justify-content: center;
  }

  .server-control-command-grid {
    flex-direction: column;
  }

  .server-control-command-main {
    padding: 0.58rem 0.66rem;
  }

  .server-control-command-row {
    grid-template-columns: 1fr;
    gap: 0.44rem;
  }

  .server-control-plan-panel {
    width: 100%;
  }

  .server-control-plan-art {
    width: 78px;
    height: 78px;
  }

  .server-control-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-control-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .server-control-command-main {
    padding: 0.52rem 0.58rem;
  }

  .server-control-id img {
    width: 50px;
    height: 50px;
  }

  .server-control-id h2 {
    font-size: 0.98rem;
  }

  .server-control-id p {
    font-size: 0.72rem;
  }

  .server-control-stats {
    grid-template-columns: 1fr;
  }

  .server-control-stat-card {
    min-height: 52px;
  }

  .server-control-plan-panel {
    padding: 0.48rem 0.52rem;
  }

  .server-control-plan-content {
    gap: 0.38rem;
  }

  .server-control-plan-panel h3 {
    font-size: 1.02rem;
  }

  .server-control-plan-panel p {
    max-width: 150px;
    font-size: 0.66rem;
  }

  .server-control-plan-art {
    width: 66px;
    height: 66px;
  }

  .server-control-modules {
    grid-template-columns: 1fr;
  }

  .server-module {
    min-height: auto;
  }
}



} /* End legacy layout layer. */
