/*
* @LitePanel
* @Developed by mzhidkoff
* @Github: https://github.com/mzhidkoff
*/

html {
  position: relative;
  min-height: 100%;
  height: 100vh;
  /* Резервируем место под скроллбар — убирает горизонтальный дёрг при открытии модалки */
  overflow-y: scroll;
}

body {
  font-family: 'Ubuntu', sans-serif;
  padding-top: 70px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #020617;
  color: #e5e7eb;
}

/* Убирает горизонтальный дёрг при открытии модалки (скроллбар скрывается) */
body.modal-open {
  padding-right: 17px !important;
}
body.modal-open .navbar-fixed-top {
  padding-right: 17px;
}

.navbar {
  font-family: 'Open Sans', sans-serif;
}

.navbar.navbar-default {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  border: none;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
}

.navbar-default .navbar-brand {
  color: #e5e7eb;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #f9fafb;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:focus {
  color: #cbd5f5;
}

.navbar-default .navbar-nav > li > a:hover {
  color: #f9fafb;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
  background-color: transparent;
  color: #f9fafb;
}

/* Header buttons in navbar */

.navbar .navbar-btn {
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 600;
  border-width: 1px;
  border-style: solid;
  margin-left: 6px;
}

.navbar .btn-default.navbar-btn {
  background-color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.85);
  color: #020617;
}

.navbar .btn-default.navbar-btn:hover,
.navbar .btn-default.navbar-btn:focus {
  background-color: #e5e7eb;
  color: #020617;
}

.navbar .btn-success.navbar-btn {
  background-image: linear-gradient(135deg, #06b6d4, #22c55e);
  border-color: rgba(45, 212, 191, 0.9);
  color: #ecfdf5;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.95),
    0 0 22px rgba(16, 185, 129, 0.7);
}

.navbar .btn-success.navbar-btn:hover,
.navbar .btn-success.navbar-btn:focus {
  filter: brightness(1.06);
  color: #ecfdf5;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 0 28px rgba(16, 185, 129, 0.95);
}

/* Burger button (mobile) */

.navbar-default .navbar-toggle {
  border-radius: 999px;
  border-color: rgba(148, 163, 184, 0.6);
  padding: 6px 10px;
  margin-top: 12px;
  background: transparent;
  transition:
    background-color 0.18s ease-out,
    border-color 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #e5e7eb;
  transition: background-color 0.18s ease-out;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 1), 0 0 20px rgba(56, 189, 248, 0.6);
}

.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
  background-color: #22d3ee;
}

#content {
  padding-bottom: 30px;
}

/* Scrollbar — неоновый стиль */

html {
  scrollbar-width: thin;
  scrollbar-color: #22d3ee #020617;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background-image: linear-gradient(180deg, #22d3ee, #0ea5e9);
    box-shadow:
      0 0 0 1px rgba(15, 23, 42, 0.9),
      0 0 14px rgba(56, 189, 248, 0.7);
}

::-webkit-scrollbar-thumb:hover {
    background-image: linear-gradient(180deg, #38bdf8, #22d3ee);
}

/* Custom page footer */

#myFooter{
    padding: 60px 0;
    margin-top: 60px;
    border-top: 3px solid #efefef;
}

#myFooter .container{
    text-align: center;
}

#myFooter .footer-copyright{
    text-align: center;
    color: #777;
}

#myFooter ul{
    list-style-type: none;
    padding: 0;
    margin-bottom: 18px;
}

#myFooter a{
    color: #282b2d;
    font-size: 18px;
}

#myFooter li{
    display: inline-block;
    margin: 0px 15px;
    line-height: 2;
}

/* Neon footer override */

#myFooter{
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    background:
      radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.20), transparent 55%),
      radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.22), transparent 55%),
      #020617;
    box-shadow: 0 -18px 40px rgba(15, 23, 42, 0.95);
}

#myFooter .footeropyright{
    color: #9ca3af;
}

#myFooter a{
    color: #e5e7eb;
    font-size: 16px;
}

#myFooter a:hover,
#myFooter a:focus{
    color: #f9fafb;
    text-decoration: none;
}

.neon-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.neon-footer__brand {
    max-width: 260px;
}

.neon-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.neon-footer__logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    background:
      radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.45), transparent 60%),
      radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.45), transparent 60%);
    color: #020617;
}

.neon-footer__logo-text {
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 13px;
    color: #e5e7eb;
}

.neon-footer__copy {
    margin: 4px 0;
    font-size: 12px;
    color: #9ca3af;
}

.neon-footer__support {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
}

.neon-footer__support a {
    color: #e5e7eb;
}

.neon-footer__support a:hover,
.neon-footer__support a:focus {
    color: #f9fafb;
}

.neon-footer__links {
    display: flex;
    gap: 32px;
}

.neon-footer__column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.neon-footer__column a {
    color: #e5e7eb;
    font-size: 14px;
}

.neon-footer__column a:hover,
.neon-footer__column a:focus {
    color: #f9fafb;
    text-decoration: none;
}

@media (max-width: 767px) {
    .neon-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* New footer layout */

#myFooter{
    padding: 32px 0 40px;
    margin-top: 72px;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    background: #020617;
}

