/* cabinet.css — стили личного кабинета (PHP-модуль cabinet) */
/* PHP-plugin modules/cabinet/index.php: HTML генерируется модулем, переименование классов невозможно */
/* Все классы: .modal-*, .table-* — используются PHP-модулем / Bootstrap JS */

.modal-open {
  overflow: hidden;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}
.modal.show .modal-dialog {
  -webkit-transform: none;
  transform: none;
}
.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;

  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: 0.5;
}
.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(90, 185, 234, 0.15);
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}
.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
}
.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}
.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}
.modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid rgba(90, 185, 234, 0.15);
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}
.modal-footer > :not(:first-child) {
  margin-left: 0.25rem;
}
.modal-footer > :not(:last-child) {
  margin-right: 0.25rem;
}
.modal-dialog-centered {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem);
}
.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  content: "";
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
  }
}
@media (min-width: 992px) {
  .modal-lg {
    max-width: 800px;
  }
}

.cabinet__nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cabinet__nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.cabinet__content {
  margin-bottom: 2em;
}

/* HOME */
.cabinet__home-top {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.cabinet__home-bot {
    background: hsla(240, 7%, 12%, 0.90);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 15px;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

/* VIEW */
.cabinet__view {
    border: 1px solid hsla(224, 82%, 49%, 0.205);
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    margin-bottom: 15px;
    position: relative;
}

.cabinet__view-update {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: space-between;
}

/* BUTTON */
.cabinet__button {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsla(240, 7%, 16%, 0.95);
    border: 1px solid rgba(85, 178, 253, 0.55);
    color: #5ab9ea;
    font-size: 14px;
    width: 100%;
    padding: 12px 0px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.cabinet__button:hover {
    background: rgba(85, 178, 253, 0.22);
    border-color: rgba(85, 178, 253, 0.65);
    color: #fff;
    box-shadow: 0 0 16px rgba(85, 178, 253, 0.35), 0 4px 12px rgba(85, 178, 253, 0.20);
    transform: translateY(-2px);
}

.cabinet__button:active {
    background: rgba(85, 178, 253, 0.30);
    border-color: rgba(85, 178, 253, 0.80);
    color: #fff;
    box-shadow: 0 0 8px rgba(85, 178, 253, 0.20);
    transform: translateY(0);
}

.cabinet__button svg {
    width: 20px;
    margin-right: 5px;
}

/* ALERTS */
.cabinet__alert--info {
    font-size: 0.9rem;
    background-color: rgba(57, 57, 57, 0.8);
    border: 1px solid #6573ea;
    border-radius: 0.25rem;
    padding: 0.5rem;
    display: flex;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.cabinet__alert--warning {
    font-size: 0.9rem;
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 0.25rem;
    padding: 0.5rem;
    display: flex;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.cabinet__alert-icon {
    flex-shrink: 0;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.cabinet__alert-text {
    color: #d5dfea;
}

/* FORM */
.cabinet__form-group {
    margin-bottom: 23px;
}

.cabinet__form-group label {
    position: relative;
    color: #6cdaee;
    font-size: 14px;
    font-weight: bold;
    top: auto;
    left: auto;
}

.cabinet__input {
    background-color: #1e1f28;
    width: 100%;
    border: 1px solid #17a2b8;
    border-radius: 0.25rem;
    height: 48px;
    font-size: 16px;
    font-weight: bold;
    padding: .375rem .9rem;
    box-shadow: none;
    color: #d5dfea;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.cabinet__input:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 2px 2px 0px 0px;
    box-shadow: 0px 1px 0px 0px #6495ed;
}

.cabinet__form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #6c757d;
}

/* OPP ITEMS */
.cabinet__opp-item {
    list-style-type: none;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    position: relative;
    margin-bottom: 10px;
    color: #b3d4fc;
}

.cabinet__opp-item-icon {
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabinet__opp-item-desc {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.cabinet__opp-item:hover .cabinet__opp-item-btn {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
}

.cabinet__opp-item-btn {
    font-size: 16px;
    font-weight: bold;
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(5px);
    border-radius: 5.03472px;
    box-shadow: 0px -1px 4px rgba(200, 196, 196, 0.08), 0px 4px 4px rgba(200, 196, 196, 0.25);
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.cabinet__opp-list {
    margin: 0;
    padding: 0;
}

/* ACTION BUTTON */
.cabinet__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #55b2fd;
    background: rgba(85, 178, 253, 0.10);
    border: 1px solid rgba(85, 178, 253, 0.28);
    font-size: 14px;
    font-weight: bold;
    width: 100%;
    padding: 12px 0px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.cabinet__action-btn:hover {
    background: rgba(85, 178, 253, 0.22);
    border-color: rgba(85, 178, 253, 0.65);
    color: #fff;
    box-shadow: 0 0 16px rgba(85, 178, 253, 0.35), 0 4px 12px rgba(85, 178, 253, 0.20);
    transform: translateY(-2px);
}

.cabinet__action-btn:active {
    background: rgba(85, 178, 253, 0.30);
    border-color: rgba(85, 178, 253, 0.80);
    color: #fff;
    box-shadow: 0 0 8px rgba(85, 178, 253, 0.20);
    transform: translateY(0);
}

/* === LAYOUT === */
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-sm-6,
.col-sm-12,
.col-md-6,
.col-lg-4,
.col-xl-3 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-top: 15px;
}
.cabinet__server-card-col {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-top: 15px;
}
.cabinet__shop-card-col {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-top: 15px;
}

.cabinet__shop-section {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}


.cabinet__shop-empty {
  width: 100%;
  background: #6495ed;
  color: #fff;
  padding: 20px;
  border-radius: 2px;
  margin-bottom: 10px;
  text-align: center;
}

@media (min-width: 576px) {
  .col-sm-6 { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
  .col-sm-12 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
  .cabinet__shop-card-col { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 768px) {
  .col-md-6 { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
  .cabinet__server-card-col { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 992px) {
  .col-lg-4 { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; }
  .cabinet__shop-card-col { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; }
}

@media (min-width: 1200px) {
  .col-xl-3 { -ms-flex: 0 0 25%; flex: 0 0 25%; max-width: 25%; }
  .cabinet__server-card-col { -ms-flex: 0 0 25%; flex: 0 0 25%; max-width: 25%; }
  .cabinet__shop-card-col { -ms-flex: 0 0 25%; flex: 0 0 25%; max-width: 25%; }
}

/* === DISPLAY UTILITIES === */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: -ms-flexbox !important; display: flex !important; }

/* === FLEX UTILITIES === */
.align-items-center { -ms-flex-align: center !important; align-items: center !important; }
.align-items-start { -ms-flex-align: start !important; align-items: flex-start !important; }
.justify-content-between { -ms-flex-pack: justify !important; justify-content: space-between !important; }
.h-100 { height: 100% !important; }

/* === TEXT === */
.text-center { text-align: center !important; }
.text-muted { color: #96afc0 !important; }

/* === SPACING === */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.pl-3 { padding-left: 1rem !important; }

/* === CARD === */
.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background: hsla(240, 7%, 12%, 0.88);
  padding: 25px 10px;
  box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
  background-clip: border-box;
  border-radius: 0.25rem;
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

/* === NAV === */
.nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link { display: block; padding: 0.5rem 1rem; }
.nav-link:hover, .nav-link:focus { text-decoration: none; }
.nav-link.disabled { color: #7395ae; pointer-events: none; cursor: default; }
.nav-pills .nav-link {
    border-radius: 8px;
    color: #96afc0;
    background: rgba(90, 185, 234, 0.06);
    border: 1px solid rgba(90, 185, 234, 0.14);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.nav-pills .nav-link:hover {
    background: rgba(85, 178, 253, 0.15);
    border-color: rgba(85, 178, 253, 0.40);
    color: #d5dfea;
    box-shadow: 0 0 10px rgba(85, 178, 253, 0.20);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background: rgba(85, 178, 253, 0.25);
    border-color: rgba(85, 178, 253, 0.55);
    box-shadow: 0 0 14px rgba(85, 178, 253, 0.30);
}

/* === TABS === */
.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }
.fade { transition: opacity 0.15s linear; }
@media (prefers-reduced-motion: reduce) { .fade { transition: none; } }
.fade:not(.show) { opacity: 0; }


/* === INPUT GROUP === */
.input-group {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}

.input-group > .cabinet__input {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.input-group > .cabinet__input:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > .cabinet__input:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group-prepend,
.input-group-append {
  display: -ms-flexbox;
  display: flex;
}

/* === CLOSE BUTTON === */
.close { float: right; font-size: 1.5rem; font-weight: 700; line-height: 1; color: #fff; opacity: .5; }
.close:hover { color: #eee; text-decoration: none; }
.close:not(:disabled):not(.disabled):hover,
.close:not(:disabled):not(.disabled):focus { opacity: .75; }

/* === BACKGROUND UTILITIES === */
.bg-success { background-color: #8CC152 !important; }
.bg-info { background-color: #17a2b8 !important; }




.cabinet__donat-header-title {
    margin-bottom: 30px;
}

.cabinet__donat-selector {
    width: 50%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cabinet__donat-selector label {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    color: #d5dfea;
}

.cabinet__donat-selector select {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #d5dfea;
    background-color: #1e1f28;
    border: 1px solid rgba(90, 185, 234, 0.2);
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ab9ea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.cabinet__donat-selector select option {
    color: #d5dfea;
    background-color: #1e1f28;
}

.cabinet__donat-selector select option:disabled {
    color: #96afc0;
}

.cabinet__donat-info h3 {
    text-transform: uppercase;
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 38px;
    display: flex;
    align-items: center;
    color: #9AD31F;
}

.cabinet__donat-block {
    background: hsla(240, 7%, 12%, 0.88);
    border: 1px solid rgba(90, 185, 234, 0.2);
    box-shadow: 0px 4px 15px rgb(166 166 166 / 10%);
    border-radius: 10px;
    padding: 25px 20px;
    margin-top: 25px;
	position: relative;
}

.cabinet__donat-item {
    background: hsla(240, 7%, 12%, 0.90);
    
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 20px 10px;
	flex-basis: 24%;
    max-width: 24%;
	display: flex;
    flex-direction: column;
    align-items: center;
	justify-content: space-between;
}

.cabinet__donat-title {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
}

.cabinet__donat-title span {
	text-transform: uppercase;
}

.cabinet__donat-price {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #55b2fd;
	padding-top: 10px;

}

.cabinet__donat-btn {
    background: rgba(85,178,253,0.10);
    border: 1px solid rgba(85,178,253,0.28);
    border-radius: 8px;
    color: #55b2fd!important;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    padding: 8px 20px;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.cabinet__donat-btn:hover {
    background: rgba(85, 178, 253, 0.22);
    border-color: rgba(85, 178, 253, 0.65);
    color: #fff!important;
    box-shadow: 0 0 16px rgba(85, 178, 253, 0.35), 0 4px 12px rgba(85, 178, 253, 0.20);
    transform: translateY(-2px);
}
.cabinet__donat-btn:active {
    background: rgba(85, 178, 253, 0.30);
    border-color: rgba(85, 178, 253, 0.80);
    color: #fff!important;
    box-shadow: 0 0 8px rgba(85, 178, 253, 0.20);
    transform: translateY(0);
}

.cabinet__donat-commands {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
	padding: 15px 0;
}

.cabinet__donat-commands-item {
    width: 32%;
    margin-bottom: 2%;
}

.cabinet__donat-commands-item p:first-child {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: #d5dfea;
    margin-bottom: unset;
}

.cabinet__donat-commands-item p:last-child {
    font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 17px;
	display: flex;
	align-items: center;
	color: #96afc0;
    margin-bottom: unset;
}

.cabinet__donat-kits {
    padding-top: 20px;
    position: relative;
}

.cabinet__donat-kits:before {
    content: '';
    height: 1px;
    position: absolute;
	right: -20px;
    left: -20px;
    top: -5px;
    background: #D7DBDE;
}

.cabinet__donat-kits-block {
    display: flex;
    flex-direction: row;
}

.cabinet__donat-kits-item {
    width: 45%;
	padding-right: 5px;
}

.cabinet__donat-kits-item h5 {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    display: block;
    color: #d5dfea;
    margin-bottom: unset;
}

.cabinet__donat-kits-item p {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    display: block;
    color: #d5dfea;
    margin-bottom: unset;
}

.cabinet__donat-item-img {
    position: absolute;
    height: 120%;
	display: none;
}

.cabinet__donat-kits-item:hover .cabinet__donat-item-img {
    display: block;
}

.cabinet__donat-botheader {
	font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.03em;
    color: #d5dfea;
    margin-bottom: 30px;
	background: #F8FFFF;
    border: 1px solid rgba(90, 185, 234, 0.2);
    box-shadow: 0px 4px 15px rgb(166 166 166 / 10%);
    border-radius: 10px;
    padding: 25px 20px;
}






/* item_modal_* — PHP-движок: генерируется через {item_shop_style} */
.cabinet__shop-modal .item_modal_content {
	background: hsla(240, 7%, 12%, 0.98);
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.25));
    border-radius: 8px;
	padding: 0;
}

.cabinet__shop-modal .item_modal_name {
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #d5dfea;
	padding-top: 15px;
}

.cabinet__shop-modal .item_modal_server {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #d5dfea;
    margin-top: 10px;
	padding-bottom: 5px;
}

.cabinet__shop-modal .item_modal_net {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px auto auto auto;
    background: hsla(240, 7%, 12%, 0.88);
    box-shadow: 0px 4px 15px rgb(166 166 166 / 10%);
    border-radius: 7px;
	flex-wrap: wrap;
	padding: 15px 45px;
}

.cabinet__shop-modal .item_modal_info {
    width: 65%;
}

.cabinet__shop-modal .item_modal .close {
    color: #7C7C7C !important;
    outline: none;
    border: none;
    background: none;
    font-size: 48px;
	z-index: 1;
	padding: 0;
}

.cabinet__shop-modal .item_modal .modal-header {
    top: 7px;
    right: 20px;
    padding: 0;
}

.cabinet__shop-modal .item_modal_info_li p {
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    color: #96afc0;
}

.cabinet__shop-modal .item_modal_info_li span {
    font-weight: 500;
    font-size: 14px;
    color: #96afc0;
}

.cabinet__shop-modal .item_modal_img {
    --size: 95px;
}

.cabinet__shop-modal .item_modal_info_li input {
    height: unset;
    background: hsla(240, 7%, 12%, 0.88);
    border: 1px solid rgba(90, 185, 234, 0.2);
    border-radius: 4px;
    font-weight: 400;
    font-size: 14px;
    color: #96afc0;
    text-align: center;
}

.cabinet__shop-modal .item_modal_btn {
    width: 50%;
    margin: 25px auto 20px;
    padding: 9px 0;
    color: #9AD31F;
    font-size: 15px;
    font-weight: 700;
    background: rgba(154,211,31,0.10);
    border: 1px solid rgba(154,211,31,0.28);
    border-radius: 8px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.cabinet__shop-modal .item_modal_btn:hover {
    background: rgba(154, 211, 31, 0.22);
    border-color: rgba(154, 211, 31, 0.65);
    color: #fff;
    box-shadow: 0 0 16px rgba(154, 211, 31, 0.35), 0 4px 12px rgba(154, 211, 31, 0.20);
    transform: translateY(-2px);
}
.cabinet__shop-modal .item_modal_btn:active {
    background: rgba(154, 211, 31, 0.30);
    border-color: rgba(154, 211, 31, 0.80);
    color: #fff;
    box-shadow: 0 0 8px rgba(154, 211, 31, 0.20);
    transform: translateY(0);
}

.cabinet__shop-modal .item_modal_info_li {
    padding-bottom: 10px;
	padding-top: 10px;
	grid-gap: 70px;
}



@media screen and (max-width: 1199px) {

	.cabinet__donat-item {
		padding: 20px 7px;
		flex-basis: 23%;
		max-width: 23%;
	}

}

@media screen and (max-width: 991px) {

	.launcher-btn span {
		font-size: 0.825rem !important;
	}

	.cabinet__donat-item {
		flex-basis: 49%;
		max-width: 49%;
		margin-bottom: 2%;
	}

	.cabinet__donat-commands-item {
		width: 49%;
	}

}


@media screen and (max-width: 866px) {

	.cabinet__donat-item-img {
		bottom: -25px;
	}

}


@media screen and (max-width: 635px) {

	.cabinet__donat-commands-item p:last-child, .cabinet__donat-kits-item p {
		font-size: 12px;
	}

	.cabinet__donat-selector {
		width: 70%;
	}

	.cabinet__shop-modal.show .modal-dialog {
		width: 100%;
		max-width: 100%!important;
		margin: 0;
	}

}
	


@media screen and (max-width: 535px) {

	.cabinet__donat-kits-block {
		flex-direction: column;
	}

	.cabinet__donat-kits-item {
		width: 100%;
		margin-bottom: 15px;
	}

	.cabinet__donat-item-img {
		bottom: 15px;
		right: 0;
		height: 55%;
	}

	.cabinet__donat-commands-item {
		width: 100%;
	}


}

@media screen and (max-width: 500px) {

	.cabinet__donat-selector {
		width: 90%;
	}

	.cabinet__shop-modal .item_modal_net {
		padding: 15px 15px;
	}

	.cabinet__shop-modal .item_modal_info_li span {
		white-space: nowrap;
	}

	.cabinet__shop-modal .item_modal_info_li {
		grid-gap: 50px;
	}

}


@media screen and (max-width: 440px) {

	.cabinet__donat-item {
		flex-basis: 100%;
		max-width: 100%;
	}

	.cabinet__donat-item-img {
		bottom: 25px;
		width: 75%;
		height: unset;
	}

	.cabinet__shop-modal .item_modal_img {
		--size: 85px;
	}

	.cabinet__shop-modal .item_modal_info {
		width: 71%;
	}

	.cabinet__shop-modal .item_modal_name {
		font-size: 22px;
	}

	.cabinet__shop-modal .item_modal_server {
		font-size: 15px;
	}

	.cabinet__shop-modal .item_modal_btn {
		width: 60%;
		font-size: 14px;
		margin: 20px auto 15px;
	}

}

@media screen and (max-width: 410px) {

	.cabinet__donat-selector {
		width: 100%;
	}

	.cabinet__shop-modal .item_modal_info {
		width: 100%;
	}

	.cabinet__shop-modal .item_modal_info_li {
		grid-gap: 25%;
	}

	.cabinet__shop-modal .item_modal_net {
		justify-content: center;
	}

	.cabinet__shop-modal .item_modal_btn {
		width: 100%;
	}

	.cabinet__shop-modal .item_modal_name {
		width: 80%;
		margin: auto;
	}

}

@media screen and (max-width: 370px) {
	
	.cabinet__donat-item-img {
		width: 100%;
	}
	
	.cabinet__shop-modal .item_modal_info_li {
		grid-gap: 10%;
	}
}

/* HOME */
.cabinet__home-bot {
    background: hsla(240, 7%, 12%, 0.90);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 15px;
    border-radius: 7px;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}


.cabinet__home-top {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 30px;
}



.cabinet__h1 {
    display: flex;
    color: #fe666f;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    margin-top: 20px;
    margin-bottom: 15px;
}


.cabinet__block-container-2 {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
}


.cabinet__block-2 {
    margin-top: 25px;
    width: 350px;
    min-height: 250px;
    background: hsla(240, 7%, 12%, 0.88);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 30px 30px;
}


.cabinet__referral-table-inner {
    background: hsla(240, 7%, 12%, 0.90);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 30px 30px;
    display: block;
    margin-bottom: 0;
    box-sizing: border-box;
}

.cabinet__referral-table-inner tbody * {
    background: unset;
    --bs-table-accent-bg: unset !important;
}

.cabinet__referral-table-inner tbody th {
    font-weight: 500;
    white-space: nowrap;
}

.cabinet__referral-table-inner tbody td {
    width: 100%;
    font-weight: 400;
}

.cabinet__referral-table-wrap {
    width: 100%;
    margin-bottom: 2%;
}


.cabinet__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #55b2fd;
    background: rgba(85,178,253,0.10);
    border: 1px solid rgba(85,178,253,0.28);
    font-size: 14px;
    font-weight: bold;
    width: 100%;
    padding: 12px 0px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.cabinet__action-btn:hover {
    background: rgba(85, 178, 253, 0.22);
    border-color: rgba(85, 178, 253, 0.65);
    color: #fff;
    box-shadow: 0 0 16px rgba(85, 178, 253, 0.35), 0 4px 12px rgba(85, 178, 253, 0.20);
    transform: translateY(-2px);
}
.cabinet__action-btn:active {
    background: rgba(85, 178, 253, 0.30);
    border-color: rgba(85, 178, 253, 0.80);
    color: #fff;
    box-shadow: 0 0 8px rgba(85, 178, 253, 0.20);
    transform: translateY(0);
}


/* HOME */
/* SETTINGS */
.cabinet__settings.active {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: visible;
}



.cabinet__settings-header {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #6cdaee;
    width: 100%;
    display: block;
    padding-top: 20px;
    padding-bottom: 8px;
}

.cabinet__settings-item {
    background: rgba(90, 185, 234, 0.06);
    border: 1px solid rgba(90, 185, 234, 0.28);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 35px 35px;
    cursor: pointer;
    margin: 15px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.cabinet__settings-item:hover {
    background: rgba(90, 185, 234, 0.18);
    border-color: rgba(90, 185, 234, 0.60);
    box-shadow: 0 4px 14px rgba(90, 185, 234, 0.25);
    transform: translateY(-2px);
}
.cabinet__settings-item:hover p {
    color: #fff;
}

.cabinet__settings-block .cabinet__settings-item {
    margin-top: 22px;
}

.cabinet__settings-item img {
    background: #5ab9ea;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
}

.cabinet__settings-item h5 {
    font-weight: 700;
    font-size: 18px;
    line-height: 23px;
    text-align: center;
    color: #5ab9ea;
    margin-bottom: 3px;
}

.cabinet__settings-item p {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    color: #5ab9ea;
    margin-bottom: unset;
}

.cabinet__settings-item .cabinet__opp-item-btn {
    background: rgba(31, 110, 214, 0.8);
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%), 0px -1px 4px rgb(200 196 196 / 8%);
    backdrop-filter: blur(1.5px);
    border-radius: 7px;
    font-weight: 700;
    font-size: 24px;
    line-height: 12px;
    text-align: center;
    color: #FFFFFF;
}

.cabinet__settings-bot {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.cabinet__settings-block-flex {
    background: hsla(240, 7%, 12%, 0.90);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 15px;
}

.cabinet__pass-col {
    width: 100%;
    margin-right: 5%;
}

.cabinet__items-col {
    width: 100%;
}

.cabinet__settings-block-flex label {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    display: flex;
    align-items: center;

    margin-bottom: 12px;
    margin-top: 20px;
}

.cabinet__settings-block-flex .cabinet__input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(90, 185, 234, 0.2);
    border-radius: 8px;
    height: unset;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.cabinet__settings-block-flex .cabinet__input:placeholder {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #96afc0;
}

.cabinet__settings-block-flex .cabinet__button {
    font-weight: 700;
    font-size: 15px;
    line-height: 19px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #55b2fd;
    background: rgba(85, 178, 253, 0.10);
    border: 1px solid rgba(85, 178, 253, 0.28);
    border-radius: 8px;
    width: unset;
    padding: 8px 20px;
    margin: auto;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.cabinet__settings-block-flex .cabinet__button:hover {
    background: rgba(85, 178, 253, 0.22);
    border-color: rgba(85, 178, 253, 0.65);
    color: #fff;
    box-shadow: 0 0 16px rgba(85, 178, 253, 0.35), 0 4px 12px rgba(85, 178, 253, 0.20);
    transform: translateY(-2px);
}
.cabinet__settings-block-flex .cabinet__button:active {
    background: rgba(85, 178, 253, 0.30);
    border-color: rgba(85, 178, 253, 0.80);
    color: #fff;
    box-shadow: 0 0 8px rgba(85, 178, 253, 0.20);
    transform: translateY(0);
}

.cabinet__settings-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: hsla(240, 7%, 12%, 0.90);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 15px;
    margin-bottom: 3%;
}

.cabinet__settings-image {
    background: linear-gradient(135deg, #9AD31F, #5ca300);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    margin-left: 15px;
    position: relative;
}

.cabinet__settings-image:after {
    content: '';
    width: 2px;
    height: 100%;
    background: #F2F2F2;
    position: absolute;
    right: -30px;
}

.cabinet__settings-about {
    padding-left: 15px;
}

.cabinet__settings-about p {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #d5dfea;
}

/* SETTINGS */

/* HISTORY */

.cabinet__history-table {
    background: hsla(240, 7%, 12%, 0.90);
    padding: 15px;
    margin-bottom: 100px;
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    width: 100%;
    color: #d5dfea;
}

.cabinet__history-table td,
.cabinet__history-table th {
    padding: 0.45rem;
    vertical-align: top;
    border: none;
    text-align: center;
}

.cabinet__history-table thead th,
.cabinet__history-table thead td {
    vertical-align: bottom;
    font-weight: 600;
}

.cabinet__history-table tbody {
    border-top: unset !important;
}

.cabinet__history-table>tbody>tr>td {
    padding: 15px 0;
}

.cabinet__history-table>tbody>tr:nth-of-type(odd)>* {
    box-shadow: 0px 4px 15px rgba(166, 166, 166, 0.1);
}

.cabinet__history-empty {
    text-align: center;
    background: #6495ed;
    color: #fff;
    padding: 20px;
    border-radius: 2px;
    margin-bottom: 10px;
    width: 100%;
}

/* HISTORY FILTER */
.cabinet__history-filter {
    margin-bottom: 12px;
}
.cabinet__history-filter__select {
    background-color: #1e1f28;
    color: #d5dfea;
    border: 1px solid rgba(90,185,234,0.45);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    min-width: 160px;
    transition: border-color 0.2s;
}
.cabinet__history-filter__select:hover,
.cabinet__history-filter__select:focus {
    border-color: rgba(90,185,234,0.55);
}
.cabinet__history-filter__select option {
    background: #1c2338;
    color: #d5dfea;
}
/* HISTORY */

/* SHOP */

/* Строка серверов */
.cabinet__shop-server-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* JS-хуки магазина: container-items и .row (не переименовывать!) */
.container-items {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.container-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.cabinet__shop-welcome {
    background: hsla(240, 7%, 12%, 0.90);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 30px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.cabinet__shop-welcome-ref {
    background: hsla(240, 7%, 12%, 0.90);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 30px 30px;
    display: flex;
    align-items: center;

    width: 100%;
}

.cabinet__shop-welcome-1 {
    width: 75%;
}

.cabinet__shop-welcome-1 h2 {
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
}

.cabinet__shop-welcome-1 p {
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;

    margin-bottom: 25px;
    width: 762px !important;
}

.cabinet__shop-welcome-2 {
    display: flex;
    width: 25%;
    justify-content: center;
    align-items: center;
}

.cabinet__shop-welcome-buttons a {
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 12px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.cabinet__shop-welcome-buttons a:first-child {
    background: rgba(154, 211, 31, 0.10);
    border: 1px solid rgba(154, 211, 31, 0.28);
    color: #9AD31F;
    margin-right: 10px;
}
.cabinet__shop-welcome-buttons a:first-child:hover {
    background: rgba(154, 211, 31, 0.22);
    border-color: rgba(154, 211, 31, 0.65);
    color: #fff;
    box-shadow: 0 0 16px rgba(154, 211, 31, 0.35), 0 4px 12px rgba(154, 211, 31, 0.20);
    transform: translateY(-2px);
    text-decoration: none;
}
.cabinet__shop-welcome-buttons a:first-child:active {
    background: rgba(154, 211, 31, 0.30);
    border-color: rgba(154, 211, 31, 0.80);
    color: #fff;
    box-shadow: 0 0 8px rgba(154, 211, 31, 0.20);
    transform: translateY(0);
}

.cabinet__shop-welcome-buttons a:last-child {
    background: rgba(255, 151, 111, 0.10);
    border: 1px solid rgba(255, 151, 111, 0.28);
    color: #FF976F;
}
.cabinet__shop-welcome-buttons a:last-child:hover {
    background: rgba(255, 151, 111, 0.22);
    border-color: rgba(255, 151, 111, 0.65);
    color: #fff;
    box-shadow: 0 0 16px rgba(255, 151, 111, 0.35), 0 4px 12px rgba(255, 151, 111, 0.20);
    transform: translateY(-2px);
    text-decoration: none;
}
.cabinet__shop-welcome-buttons a:last-child:active {
    background: rgba(255, 151, 111, 0.30);
    border-color: rgba(255, 151, 111, 0.80);
    color: #fff;
    box-shadow: 0 0 8px rgba(255, 151, 111, 0.20);
    transform: translateY(0);
}

.cabinet__shop-header {
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    color: #6cdaee;
    text-align: center;
    margin-top: 35px;
    margin-bottom: 30px;
    width: 100%;
}

.cabinet__shop-header-text {
    background: hsla(240, 7%, 12%, 0.90);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 10px;
}

.cabinet__server-card-float--1 {
    width: 20%;
    position: absolute;
    left: 5px;
    top: 5px;
}
.cabinet__server-card-float--2 {
    width: 20%;
    position: absolute;
    right: 5px;
    bottom: 5px;
}

.cabinet__prefix .cabinet__prefix-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(90, 185, 234, 0.2);
    border-radius: 8px;
    padding: 9px 24px;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    color: #96afc0;
    cursor: pointer;
    margin-top: 0.7%;
    margin-bottom: 0.7%;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cabinet__prefix .cabinet__prefix-btn:hover {
    background: rgba(90, 185, 234, 0.10);
    border-color: rgba(90, 185, 234, 0.38);
    color: #fff;
}

.cabinet__prefix .cabinet__prefix-btn:last-child {
    margin-left: 20px;
}

.cabinet__shop-modal p {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #96afc0;
}


.cabinet__shop-modal img {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    display: block;
    margin-bottom: 20px;
}

.cabinet__mb {
    margin-bottom: 15px;
}

/* === BALANCE BLOCK === */
.cabinet__balance-block {
    display: flex;
    flex-direction: column;
    width: 20%;
    margin-bottom: 2%;
    margin-left: 1%;
    margin-right: 1%;
}

.cabinet__balance-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.cabinet__balance-item .cabinet__balance,
.cabinet__balance-item .cabinet__button {
    width: 100%;
    justify-content: center;
    margin-bottom: 5%;
}

/* === USER TABLE === */
.cabinet__user-table-block {
    width: 40%;
    margin-bottom: 2%;
    margin-left: 1%;
    margin-right: 1%;
}

/* SHOP */

@media screen and (max-width: 1100px) {

    .cabinet__home-top {
        flex-wrap: wrap;
    }

    .cabinet__avatar {
        width: 200px;
        margin-right: 2%;
    }

    .cabinet__balance-block {
        width: 100%;
        margin-top: 2%;
    }

    .cabinet__home-bot {
        width: 100%;
    }

    .cabinet__referral-table-wrap {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .cabinet__user-table-block {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .cabinet__balance-block {
        width: 100%;
    }

    .cabinet__balance-item .cabinet__balance,
    .cabinet__balance-item .cabinet__button {
        margin-bottom: 2%;
    }

    .cabinet__settings.active {
        flex-direction: column;
    }

    .cabinet__settings-block:first-child,
    .cabinet__settings-block:last-child {
        width: 100%;
        margin-bottom: 2%;
    }

    .cabinet__settings-top {
        margin-bottom: 2%;
    }

    .cabinet__settings-block-flex:first-child {
        width: 55%;
    }

    .cabinet__settings-block-flex:last-child {
        width: 40%;
    }

    .cabinet__privileges-list .cabinet__donat-item {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 1%;
    }

    .cabinet__history-table thead td {
        font-size: 14px;
    }

    .cabinet__history-table td,
    .cabinet__history-table th {
        font-size: 13px;
    }

}

@media screen and (max-width: 910px) {

    .cabinet__table-fix {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cabinet__home-bot {
        width: 100%;
    }

    .cabinet__referral-table-wrap {
        width: 100%;
    }
    .cabinet__user-table-block {
        width: 100%;
    }

    .cabinet__balance-block {
        width: 100%;
    }

    .cabinet__shop-welcome-1 h2 {
        font-size: 22px;
    }

    .cabinet__shop-welcome-1 p {
        font-size: 13px;
    }

    .cabinet__shop-welcome-1 {
        width: 80%;
    }

    .cabinet__shop-welcome-2 {
        width: 20%;
    }


}

@media screen and (max-width: 768px) {

    .cabinet__settings-top {
        flex-direction: column;
        margin-bottom: 2%;
    }

    .cabinet__home-bot {
        width: 100%;
    }

    .cabinet__referral-table-wrap {
        width: 100%;
    }
    .cabinet__user-table-block {
        width: 100%;
    }

    .cabinet__balance-block {
        width: 100%;
    }

    .cabinet__settings-bot {
        flex-direction: column;
    }

    .cabinet__settings-block-flex:first-child {
        width: 100%;
        margin-bottom: 2%;
    }

    .cabinet__settings-block-flex:last-child {
        width: 100%;
    }


}


@media screen and (max-width: 675px) {
    .cabinet__home-bot {
        width: 100%;
    }

    .cabinet__referral-table-wrap {
        width: 100%;
    }
    .cabinet__user-table-block {
        width: 100%;
    }

    .cabinet__balance-block {
        width: 100%;
    }

    .cabinet__avatar-btn {
        font-size: 12px;
        line-height: 14px;
        padding: 10px 15px;
    }

    .cabinet__home-bot {
        flex-direction: column;
    }

    .cabinet__shop-welcome {
        flex-direction: column-reverse;
    }

    .cabinet__shop-welcome-1,
    .cabinet__shop-welcome-2 {
        width: 100%;
    }

    .cabinet__shop-welcome-buttons {
        display: flex;
        align-items: center;
    }

    .cabinet__shop-welcome-buttons a {
        width: 49%;
        display: block;
        text-align: center;
    }

}

@media screen and (max-width: 565px) {

    .cabinet__block-container-2 {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cabinet__block-2 {
        width: 100%;
    }

    .cabinet__home-bot {
        width: 100%;
    }

    .cabinet__referral-table-wrap {
        width: 100%;
    }
    .cabinet__user-table-block {
        width: 100%;
    }

    .cabinet__balance-block {
        width: 100%;
    }

    .cabinet__avatar {
        width: 100%;
        margin-right: unset;
    }

    .cabinet__avatar-btn {
        width: 70%;
    }

    .cabinet__avatar-ava {
        width: 120px;
        height: 100px;
        margin-bottom: 25px;
    }

    .cabinet__avatar-nick {
        margin-bottom: 20px;
    }

    .cabinet__settings-about p {
        font-size: 13px;
    }

    .cabinet__settings-top {
        flex-direction: column;
    }

    .cabinet__settings-image:after {
        width: 100%;
        height: 2px;
        bottom: -10px;
        right: unset;
    }

    .cabinet__settings-image {
        width: 80px;
        height: 80px;
        padding: 20px;
        margin-right: unset;
        margin-left: unset;
        margin-bottom: 15px;
    }

    .cabinet__settings-image img {
        width: 100%;
    }

}

@media screen and (max-width: 470px) {

    .cabinet__referral-table-inner {
        padding: 25px 20px;
    }

    .cabinet__user-table {
        padding: 25px 20px;
    }

    .cabinet__balance-value {
        font-size: 18px;
    }

    .cabinet__balance-desc {
        font-size: 11px;
    }

    .cabinet__action-btn {
        font-size: 13px;
    }

    .cabinet__balance-icon {
        margin-right: 11px;
        padding: 12px 10px;
    }

    .cabinet__balance-refresh {
        right: 7px;
        top: 4px;
    }

    .cabinet__balance-refresh i {
        font-size: 12px;
    }

    .cabinet__shop-welcome-1 h2 {
        font-size: 20px;
        text-align: center;
    }

    .cabinet__shop-welcome-1 p {
        font-size: 12px;
    }

    .cabinet__shop-welcome-buttons a {
        padding: 8px 0;
    }

    .cabinet__prefix .cabinet__prefix-btn {
        width: 49%;
        font-size: 12px;
        padding: 9px 0;
    }

    .cabinet__prefix .cabinet__prefix-btn:last-child {
        margin-left: unset;
    }

    .cabinet__prefix {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .cabinet__shop-welcome {
        padding: 25px 15px;
    }

    .cabinet__privileges-list .cabinet__donat-item {
        margin-bottom: 2%;
    }

    /* JS-хук */
    .server-block {
        min-height: 100px;
    }

    .cabinet__shop-welcome-2 img {
        width: 30%;
    }

    .cabinet__shop-modal p {
        font-size: 12px;
    }

    .cabinet__shop-modal img {
        width: 100%;
    }

}

@media screen and (max-width: 370px) {

    .cabinet__referral-table-inner tbody * {
        font-size: 11px;
    }

    .cabinet__user-table tbody * {
        font-size: 11px;
    }

    .cabinet__prefix {
        flex-direction: column;
    }

    .cabinet__prefix .cabinet__prefix-btn {
        width: 100%;
        margin-bottom: 2%;
        font-size: 14px;
    }

    .cabinet__shop-welcome-buttons {
        flex-direction: column;
    }

    .cabinet__shop-welcome-buttons a {
        width: 100%;
        margin-bottom: 2%
    }

    .cabinet__shop-welcome-buttons a:first-child {
        margin-right: unset;
    }

}

@media screen and (max-width: 355px) {

    .cabinet__balance-item {
        flex-direction: column;
    }

    .cabinet__balance-item .cabinet__balance,
    .cabinet__balance-item .cabinet__button {
        width: 100%;
    }

}

/* === Referral page styles === */

/* Карточка статистики — привлечено игроков */
.cabinet__referral-gradient-card {
    background: hsla(240, 7%, 14%, 0.92);
    border: 1px solid rgba(85, 178, 253, 0.30);
    border-radius: 12px;
    color: #d5dfea;
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cabinet__referral-gradient-card:hover {
    transform: translateY(-3px);
    border-color: rgba(85, 178, 253, 0.55);
    box-shadow: 0 0 20px rgba(85, 178, 253, 0.18), 0px 4px 12px rgb(200 196 196 / 20%);
}

/* Карточка статистики — заработано */
.cabinet__referral-stats-card {
    background: hsla(240, 7%, 14%, 0.92);
    border: 1px solid rgba(154, 211, 31, 0.30);
    border-radius: 12px;
    color: #d5dfea;
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cabinet__referral-stats-card:hover {
    transform: translateY(-3px);
    border-color: rgba(154, 211, 31, 0.55);
    box-shadow: 0 0 20px rgba(154, 211, 31, 0.18), 0px 4px 12px rgb(200 196 196 / 20%);
}

/* Иконка внутри карточки */
.cabinet__referral-gradient-card .cabinet__block-container-2 > div {
    background: rgba(85, 178, 253, 0.12) !important;
    border: 1px solid rgba(85, 178, 253, 0.28);
    border-radius: 10px;
    color: #55b2fd;
}

.cabinet__referral-stats-card .cabinet__block-container-2 > div {
    background: rgba(154, 211, 31, 0.10) !important;
    border: 1px solid rgba(154, 211, 31, 0.28);
    border-radius: 10px;
    color: #9AD31F;
}

.cabinet__referral-gradient-card svg,
.cabinet__referral-stats-card svg {
    color: inherit;
}

/* Значение статистики */
.cabinet__referral-gradient-card .cabinet__referral-value {
    color: #55b2fd !important;
}

.cabinet__referral-stats-card .cabinet__referral-value {
    color: #9AD31F !important;
}

.cabinet__referral-gradient-card .cabinet__referral-desc,
.cabinet__referral-stats-card .cabinet__referral-desc {
    color: #96afc0 !important;
}

.cabinet__referral-gradient-card small,
.cabinet__referral-stats-card small {
    color: #7395ae !important;
}

/* Поле реферальной ссылки */
.cabinet__referral-link-input {
    background: hsla(240, 7%, 10%, 0.95) !important;
    border: 1px solid rgba(90, 185, 234, 0.28) !important;
    border-radius: 8px 0 0 8px !important;
    color: #d5dfea !important;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cabinet__referral-link-input:focus {
    border-color: rgba(85, 178, 253, 0.60) !important;
    box-shadow: 0 0 0 3px rgba(85, 178, 253, 0.12) !important;
}

/* Кнопка копировать */
.cabinet__referral-copy-btn {
    background: rgba(85, 178, 253, 0.10);
    border: 1px solid rgba(85, 178, 253, 0.28);
    color: #55b2fd;
    padding: 5px 20px;
    border-radius: 0 8px 8px 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.cabinet__referral-copy-btn:hover {
    background: rgba(85, 178, 253, 0.22);
    border-color: rgba(85, 178, 253, 0.65);
    color: #fff;
    box-shadow: 0 0 12px rgba(85, 178, 253, 0.30);
    transform: translateY(-1px);
}
.cabinet__referral-copy-btn:active {
    background: rgba(85, 178, 253, 0.30);
    border-color: rgba(85, 178, 253, 0.80);
    color: #fff;
    transform: translateY(0);
}

/* Заголовок таблицы */
.cabinet__referral-table-header {
    background: hsla(240, 7%, 12%, 0.90);
    color: #d5dfea;
}

.cabinet__referral-table-header th {
    font-weight: 500;
    font-size: 14px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(90, 185, 234, 0.15);
}

/* Таблица — фиксированные ширины колонок (исправляет растяжение имени) */
.cabinet__referral-table-wrap .cabinet__referral-table-inner {
    table-layout: fixed;
    width: 100%;
}

.cabinet__referral-table-wrap .cabinet__referral-table-inner th,
.cabinet__referral-table-wrap .cabinet__referral-table-inner td {
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cabinet__referral-table-wrap .cabinet__referral-table-inner th:nth-child(1),
.cabinet__referral-table-wrap .cabinet__referral-table-inner td:nth-child(1) { width: 40%; text-align: left; }

.cabinet__referral-table-wrap .cabinet__referral-table-inner th:nth-child(2),
.cabinet__referral-table-wrap .cabinet__referral-table-inner td:nth-child(2) { width: 40%; text-align: left; }

.cabinet__referral-table-wrap .cabinet__referral-table-inner th:nth-child(3),
.cabinet__referral-table-wrap .cabinet__referral-table-inner td:nth-child(3) { width: 40%; text-align: left; }

.cabinet__referral-table-wrap .cabinet__referral-table-inner th:nth-child(4),
.cabinet__referral-table-wrap .cabinet__referral-table-inner td:nth-child(4) { width: 40%; text-align: left; }


/* Пустое состояние */
.cabinet__referral-empty-state {
    padding: 3rem 1rem;
    text-align: center;
    background: hsla(240, 7%, 12%, 0.88);
    border-radius: 12px;
    border: 2px dashed rgba(90, 185, 234, 0.18);
    color: #7395ae;
}

.cabinet__referral-empty-state h4 {
    color: #96afc0 !important;
}

.cabinet__referral-empty-state p {
    color: #7395ae;
}

/* Информационные карточки (Как это работает / Советы) */
.cabinet__referral-info-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: hsla(240, 7%, 13%, 0.92);
    border: 1px solid rgba(90, 185, 234, 0.14) !important;
    border-radius: 12px;
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cabinet__referral-info-card:hover {
    transform: translateY(-2px);
    border-color: rgba(90, 185, 234, 0.30) !important;
    box-shadow: 0 0 16px rgba(90, 185, 234, 0.12), 0px 4px 12px rgb(200 196 196 / 20%);
}

.cabinet__referral-card-body {
    flex: 1 1 auto;
    padding: 1.5rem;
    background: transparent;
    color: #d5dfea;
}

.cabinet__referral-info-card h5 {
    color: #b3d4fc;
}

.cabinet__referral-card-body ol,
.cabinet__referral-card-body ul {
    padding-left: 1rem;
    margin-bottom: 0;
    color: #96afc0;
}

/* Иконка-обёртка в карточке */
.cabinet__referral-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1rem;
}

.cabinet__referral-icon-wrapper--info {
    background: rgba(85, 178, 253, 0.15) !important;
    border: 1px solid rgba(85, 178, 253, 0.30);
}

.cabinet__referral-icon-wrapper--success {
    background: rgba(154, 211, 31, 0.12) !important;
    border: 1px solid rgba(154, 211, 31, 0.28);
}

.cabinet__referral-icon-wrapper svg {
    color: inherit;
}

/* Описание программы (alert) */
.cabinet__referral-alert-gradient {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: hsla(240, 7%, 14%, 0.92);
    border: 1px solid rgba(85, 178, 253, 0.22) !important;
    color: #d5dfea;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(85, 178, 253, 0.08);
}

.cabinet__referral-alert-gradient strong {
    color: #b3d4fc;
}

/* Alert row */
.cabinet__referral-alert-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;
}
.cabinet__referral-alert-row svg {
    margin-right: 0.5rem;
}
.cabinet__referral-alert-gradient p {
    margin-bottom: 0.5rem;
    width: 100%;
}

/* Input group для реферальной ссылки */
.cabinet__referral-input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.cabinet__referral-input-group .cabinet__input {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    margin-bottom: 0;
}
.cabinet__referral-copy-wrap {
    display: flex;
    margin-left: -1px;
}

/* Лейбл над ссылкой */
.cabinet__opp-item label {
    display: block;
    margin-bottom: 0.5rem;
}

/* Подсказка под ссылкой */
.cabinet__referral-hint {
    display: block;
    color: #7395ae;
    margin-top: 0.25rem;
}

/* Блок статистики */
.cabinet__referral-stats-wrap {
    margin-bottom: 1.5rem;
}

/* Заголовок таблицы рефералов */
.cabinet__referral-table-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.cabinet__referral-table-title .cabinet__h1 {
    margin-bottom: 0;
}
.cabinet__referral-table-title .cabinet__h1 i {
    margin-right: 0.5rem;
}

/* Имя игрока в таблице */
.cabinet__referral-table-name {
    display: flex;
    align-items: center;
}

/* Бейдж (база) */
.cabinet__referral-badge {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
}

/* Кнопка пустого состояния */
.cabinet__referral-empty-action {
    margin-top: 1rem;
}

/* Строка с info-карточками */
.cabinet__referral-info-row {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
    margin-right: -15px;
    margin-left: -15px;
    margin-top: 1.5rem;
}
.cabinet__referral-info-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .cabinet__referral-info-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Заголовок внутри карточки */
.cabinet__referral-card-heading {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.cabinet__referral-card-heading h5 {
    margin-bottom: 0;
}

/* Бейджи статусов */
.cabinet__referral-badge-success {
    background: rgba(154, 211, 31, 0.15);
    color: #9AD31F;
    border: 1px solid rgba(154, 211, 31, 0.35);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
}

.cabinet__referral-badge-warning {
    background: rgba(255, 151, 111, 0.12);
    color: #FF976F;
    border: 1px solid rgba(255, 151, 111, 0.30);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
}

.cabinet__referral-badge-light {
    background: rgba(115, 149, 174, 0.12);
    color: #7395ae;
    border: 1px solid rgba(115, 149, 174, 0.25);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
}

/* badge для счётчика рефералов */
.cabinet__referral-badge--primary {
    background: rgba(85, 178, 253, 0.15);
    color: #55b2fd;
    border: 1px solid rgba(85, 178, 253, 0.30);
    border-radius: 6px;
    font-weight: 600;
}

/* Анимация появления */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cabinet__referral-fade-in {
    animation: fadeInUp 0.4s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cabinet__referral-gradient-card,
    .cabinet__referral-stats-card {
        margin-bottom: 1rem;
    }

    .cabinet__referral-copy-btn {
        border-radius: 0 0 8px 8px;
        width: 100%;
        margin-top: 5px;
    }

    .cabinet__referral-link-input {
        border-radius: 8px 8px 0 0 !important;
    }

    .cabinet__referral-table-wrap .cabinet__referral-table-inner th:nth-child(1),
    .cabinet__referral-table-wrap .cabinet__referral-table-inner td:nth-child(1) { width: 35%; }

    .cabinet__referral-table-wrap .cabinet__referral-table-inner th:nth-child(2),
    .cabinet__referral-table-wrap .cabinet__referral-table-inner td:nth-child(2) { width: 30%; }
}

@media screen and (max-width: 480px) {

    /* Скрыть колонку "Дата регистрации" */
    .cabinet__referral-table-wrap .cabinet__referral-table-inner th:nth-child(2),
    .cabinet__referral-table-wrap .cabinet__referral-table-inner td:nth-child(2) {
        display: none;
    }

    /* Перераспределить оставшиеся 3 колонки */
    .cabinet__referral-table-wrap .cabinet__referral-table-inner th:nth-child(1),
    .cabinet__referral-table-wrap .cabinet__referral-table-inner td:nth-child(1) { width: 40%; }

    .cabinet__referral-table-wrap .cabinet__referral-table-inner th:nth-child(3),
    .cabinet__referral-table-wrap .cabinet__referral-table-inner td:nth-child(3) { width: 25%; }

    .cabinet__referral-table-wrap .cabinet__referral-table-inner th:nth-child(4),
    .cabinet__referral-table-wrap .cabinet__referral-table-inner td:nth-child(4) { width: 35%; }

    /* Уменьшить отступы таблицы */
    .cabinet__referral-table-inner {
        padding: 15px;
    }

    /* Уменьшить отступы ячеек */
    .cabinet__referral-table-wrap .cabinet__referral-table-inner th,
    .cabinet__referral-table-wrap .cabinet__referral-table-inner td {
        padding: 6px 4px;
    }

    .cabinet__referral-table-header th {
        padding: 8px 4px;
    }

}

/* === BASKET === */
.cabinet__basket-table {
    width: 100%;
    margin-bottom: 1rem;
    color: #d5dfea;
}
.cabinet__basket-table td,
.cabinet__basket-table th {
    padding: 0.45rem;
    vertical-align: top;
    border: none;
}
.cabinet__basket-table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid rgba(90, 185, 234, 0.15);
}
.cabinet__basket-table tbody + tbody {
    border-top: 2px solid rgba(90, 185, 234, 0.15);
}
.cabinet__basket-table th {
    text-align: right;
}
.cabinet__basket-table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.56);
}

.cabinet__basket-img {
    width: 50px;
    margin-right: 5px;
}

.cabinet__basket-empty {
    text-align: center;
    background: #6495ed;
    color: #fff;
    padding: 20px;
    border-radius: 2px;
    margin-bottom: 10px;
    width: 100%;
}

/* === GIFT CODES TABLE === */
.cabinet__gift-codes-table {
    width: 100%;
    margin-bottom: 1rem;
    color: #d5dfea;
}
.cabinet__gift-codes-table td,
.cabinet__gift-codes-table th {
    padding: 0.45rem;
    vertical-align: top;
    border: none;
}
.cabinet__gift-codes-table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}
.cabinet__gift-codes-table tbody + tbody {
    border-top: 2px solid #dee2e6;
}
.cabinet__gift-codes-table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.56);
}

@media screen and (max-width: 600px) {
  .cabinet__gift-codes-table { border: 0; }
  .cabinet__gift-codes-table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .cabinet__gift-codes-table tr {
    border: 1px solid rgba(90, 185, 234, 0.25);
    border-radius: 6px;
    display: block;
    margin-bottom: .625em;
  }
  .cabinet__gift-codes-table td {
    border-bottom: 1px solid rgba(90, 185, 234, 0.15);
    display: block;
    font-size: .8em;
    text-align: right;
  }
  .cabinet__gift-codes-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    color: #5ab9ea;
  }
  .cabinet__gift-codes-table td:last-child { border-bottom: 0; }

  .cabinet__history-table { border: 0; }
  .cabinet__history-table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .cabinet__history-table tr {
    border: 1px solid rgba(90, 185, 234, 0.25);
    border-radius: 6px;
    display: block;
    margin-bottom: .625em;
  }
  .cabinet__history-table td {
    border-bottom: 1px solid rgba(90, 185, 234, 0.15);
    display: block;
    font-size: .8em;
    text-align: right;
    width: 100% !important;
    box-sizing: border-box;
  }
  .cabinet__history-table>tbody>tr>td {
    padding: 6px 8px;
  }
  .cabinet__history-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    color: #5ab9ea;
    text-transform: uppercase;
  }
  .cabinet__history-table td:last-child { border-bottom: 0; }
  .cabinet__table-fix { overflow-x: unset; }
}

/* === NOTIFICATION === */
.cabinet__notifications-list {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 350px;
    z-index: 9999;
}

/* === AVATAR === */
.cabinet__avatar {
    width: 19%;
    margin-bottom: 2%;
    margin-left: 1%;
    margin-right: 1%;
    background: hsla(240, 7%, 12%, 0.88);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.cabinet__avatar-btn {
    background: rgba(154,211,31,0.10);
    border: 1px solid rgba(154,211,31,0.28);
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    color: #9AD31F;
    width: unset;
    padding: 10px 13px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.cabinet__avatar-btn:hover {
    background: rgba(154, 211, 31, 0.22);
    border-color: rgba(154, 211, 31, 0.65);
    color: #fff;
    box-shadow: 0 0 16px rgba(154, 211, 31, 0.35), 0 4px 12px rgba(154, 211, 31, 0.20);
    transform: translateY(-2px);
}
.cabinet__avatar-btn:active {
    background: rgba(154, 211, 31, 0.30);
    border-color: rgba(154, 211, 31, 0.80);
    color: #fff;
    box-shadow: 0 0 8px rgba(154, 211, 31, 0.20);
    transform: translateY(0);
}

.cabinet__avatar-bottom {
    background: hsla(240, 7%, 12%, 0.88);
    border-radius: 0px 0px 10px 10px;
    padding: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabinet__avatar-nick a {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: #d5dfea;
}

.cabinet__hex img {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    filter: drop-shadow(0px 0px 2px #0000001f);
}

.cabinet__hex {
    position: absolute;
    bottom: -18px;
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cabinet__hex-act {
    width: 100%;
    height: 100%;
    display: block;
}

.cabinet__notif-1:after,
.cabinet__notif-2:before {
    border: 5px solid #9CD61F;
}

.cabinet__avatar-ava {
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, #8A90FF 0%, #7C82E9 100%);
    box-shadow: 1px -1px 2px rgb(118 123 220 / 20%), -1px 1px 2px rgb(118 123 220 / 20%), 1px 1px 2px rgb(144 151 255 / 90%), -1px -1px 3px rgb(118 123 220 / 90%), inset -1px -1px 2px rgb(144 151 255 / 30%), inset 1px 1px 2px rgb(118 123 220 / 50%);
    border-radius: 50%;
    margin-top: 30px;
    width: 60%;
    height: 42%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabinet__avatar-ava .cabinet__avka {
    width: 70%;
    height: 70%;
    position: relative;
    display: flex;
    justify-content: center;
}

.cabinet__avatar-ava .cabinet__avka:after {
    content: '';
    width: 90%;
    height: 4px;
    border-radius: 50%;
    display: block;
    position: absolute;
    bottom: -8px;
    background: #0000001f;
    box-shadow: 1px -1px 2px rgb(118 123 220 / 20%), -1px 1px 2px rgb(118 123 220 / 20%), 1px 1px 2px rgb(144 151 255 / 90%), -1px -1px 3px rgb(118 123 220 / 90%), inset -1px -1px 2px rgb(144 151 255 / 30%), inset 1px 1px 2px rgb(118 123 220 / 50%);
}

.cabinet__avatar-ava img {
    aspect-ratio: 1 / 1;
}

.cabinet__avatar-ava:after {
    content: '';
    width: 115%;
    height: 125%;
    position: absolute;
    top: -13px;
    left: -13px;
    border: 5px solid #c9c9c9;
    border-radius: 50%;
    clip: rect(0px, 68px, 75px, 0px);
    filter: drop-shadow(2px 2px 1px #0000001f);
    pointer-events: none;
}

.cabinet__avatar-ava:before {
    content: '';
    width: 115%;
    height: 125%;
    position: absolute;
    top: -13px;
    right: -13px;
    border: 5px solid #c9c9c9;
    border-radius: 50%;
    clip: rect(0px, 175px, 75px, 73px);
    filter: drop-shadow(-2px 2px 1px #0000001f);
    pointer-events: none;
}

.cabinet__user-table {
    background: hsla(240, 7%, 12%, 0.90);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 30px 30px;
    display: block;
    margin-bottom: 0;
    width: 100%;
    color: #d5dfea;
}

.cabinet__user-table tbody * {
    background: unset;
    --bs-table-accent-bg: unset !important;
}

.cabinet__user-table tbody th {
    font-weight: 500;
    white-space: nowrap;
}

.cabinet__user-table tbody td {
    width: 100%;
    font-weight: 400;
}

.cabinet__user-table td,
.cabinet__user-table th {
    padding: 0.45rem;
    vertical-align: top;
    border: none;
}

.cabinet__user-table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.56);
}

.cabinet__user-table th {
    text-align: right;
}

.cabinet__reveds {
    display: block;
    background: hsla(240, 7%, 12%, 0.88);
    box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
    border-radius: 7px;
    padding: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.cabinet__server-block-ban {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 150px;
    position: relative;
    margin: 6px;
    padding: 20px;
    color: #d5dfea;
    background: hsla(240, 7%, 12%, 0.80);
    border: 1px solid #5ab9ea;
    border-radius: 5.03472px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* ── Форма сервера: checkbox-строка ── */
.cabinet__form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cabinet__form-check-label {
    margin: 0;
}

/* ── Кнопка — опасное действие ── */
.cabinet__button--danger {
    border-color: rgba(224, 85, 85, 0.55);
    color: #e05555;
}
.cabinet__button--danger:hover {
    background: rgba(224, 85, 85, 0.18);
    border-color: rgba(224, 85, 85, 0.70);
    color: #ff7070;
    box-shadow: 0 0 16px rgba(224, 85, 85, 0.30), 0 4px 12px rgba(224, 85, 85, 0.15);
}
.cabinet__button--danger:active {
    background: rgba(224, 85, 85, 0.28);
    border-color: rgba(224, 85, 85, 0.85);
    color: #ff7070;
    box-shadow: 0 0 8px rgba(224, 85, 85, 0.20);
}

/* ── Управление серверами: список ── */
.cabinet__manage-server-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(85, 178, 253, 0.15);
    gap: 10px;
}
.cabinet__manage-server-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}
.cabinet__manage-server-actions .cabinet__button {
    flex: 1;
}
.cabinet__manage-server-info {
    text-align: center;
}
.cabinet__manage-server-name {
    color: #d5dfea;
}
.cabinet__manage-server-desc {
    color: #96afc0;
}

/* ── Кнопки управления сервером ── */
.cabinet__button--warning { border-color: rgba(253,178,85,0.55); color: #fdb255; }
.cabinet__button--warning:hover { background: rgba(253,178,85,0.18); border-color: rgba(253,178,85,0.70); color: #ffca7a; box-shadow: 0 0 16px rgba(253,178,85,0.30), 0 4px 12px rgba(253,178,85,0.15); }
.cabinet__button--warning:active { background: rgba(253,178,85,0.28); border-color: rgba(253,178,85,0.85); color: #ffca7a; }
.cabinet__button--success { border-color: rgba(85,200,100,0.55); color: #55c864; }
.cabinet__button--success:hover { background: rgba(85,200,100,0.18); border-color: rgba(85,200,100,0.70); color: #7add88; box-shadow: 0 0 16px rgba(85,200,100,0.30), 0 4px 12px rgba(85,200,100,0.15); }
.cabinet__button--success:active { background: rgba(85,200,100,0.28); border-color: rgba(85,200,100,0.85); color: #7add88; }
.cabinet__server-badge { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; vertical-align: middle; }
.cabinet__server-badge--disabled { background: rgba(224,85,85,0.20); color: #e05555; border: 1px solid rgba(224,85,85,0.40); }

/* ── Привилегии не добавлены ── */
.cabinet__no-privileges {
    width: 100%;
    margin: 24px auto;
    padding: 24px 16px;
    background: hsla(240, 7%, 16%, 0.95);
    border-radius: 8px;
    text-align: center;
    color: #96afc0;
    font-size: 14px;
}