#myFooter a{
    color: #e5e7eb;
    font-size: 14px;
}

#myFooter a:hover,
#myFooter a:focus{
    color: #f9fafb;
    text-decoration: none;
}

.footer-shell{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-shell__top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.footer-shell__brand{
    max-width: 260px;
}

.footer-shell__logo{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.footer-shell__logo-mark{
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    background:
      radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.45), transparent 60%),
      radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.45), transparent 60%);
    color: #020617;
}

.footer-shell__logo-text{
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 13px;
    color: #e5e7eb;
}

.footer-shell__tagline{
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
    text-align: left;
}

.footer-shell__nav{
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    justify-content: flex-end;
}

.footer-shell__nav a{
    font-size: 13px;
}

.footer-shell__bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #9ca3af;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding-top: 10px;
    margin-top: 6px;
}

.footer-shell__support a{
    font-size: 12px;
}

@media (max-width: 767px) {
    .footer-shell__top{
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-shell__nav{
        justify-content: flex-start;
    }

    .footer-shell__bottom{
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Form Signin */

.form-signin {
	max-width: 360px;
	padding: 20px 30px;
	margin: 0 auto;
	background: #fff;
	border-radius: 6px;
}
.form-signin .other-link {
	margin: 15px 0;
	text-align: center;
}
.form-signin .form-signin-heading {
	margin-bottom: 10px;
	text-align: center;
}
.form-signin .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
.form-signin .form-control:focus {
	z-index: 2;
}
.form-signin .captcha {
	padding: 15px;
	text-align: center;
}
.form-signin .form-control {
	margin-bottom: 10px;
}
.form-signin .form-group-vertical {
	margin: 10px 0;
}
.form-signin .form-group-vertical input {
	margin: 0;
}
.form-signin .form-group-vertical input:first-child {
	margin-bottom: -1px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.form-signin .form-group-vertical input:last-child {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
.radio, .checkbox {
	margin-top: 20px;
	margin-bottom: 20px;
}

/* Выравнивание в инпутах и селектах: текст по левому краю, по вертикали по центру */
body .form-control {
	text-align: left;
	background: rgba(15, 23, 42, 0.9);
	border: 1px solid rgba(51, 65, 85, 0.9);
	color: #e5e7eb;
}
body .form-control:focus {
	border-color: rgba(56, 189, 248, 0.7);
	outline: none;
	box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}
body .form-control::placeholder {
	color: #6b7280;
}
input.form-control,
select.form-control,
textarea.form-control {
	display: block;
	min-height: 42px;
	padding: 10px 14px;
	line-height: 1.4;
	vertical-align: middle;
}
textarea.form-control {
	min-height: 80px;
}

/* Кастомный select — глобально (кабинет и админка) */
.custom-select {
	position: relative;
	display: block;
	overflow: visible;
}
.custom-select--inline {
	flex: 0 0 auto;
	width: auto;
	min-width: 100px;
	max-width: 140px;
}
/* sc-input-group — одна строка поле + select (кабинет и админка) */
.sc-input-group {
	display: flex;
	align-items: stretch;
	border-radius: 12px;
	border: 1px solid rgba(51, 65, 85, 0.9);
	background: rgba(15, 23, 42, 0.9);
	overflow: visible;
}
.sc-input-group .form-control {
	flex: 1;
	min-width: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: #e5e7eb;
	padding: 10px 14px;
	font-size: 13px;
}
.sc-input-group .form-control:focus {
	outline: none;
	border-color: transparent;
	box-shadow: none;
}
.sc-input-group .form-control::placeholder { color: #6b7280; }
.sc-input-group select.form-control {
	flex: 0 0 auto;
	width: auto;
	min-width: 100px;
	max-width: 120px;
}
.sc-input-group > *:first-child { border-radius: 12px 0 0 12px; }
.sc-input-group > *:last-child { border-radius: 0 12px 12px 0; }
.sc-input-group > .custom-select:last-child .custom-select__trigger {
	border-radius: 0 12px 12px 0;
}

.input-group .custom-select,
.sc-input-group .custom-select {
	border: none;
	border-radius: 0;
}
.input-group .custom-select .custom-select__trigger,
.sc-input-group .custom-select .custom-select__trigger {
	border-radius: 0;
	border: none;
	border-left: 1px solid rgba(51, 65, 85, 0.9);
}
.input-group-btn .custom-select--inline {
	width: 120px;
	min-width: 100px;
}
.input-group {
	overflow: visible;
}
.custom-select__native {
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
	margin: 0;
	padding: 0;
}
.custom-select__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-height: 42px;
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid rgba(51, 65, 85, 0.9);
	background: rgba(15, 23, 42, 0.9);
	color: #e5e7eb;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.custom-select__trigger .custom-select__text {
	text-align: left;
}
.custom-select--inline .custom-select__trigger {
	min-width: 0;
}
.custom-select__trigger:hover {
	border-color: rgba(71, 85, 105, 0.9);
}
.custom-select__trigger:focus {
	outline: none;
	border-color: rgba(56, 189, 248, 0.7);
	box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}
.custom-select.is-open .custom-select__trigger {
	border-color: rgba(56, 189, 248, 0.7);
}
.custom-select__text {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}
.custom-select__arrow {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	font-size: 10px;
	transition: transform 0.2s;
}
.custom-select.is-open .custom-select__arrow {
	transform: rotate(180deg);
}
.custom-select__dropdown {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: 4px;
	padding: 6px 0;
	border-radius: 12px;
	border: 1px solid rgba(51, 65, 85, 0.9);
	background: rgba(15, 23, 42, 0.98);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
	z-index: 1000;
	max-height: 260px;
	overflow-y: auto;
	display: none;
	min-width: 100%;
	width: max-content;
}
.custom-select.is-open .custom-select__dropdown {
	display: block;
}
.custom-select__option {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: none;
	background: transparent;
	color: #e5e7eb;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
	white-space: nowrap;
	min-width: 100%;
	box-sizing: border-box;
}
.custom-select__option:hover {
	background: rgba(56, 189, 248, 0.15);
}
.custom-select__option.is-selected {
	background: rgba(56, 189, 248, 0.2);
	color: #7dd3fc;
}
.custom-select__option:disabled,
.custom-select__option.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Neon auth modals — структура как у референса, стиль NEOPAY */

.neon-modal {
  text-align: center;
  padding: 0 !important;
}

.neon-modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.neon-modal .modal-dialog.neon-modal__dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
  max-width: 400px;
  width: 90%;
  margin: 0 auto;
}

.neon-modal .modal-content.neon-modal__content {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 211, 238, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(236, 72, 153, 0.15), transparent 50%),
    linear-gradient(180deg, #0a0f1a 0%, #020617 100%);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.12) inset,
    0 24px 56px rgba(0, 0, 0, 0.6),
    0 0 48px rgba(59, 130, 246, 0.35),
    0 0 80px rgba(168, 85, 247, 0.12);
  overflow: visible;
  padding: 0;
}

.neon-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  margin: 0;
  opacity: 1;
  text-shadow: none;
  z-index: 10;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.neon-modal__close:hover,
.neon-modal__close:focus {
  color: #e5e7eb;
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
  outline: none;
}

.neon-modal__form {
  padding: 32px 28px 24px;
}

.neon-modal__head {
  margin-bottom: 24px;
  padding-right: 32px;
}

.neon-modal__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f9fafb;
  line-height: 1.3;
}

.neon-modal__subtitle {
  margin: 0;
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.45;
}

.neon-modal__body {
  margin-bottom: 20px;
}

.neon-modal__field {
  margin-bottom: 18px;
}

.neon-modal__field--captcha {
  margin-bottom: 16px;
}

.neon-modal__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.neon-modal__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.neon-modal__icon {
  position: absolute;
  left: 14px;
  font-size: 14px;
  color: #64748b;
  pointer-events: none;
  z-index: 1;
}

.neon-modal__input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 40px;
  font-size: 15px;
  color: #f1f5f9;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(71, 85, 105, 0.8);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.5);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.neon-modal__input::placeholder {
  color: #64748b;
}

.neon-modal__input:focus {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 0 20px rgba(56, 189, 248, 0.4);
  outline: none;
}

.neon-modal__captcha {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.neon-modal__captcha-img {
  border-radius: 10px;
  border: 1px solid rgba(71, 85, 105, 0.8);
  cursor: pointer;
  display: block;
  transition: box-shadow 0.2s;
}

.neon-modal__captcha-img:hover {
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.neon-modal__input--captcha {
  flex: 1;
  min-width: 120px;
  padding-left: 16px;
}

.neon-modal__btn {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #eef2ff;
  background: linear-gradient(135deg, #06b6d4, #22c55e);
  border: 1px solid rgba(45, 212, 191, 0.7);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.8),
    0 0 24px rgba(34, 197, 94, 0.4);
  transition: filter 0.2s, box-shadow 0.2s;
}

.neon-modal__btn:hover,
.neon-modal__btn:focus {
  color: #eef2ff;
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 0 32px rgba(34, 197, 94, 0.55);
  outline: none;
}

.neon-modal__success {
  margin: 12px 0 0;
  font-size: 13px;
  color: #86efac;
}

.neon-modal__legal {
  margin: 14px 0 0;
  font-size: 11px;
  color: #64748b;
}

.neon-modal__legal .neon-modal__link {
  color: #67e8f9;
}

.neon-modal__footer {
  padding-top: 16px;
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  text-align: center;
}

.neon-modal__footer-text {
  margin: 0 0 6px;
  font-size: 13px;
  color: #94a3b8;
}

.neon-modal__footer-text:last-child {
  margin-bottom: 0;
}

.neon-modal__link {
  color: #38bdf8;
  font-weight: 500;
  transition: color 0.2s;
}

.neon-modal__link:hover,
.neon-modal__link:focus {
  color: #7dd3fc;
  text-decoration: none;
}

/* Backdrop */
.modal-backdrop.in {
  opacity: 0.88;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(15, 23, 42, 0.95), #020617);
}

/* Фикс дёргания страницы по горизонтали при открытии модалки.
   Оставляем вертикальный скроллбар и убираем дополнительный padding-right,
   который добавляет Bootstrap на body и шапку. */
body.modal-open {
  padding-right: 0 !important;
}

body.modal-open .navbar-fixed-top {
  padding-right: 0 !important;
}

@media (max-width: 767px) {
  .neon-modal .modal-dialog {
    width: 94%;
  }
}

/* offset right */
.col-xs-offset-right-12 {
  margin-right: 100%;
}
.col-xs-offset-right-11 {
  margin-right: 91.66666667%;
}
.col-xs-offset-right-10 {
  margin-right: 83.33333333%;
}
.col-xs-offset-right-9 {
  margin-right: 75%;
}
.col-xs-offset-right-8 {
  margin-right: 66.66666667%;
}
.col-xs-offset-right-7 {
  margin-right: 58.33333333%;
}
.col-xs-offset-right-6 {
  margin-right: 50%;
}
.col-xs-offset-right-5 {
  margin-right: 41.66666667%;
}
.col-xs-offset-right-4 {
  margin-right: 33.33333333%;
}
.col-xs-offset-right-3 {
  margin-right: 25%;
}
.col-xs-offset-right-2 {
  margin-right: 16.66666667%;
}
.col-xs-offset-right-1 {
  margin-right: 8.33333333%;
}
.col-xs-offset-right-0 {
  margin-right: 0;
}
@media (min-width: 768px) {
  .col-sm-offset-right-12 {
    margin-right: 100%;
  }
  .col-sm-offset-right-11 {
    margin-right: 91.66666667%;
  }
  .col-sm-offset-right-10 {
    margin-right: 83.33333333%;
  }
  .col-sm-offset-right-9 {
    margin-right: 75%;
  }
  .col-sm-offset-right-8 {
    margin-right: 66.66666667%;
  }
  .col-sm-offset-right-7 {
    margin-right: 58.33333333%;
  }
  .col-sm-offset-right-6 {
    margin-right: 50%;
  }
  .col-sm-offset-right-5 {
    margin-right: 41.66666667%;
  }
  .col-sm-offset-right-4 {
    margin-right: 33.33333333%;
  }
  .col-sm-offset-right-3 {
    margin-right: 25%;
  }
  .col-sm-offset-right-2 {
    margin-right: 16.66666667%;
  }
  .col-sm-offset-right-1 {
    margin-right: 8.33333333%;
  }
  .col-sm-offset-right-0 {
    margin-right: 0;
  }
}
@media (min-width: 992px) {
  .col-md-offset-right-12 {
    margin-right: 100%;
  }
  .col-md-offset-right-11 {
    margin-right: 91.66666667%;
  }
  .col-md-offset-right-10 {
    margin-right: 83.33333333%;
  }
  .col-md-offset-right-9 {
    margin-right: 75%;
  }
  .col-md-offset-right-8 {
    margin-right: 66.66666667%;
  }
  .col-md-offset-right-7 {
    margin-right: 58.33333333%;
  }
  .col-md-offset-right-6 {
    margin-right: 50%;
  }
  .col-md-offset-right-5 {
    margin-right: 41.66666667%;
  }
  .col-md-offset-right-4 {
    margin-right: 33.33333333%;
  }
  .col-md-offset-right-3 {
    margin-right: 25%;
  }
  .col-md-offset-right-2 {
    margin-right: 16.66666667%;
  }
  .col-md-offset-right-1 {
    margin-right: 8.33333333%;
  }
  .col-md-offset-right-0 {
    margin-right: 0;
  }
}
@media (min-width: 1200px) {
  .col-lg-offset-right-12 {
    margin-right: 100%;
  }
  .col-lg-offset-right-11 {
    margin-right: 91.66666667%;
  }
  .col-lg-offset-right-10 {
    margin-right: 83.33333333%;
  }
  .col-lg-offset-right-9 {
    margin-right: 75%;
  }
  .col-lg-offset-right-8 {
    margin-right: 66.66666667%;
  }
  .col-lg-offset-right-7 {
    margin-right: 58.33333333%;
  }
  .col-lg-offset-right-6 {
    margin-right: 50%;
  }
  .col-lg-offset-right-5 {
    margin-right: 41.66666667%;
  }
  .col-lg-offset-right-4 {
    margin-right: 33.33333333%;
  }
  .col-lg-offset-right-3 {
    margin-right: 25%;
  }
  .col-lg-offset-right-2 {
    margin-right: 16.66666667%;
  }
  .col-lg-offset-right-1 {
    margin-right: 8.33333333%;
  }
  .col-lg-offset-right-0 {
    margin-right: 0;
  }
}

/* News Timeline */

.news-timeline {
    position: relative;
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}
.news-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ddd;
    left: 31px;
    margin: 0;
    border-radius: 2px;
}
.news-timeline>li {
    position: relative;
    margin-bottom: 30px;
}
.news-timeline>li:before, .news-timeline>li:after {
    content: " ";
    display: table;
}
.news-timeline>li:after {
    clear: both;
}
.news-timeline>li>.news-timeline-item {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin-top: 0;
    background: #f5f5f5;
    color: #444;
    margin-left: 60px;
    margin-right: 15px;
    padding: 0;
    position: relative;
}
.news-timeline>li>.news-timeline-item>.time {
    color: #b7b7b7;
    float: right;
    padding: 15px;
    font-size: 10px;
}
.news-timeline>li>.news-timeline-item>.news-timeline-header {
    margin: 0;
    color: #000;
    border-bottom: 1px solid #f4f4f4;
    padding: 10px;
    font-size: 16px;
    line-height: 1.1;
}
.news-timeline>li>.news-timeline-item>.news-timeline-header>a {
    font-weight: 600;
}
.news-timeline>li>.news-timeline-item>.news-timeline-body, .news-timeline>li>.news-timeline-item>.news-timeline-footer {
    padding: 10px;
}
.news-timeline>li>.fa, .news-timeline>li>.glyphicon, .news-timeline>li>.ion {
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    position: absolute;
    color: #fff;
    background: #8bafdc;
    border-radius: 50%;
    text-align: center;
    left: 18px;
    top: 0;
}
.news-timeline>.time-label>span {
    font-weight: 600;
    padding: 5px;
    display: inline-block;
    background-color: #fff;
    border-radius: 4px;
}
.news-timeline-inverse>li>.news-timeline-item {
    background: #f0f0f0;
    border: 1px solid #ddd;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.news-timeline-inverse>li>.news-timeline-item>.news-timeline-header {
    border-bottom-color: #ddd;
}

/* Timeline */

.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eeeeee;
  left: 50%;
  margin-left: -1.5px;
}

.timeline > li {
  margin-bottom: 20px;
  position: relative;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li > .timeline-panel {
  width: 46%;
  float: left;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  padding: 20px;
  position: relative;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline > li > .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}

.timeline > li > .timeline-badge {
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 16px;
  left: 50%;
  margin-left: -25px;
  background-color: #999999;
  z-index: 100;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

.timeline-badge.primary {
  background-color: #2e6da4 !important;
}

.timeline-badge.success {
  background-color: #3f903f !important;
}

.timeline-badge.warning {
  background-color: #f0ad4e !important;
}

.timeline-badge.danger {
  background-color: #d9534f !important;
}

.timeline-badge.info {
  background-color: #5bc0de !important;
}

.timeline-title {
  margin-top: 0;
  color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
}

.timeline-body > p + p {
  margin-top: 5px;
}

/* Carousel */

.col-centered {
    float: none;
    margin: 0 auto;
}

.carousel-control {
    width: 8%;
    width: 0px;
}
.carousel-control.left,
.carousel-control.right {
    margin-right: -10px;
    margin-left:  -10px;
    background-image: none;
    opacity: 1;
}
.carousel-control > a > span {
    color: white;
    font-size: 29px !important;
}

.carousel-col {
    position: relative;
    min-height: 1px;
    padding: 5px;
    float: left;
    cursor: default;
    text-align: center;
    background: none;
    line-height: 50px;
 }

 .active > div { display:none; }
 .active > div:first-child { display:block; }

/*xs*/
@media (max-width: 767px) {
    .carousel-inner .active.left    { left: -50%; }
    .carousel-inner .active.right   { left:  50%; }
    .carousel-inner .next           { left:  50%; }
    .carousel-inner .prev           { left: -50%; }
    .carousel-col                   { width: 50%; }
    .active > div:first-child + div { display:block; }
}

/*sm*/
@media (min-width: 768px) and (max-width: 991px) {
    .carousel-inner .active.left    { left: -33%; }
    .carousel-inner .active.right   { left:  33%; }
    .carousel-inner .next           { left:  33%; }
    .carousel-inner .prev           { left: -33%; }
    .carousel-col                   { width: 33%; }
    .active > div:first-child + div { display:block; }
    .active > div:first-child + div + div { display:block; }
}

/*md*/
@media (min-width: 992px) and (max-width: 1199px) {
    .carousel-inner .active.left    { left: -20%; }
    .carousel-inner .active.right   { left:  20%; }
    .carousel-inner .next           { left:  20%; }
    .carousel-inner .prev           { left: -20%; }
    .carousel-col                   { width: 20%; }
    .active > div:first-child + div { display:block; }
    .active > div:first-child + div + div { display:block; }
    .active > div:first-child + div + div + div { display:block; }
    .active > div:first-child + div + div + div + div { display:block; }
}

/*lg*/
@media (min-width: 1200px) {
    .carousel-inner .active.left    { left: -16%; }
    .carousel-inner .active.right   { left:  16%; }
    .carousel-inner .next           { left:  16%; }
    .carousel-inner .prev           { left: -16%; }
    .carousel-col                   { width: 16%; }
    .active > div:first-child + div { display:block; }
    .active > div:first-child + div + div { display:block; }
    .active > div:first-child + div + div + div { display:block; }
    .active > div:first-child + div + div + div + div { display:block; }
    .active > div:first-child + div + div + div + div + div { display:block; }
}

.block {
    width: auto;
    height: 140px;
        line-height: 10;
}

.block > a {
    display: inline-block;
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}
.block > a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.block > a {
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 1px 2px rgba(0,0,0,.24);
}

/* Navigation ol breadcrumb */

.icon-nav {
	padding-right: 5px;
	color: #bbb;
}

/* Navigation Panel */

.nav-panel a.list-group-item {
    color: #888;
}

.nav-panel .list-group-item {
    padding: 6px 5px;
    margin-bottom: 0px;
    border: 0px solid #ddd;
}

.nav-panel a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

.nav-panel a.list-group-item:hover, a.list-group-item:focus {
    background-color: #ffffff;
    color: #444;
}

/* LK sidebar navigation (личный кабинет) */

.lk-sidebar {
  padding-top: 30px;
}

/* В режиме админки панель навигации (Юзер-меню) скрыта полностью */
.lk-sidebar--admin .lk-nav-panel {
  display: none !important;
}

.lk-nav-panel {
  border-radius: 18px;
  padding: 12px 12px 10px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(15, 23, 42, 0.8);
}

.lk-mode-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
  border-radius: 14px 14px 14px 14px;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.8);
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lk-mode-toggle .btn {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  border-radius: 10px 10px 10px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  font-weight: 600;
  background: transparent;
  color: #94a3b8;
  transition: background 0.18s ease-out, color 0.18s ease-out, box-shadow 0.18s ease-out;
}

.lk-mode-toggle .btn:hover {
  color: #e5e7eb;
  background: rgba(51, 65, 85, 0.6);
}

.lk-mode-toggle .btn.active {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.lk-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lk-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lk-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 13px;
  color: #e5e7eb;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(31, 41, 55, 0.9);
  transition: background 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out, box-shadow 0.18s ease-out;
  overflow: visible;
}

.lk-nav-link:hover,
.lk-nav-link:focus {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.6);
  color: #f9fafb;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.lk-nav-link-icon {
  display: inline-block;
  min-width: 20px;
  width: 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  color: #38bdf8;
  flex-shrink: 0;
}
/* Иконки Bootstrap Glyphicons — не переопределять шрифт, не обрезать */
.lk-nav-link-icon.glyphicon {
  font-family: "Glyphicons Halflings", sans-serif;
  font-style: normal;
  font-weight: normal;
}

.lk-nav-link-label {
  flex: 1;
}

.lk-nav-link--active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(59, 130, 246, 0.28));
  border-color: rgba(129, 140, 248, 0.85);
  box-shadow: 0 0 18px rgba(129, 140, 248, 0.45);
}

/* Chips kept for backward compatibility if used elsewhere */
.lk-nav-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.lk-nav-chip {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
}

/* LK top navbar (баланс + профиль) */

.lk-topnav > li > a {
  font-size: 13px;
  color: #e5e7eb;
}

.lk-topnav > li > a:hover,
.lk-topnav > li > a:focus {
  color: #f9fafb;
  background-color: transparent;
}

.lk-topnav-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  background-image: linear-gradient(135deg, #0f172a, #1d4ed8);
  border: 1px solid rgba(129, 140, 248, 0.7);
  color: #e5e7eb;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.5);
}

.lk-topnav-badge--hold {
  background-image: linear-gradient(135deg, #1c1917, #b45309);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

.lk-topnav-user-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
}

.lk-topnav-user-name {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* LK profile dropdown */

.lk-topnav-user.open > a,
.lk-topnav-user.open > a:focus,
.lk-topnav-user.open > a:hover {
  background: transparent;
  border-color: transparent;
  color: #f9fafb;
  box-shadow: none;
}

.lk-topnav-user .dropdown-menu {
  min-width: 210px;
  padding: 8px 0;
  margin-top: 10px;
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.7);
  background:
    radial-gradient(ellipse at top, rgba(34, 211, 238, 0.12), transparent 55%),
    radial-gradient(ellipse at bottom, rgba(236, 72, 153, 0.16), transparent 55%),
    rgba(15, 23, 42, 0.98);
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.95),
    0 0 26px rgba(37, 99, 235, 0.55);
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.lk-topnav-user .dropdown-menu > li > a {
  padding: 8px 16px;
  font-size: 13px;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lk-topnav-user .dropdown-menu > li > a:hover,
.lk-topnav-user .dropdown-menu > li > a:focus {
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
}

.lk-topnav-user .dropdown-menu > li > a .glyphicon {
  font-size: 13px;
}

.lk-topnav-user.open .dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (max-width: 767px) {
  .lk-topnav-user .dropdown-menu {
    right: 10px;
    left: auto;
  }
}

/* LK sidebar — мобильная навигация: только иконки в ряд */
@media (max-width: 767px) {
  .lk-nav-panel .visible-xs .lk-nav-chips,
  .lk-nav-panel .lk-nav-chips {
    display: none !important;
  }
  .lk-nav-panel .visible-xs:has(.lk-nav-chips) {
    display: none !important;
  }
  .lk-nav-panel .hidden-xs:has(.lk-nav) {
    display: block !important;
  }
  .lk-nav-panel .lk-nav.hidden-xs,
  .lk-nav-panel .lk-nav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 8px;
    justify-content: center;
  }

  .lk-sidebar {
    padding-top: 10px;
  }

  .lk-nav-panel {
    padding: 8px 10px 10px;
    border-radius: 16px;
    background:
      radial-gradient(ellipse 120% 80% at 50% 0, rgba(56, 189, 248, 0.12), transparent 50%),
      radial-gradient(ellipse 80% 60% at 100% 100%, rgba(236, 72, 153, 0.08), transparent 45%),
      rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(51, 65, 85, 0.95);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(56, 189, 248, 0.08) inset,
      0 0 28px rgba(56, 189, 248, 0.12);
  }

  .lk-nav-group {
    display: contents;
  }

  .lk-nav-link-label {
    display: none !important;
  }

  .lk-nav-link {
    min-height: 0;
    padding: 10px;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
    border: 1px solid rgba(51, 65, 85, 0.6);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lk-nav-link:active {
    transform: scale(0.98);
  }

  .lk-nav-link-icon {
    min-width: 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    flex-shrink: 0;
  }
  .lk-nav-link-icon.glyphicon {
    font-family: "Glyphicons Halflings", sans-serif;
  }

  .lk-nav-link--active .lk-nav-link-icon {
    background: rgba(129, 140, 248, 0.35);
    color: #a5b4fc;
    box-shadow: 0 0 14px rgba(129, 140, 248, 0.4);
  }

  .lk-nav-link--active {
    border-color: rgba(129, 140, 248, 0.7);
    box-shadow:
      0 0 0 1px rgba(129, 140, 248, 0.25),
      0 0 20px rgba(129, 140, 248, 0.2);
  }

  .lk-nav-link--active::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #818cf8, #38bdf8);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  }

  .lk-mode-toggle {
    margin-bottom: 6px;
    padding: 2px;
  }
  .lk-mode-toggle .btn {
    padding: 6px 10px;
    font-size: 10px;
  }
}

/* Admin pages — списки-карточки и формы */
.admin-page {
  padding: 24px 0 60px;
  color: #e5e7eb;
}

.admin-hero {
  margin-bottom: 24px;
}

.admin-hero__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}

.admin-hero__subtitle {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}

.admin-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.admin-hero__actions .btn {
  border-radius: 14px 14px 14px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 16px;
}

.admin-strip {
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 14px 14px 14px 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.8);
  font-size: 13px;
  color: #94a3b8;
}

.admin-strip strong { color: #e5e7eb; }
.admin-strip .text-success { color: #86efac; }
.admin-strip__value { display: inline-block; min-width: 2em; color: #e5e7eb; font-weight: 600; }

.admin-card-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 16px 18px;
  border-radius: 18px 18px 18px 18px;
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.08), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out;
}

.admin-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.admin-card__id { font-weight: 700; color: #94a3b8; min-width: 2.5em; }
.admin-card__status { flex-shrink: 0; }
.admin-card__main { flex: 1 1 200px; min-width: 0; }
.admin-card__main a { color: #38bdf8; text-decoration: none; }
.admin-card__main a:hover { color: #7dd3fc; text-decoration: underline; }
.admin-card__meta { font-size: 13px; color: #94a3b8; }
.admin-card__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.admin-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px 12px 12px 12px;
  background: rgba(51, 65, 85, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.8);
  color: #e5e7eb;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.admin-card__btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8;
}

.admin-card__btn--danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.admin-empty {
  text-align: center;
  padding: 40px 24px;
  border-radius: 18px 18px 18px 18px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.6);
  color: #94a3b8;
  font-size: 14px;
}

.admin-form-card {
  border-radius: 22px 22px 22px 22px;
  padding: 24px 24px 20px;
  margin-bottom: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.08), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.admin-form-group {
  margin-bottom: 20px;
}

.admin-form-group:last-of-type { margin-bottom: 0; }

.admin-form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.admin-form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px 12px 12px 12px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 14px;
}

.admin-form-control:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.admin-form-actions {
  margin-top: 24px;
}

.admin-form-actions .btn {
  border-radius: 14px 14px 14px 14px;
  font-weight: 600;
  padding: 10px 20px;
}

.admin-form-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-form-row .admin-form-label { margin-bottom: 0; min-width: 120px; }
.admin-form-static { color: #e5e7eb; }
.admin-form-section {
  margin: 20px 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #e5e7eb;
}
.admin-form-section:first-child { margin-top: 0; }

.admin-form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: #e5e7eb;
  cursor: pointer;
}
.admin-form-check input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #38bdf8;
}
.admin-form-muted { color: #94a3b8; font-size: 13px; font-style: normal; }

.admin-form-card .input-group {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.9);
  border-radius: 12px;
  overflow: visible;
}
.admin-form-card .input-group .admin-form-control {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 12px 0 0 12px;
  border-right: none;
  background: rgba(15, 23, 42, 0.9);
}
.admin-form-card .input-group .input-group-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
}
.admin-form-card .input-group .input-group-btn .custom-select {
  display: flex;
  align-self: stretch;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}
.admin-form-card .input-group .input-group-btn .custom-select__trigger {
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 42px;
  height: auto;
  align-self: stretch;
  border: none;
  border-left: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 0 12px 12px 0;
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  padding: 10px 12px;
}
.admin-form-card .input-group .input-group-btn .custom-select__trigger:hover {
  background: rgba(30, 41, 59, 0.95);
}

.admin-meta {
  margin-top: 24px;
  padding: 16px 0;
  font-size: 13px;
  color: #94a3b8;
}
.admin-meta p { margin: 0 0 6px; }
.admin-meta p:last-child { margin-bottom: 0; }

.label.label-success { background: rgba(34, 197, 94, 0.25); color: #86efac; border: 1px solid rgba(74, 222, 128, 0.5); border-radius: 8px 8px 8px 8px; padding: 2px 8px; font-size: 11px; }
.label.label-danger { background: rgba(239, 68, 68, 0.25); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.5); border-radius: 8px 8px 8px 8px; padding: 2px 8px; font-size: 11px; }
.label.label-warning { background: rgba(245, 158, 11, 0.25); color: #fcd34d; border: 1px solid rgba(251, 191, 36, 0.5); border-radius: 8px 8px 8px 8px; padding: 2px 8px; font-size: 11px; }

@media (max-width: 767px) {
  .admin-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-card__actions { width: 100%; justify-content: flex-end; }
}

/* Account edit (личные данные, выплаты, безопасность, API) */

.account-edit {
  padding: 24px 0 60px;
  color: #e5e7eb;
}

.account-edit__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.account-edit-hero__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}

.account-edit-tabs {
  margin-bottom: 24px;
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-edit-tabs > li > a {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #9ca3af;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.8);
}

.account-edit-tabs > li > a:hover,
.account-edit-tabs > li > a:focus {
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.5);
}

.account-edit-tabs > li.active > a,
.account-edit-tabs > li.active > a:hover,
.account-edit-tabs > li.active > a:focus {
  color: #f9fafb;
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.account-edit-card {
  border-radius: 22px;
  padding: 24px 24px 20px;
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.08), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.06), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(15, 23, 42, 0.8);
}

.account-edit-card h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.account-edit-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .account-edit-row {
    grid-template-columns: 1fr;
  }
}

.account-edit-form-group {
  margin-bottom: 16px;
}

.account-edit-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

.account-edit-input,
.account-edit .form-control {
  width: 100%;
  max-width: 100%;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 13px;
}

.account-edit-input:focus,
.account-edit .form-control:focus {
  border-color: rgba(56, 189, 248, 0.7);
  outline: none;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.account-edit-static {
  padding: 9px 0;
  font-size: 13px;
  color: #e5e7eb;
}

.account-edit .btn-success,
.account-edit .btn-primary {
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.account-edit .btn-success {
  background-image: linear-gradient(135deg, #06b6d4, #22c55e);
  border-color: rgba(45, 212, 191, 0.9);
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.95), 0 0 18px rgba(16, 185, 129, 0.6);
}

.account-edit .btn-success:hover,
.account-edit .btn-success:focus {
  filter: brightness(1.06);
  color: #ecfdf5;
}

.account-edit .btn-primary {
  background-image: linear-gradient(135deg, #6366f1, #22d3ee);
  border-color: rgba(129, 140, 248, 0.9);
  color: #eef2ff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.95), 0 0 22px rgba(129, 140, 248, 0.6);
}

.account-edit .btn-primary:hover,
.account-edit .btn-primary:focus {
  filter: brightness(1.05);
  color: #eef2ff;
}

.account-edit-checkbox {
  font-size: 13px;
  color: #d1d5db;
}

.account-edit-checkbox input {
  margin-right: 8px;
}

.account-edit-help {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

.account-edit a {
  color: #38bdf8;
}

.account-edit a:hover,
.account-edit a:focus {
  color: #7dd3fc;
}

@media (max-width: 767px) {
  .account-edit__inner {
    padding: 0 16px 40px;
  }
}

/* bs-callout */

.bs-callout {
    margin:20px 0;
    padding:20px;
    border-left:3px solid #eee
}
.bs-callout h4 {
    margin-top:0;
    margin-bottom:5px;
}
.bs-callout p:last-child {
    margin-bottom:0
}
.bs-callout code {
    background-color:#fff;
    border-radius:3px
}
.bs-callout-danger {
    background-color:#fdf7f7;
    border-color:#d9534f
}
.bs-callout-danger h4 {
    color:#d9534f
}
.bs-callout-warning {
    background-color:#fcf8f2;
    border-color:#f0ad4e
}
.bs-callout-warning h4 {
    color:#f0ad4e
}
.bs-callout-info {
    background-color:#f4f8fa;
    border-color:#5bc0de
}
.bs-callout-info h4 {
    color:#5bc0de
}

/* Others */

.theme-dropdown .dropdown-menu {
  position: static;
  display: block;
  margin-bottom: 20px;
}

.theme-showcase > p > .btn {
  margin: 5px 0;
}

.page-header {
    margin: 40px 0 30px;
    border-bottom: 0.5px solid #efefef;
}

.btn-vk {
    color: #fff;
    background-color: #5181b8;
    border-color: #5181b8;
}
.btn-vk:hover, .btn-vk:focus, .btn-vk:active, .btn-vk.active, .open .dropdown-toggle.btn-vk {
    color: #fff;
    background-color: #5b88bd;
    border-color: #5b88bd;
}
