/* WebEngine 1.2.7 compatibility for Maminsta (Bootstrap 5) */

.navbar-logo {
  height: 42px;
  width: auto;
}
.navbar-nav .nav-link.box-wind {
  color: #222 !important;
  padding: 8px 14px;
}
.navbar-nav .nav-link.box-wind:hover {
  color: #fff !important;
  background: #4A9AD8;
}
@media (max-width: 767px) {
  .hero .floating-item {
    display: none;
  }
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}
.navbar-toggler-icon {
  filter: invert(1);
}
.status-box {
  pointer-events: none;
}
.we-clock {
  color: #a0aec0;
  font-size: 12px;
  text-transform: uppercase;
}
.hero-lead {
  max-width: 560px;
}
@media (max-width: 767px) {
  .hero .hero-content .container h1 {
    font-size: 2.4rem;
  }
  .hero-lead,
  .hero .hero-content .container p.w-50 {
    width: 100% !important;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .btn-hero {
    text-align: center;
    margin-inline: 0;
  }
}

.admincp-button {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1080;
  background: #4A9AD8 !important;
  border: 0 !important;
  color: #111 !important;
  font-weight: 800 !important;
  border-radius: 6px;
  padding: 6px 12px;
}

/* Bootstrap 3 grid leftovers from WebEngine modules */
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,
.col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  float: none;
}
.col-xs-12 { width: 100%; flex: 0 0 100%; max-width: 100%; }
.col-xs-11 { width: 91.666%; flex: 0 0 91.666%; max-width: 91.666%; }
.col-xs-10 { width: 83.333%; flex: 0 0 83.333%; max-width: 83.333%; }
.col-xs-9 { width: 75%; flex: 0 0 75%; max-width: 75%; }
.col-xs-8 { width: 66.666%; flex: 0 0 66.666%; max-width: 66.666%; }
.col-xs-7 { width: 58.333%; flex: 0 0 58.333%; max-width: 58.333%; }
.col-xs-6 { width: 50%; flex: 0 0 50%; max-width: 50%; }
.col-xs-5 { width: 41.666%; flex: 0 0 41.666%; max-width: 41.666%; }
.col-xs-4 { width: 33.333%; flex: 0 0 33.333%; max-width: 33.333%; }
.col-xs-3 { width: 25%; flex: 0 0 25%; max-width: 25%; }
.col-xs-2 { width: 16.666%; flex: 0 0 16.666%; max-width: 16.666%; }
.col-xs-1 { width: 8.333%; flex: 0 0 8.333%; max-width: 8.333%; }
.col-xs-offset-2 { margin-left: 16.666%; }
.col-xs-offset-3 { margin-left: 25%; }
.col-xs-offset-4 { margin-left: 33.333%; }
@media (min-width: 768px) {
  .col-sm-4 { width: 33.333%; flex: 0 0 33.333%; max-width: 33.333%; }
  .col-sm-8 { width: 66.666%; flex: 0 0 66.666%; max-width: 66.666%; }
  .col-sm-6 { width: 50%; flex: 0 0 50%; max-width: 50%; }
  .col-sm-3 { width: 25%; flex: 0 0 25%; max-width: 25%; }
  .col-sm-offset-4 { margin-left: 33.333%; }
}
@media (max-width: 767px) {
  .col-xs-offset-2, .col-xs-offset-3, .col-xs-offset-4,
  .col-sm-offset-4 { margin-left: 0; }
  .col-xs-3, .col-xs-4, .col-xs-6, .col-xs-8 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.we-module-section {
  min-height: 55vh;
}
.we-module-box {
  color: #ddd;
  overflow: hidden;
}
.we-module-box a {
  color: #4A9AD8;
  text-decoration: none;
}
.we-module-box a:hover {
  color: #fff;
}

.page-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.page-title span {
  color: #4A9AD8;
}

.panel {
  background: #1a1a1a;
  border: 1px solid rgba(74, 154, 216, 0.12);
  border-radius: 12px;
  margin-bottom: 20px;
  color: #ddd;
}
.panel-heading {
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(74, 154, 216, 0.12);
  padding: 14px 18px;
  border-radius: 12px 12px 0 0;
}
.panel-title {
  margin: 0;
  color: #4A9AD8;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.panel-body {
  padding: 18px;
}
.panel-downloads .panel-title {
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 1rem;
}
.form-horizontal .form-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.form-horizontal .control-label {
  text-align: left;
  color: #4A9AD8;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 8px;
}
.help-block {
  display: block;
  margin-top: 6px;
  color: #888;
  font-size: 0.85rem;
}

.we-module-box .form-control,
.we-module-box select,
.we-module-box input[type="text"],
.we-module-box input[type="password"],
.we-module-box input[type="email"],
.we-module-box input[type="number"],
.we-module-box textarea {
  background: #111 !important;
  border: 1px solid #333 !important;
  color: #fff !important;
  padding: 10px 12px;
  border-radius: 6px;
  width: 100%;
}
.we-module-box .form-control:focus,
.we-module-box input:focus,
.we-module-box select:focus,
.we-module-box textarea:focus {
  border-color: #4A9AD8 !important;
  box-shadow: 0 0 10px rgba(74, 154, 216, 0.2);
  outline: none;
}

.btn,
.btn-primary,
.btn-success,
.btn-xs,
input[type="submit"],
button[type="submit"] {
  background: #4A9AD8;
  border: 0;
  color: #111;
  font-weight: 800;
  border-radius: 6px;
  text-transform: uppercase;
}
.btn:hover,
.btn-primary:hover,
.btn-success:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: #fff;
  color: #111;
}
.btn-xs {
  padding: 4px 10px;
  font-size: 0.75rem;
}
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
  background: #fff !important;
  color: #111 !important;
  border-color: #fff !important;
}

.alert {
  border-radius: 8px;
  font-weight: 600;
}
.alert-danger {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #ff6b6b;
}
.alert-success {
  background: rgba(74, 154, 216, 0.12);
  border: 1px solid rgba(74, 154, 216, 0.35);
  color: #4A9AD8;
}
.alert-info {
  background: rgba(74, 154, 216, 0.1);
  border: 1px solid rgba(74, 154, 216, 0.3);
  color: #4A9AD8;
}
.alert-warning {
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.35);
  color: #ffc107;
}

.table {
  color: #ddd;
  width: 100%;
}
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > thead > tr > td,
.table > thead > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th {
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  padding: 10px;
}
.table th {
  color: #4A9AD8;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.04);
}
.table-bordered {
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.table-hover > tbody > tr:hover {
  background: rgba(74, 154, 216, 0.06);
}
.table-condensed td,
.table-condensed th {
  padding: 8px;
}

.thumbnail {
  background: #1a1a1a;
  border: 1px solid rgba(74, 154, 216, 0.15);
  border-radius: 12px;
  padding: 12px;
  display: block;
}
a.thumbnail:hover {
  border-color: #4A9AD8;
}

legend {
  color: #4A9AD8;
  font-weight: 800;
  border-bottom: 1px solid rgba(74, 154, 216, 0.2);
  padding-bottom: 8px;
  font-size: 1.1rem;
}

/* Rankings (native WebEngine output) */
.rankings_menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.rankings_menu a {
  display: inline-block;
  background: #111;
  color: #888 !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 18px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px 6px 0 0;
}
.rankings_menu a.active,
.rankings_menu a:hover {
  color: #4A9AD8 !important;
  background: #222;
  border-color: rgba(74, 154, 216, 0.3);
}
.rankings-table:not(.rankings-table-premium) {
  width: 100%;
  border-collapse: collapse;
}
.rankings-table:not(.rankings-table-premium) tr td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 10px;
  vertical-align: middle !important;
  text-align: center;
  color: #eee;
}
.rankings-table:not(.rankings-table-premium) tr:first-child td {
  color: #d4dce8;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-bottom: 2px solid #4A9AD8;
}
.rankings-table-place {
  font-weight: 900;
  font-size: 1.2rem;
  color: #888;
}
.rankings-class-image {
  width: 32px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 154, 216, 0.3);
}
.rankings-update-time {
  text-align: right;
  font-size: 11px;
  color: #888;
  padding: 10px 0;
}
.rankings-class-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 16px auto 24px;
  padding: 0;
  gap: 8px;
}
.rankings-class-filter li {
  display: inline-block;
}
.rankings-class-filter-selection {
  display: inline-block;
  width: 78px;
  text-align: center;
  color: #aaa;
  font-size: 11px;
  cursor: pointer;
}
.rankings-class-filter-selection img {
  width: 40px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 5px;
  box-shadow: 0 0 10px rgba(74, 154, 216, 0.25);
}
.rankings-class-filter-grayscale {
  filter: grayscale(1);
  opacity: 0.55;
}
.rankings-gens-img {
  height: 28px !important;
  width: auto !important;
}
.online-status-indicator {
  margin-left: 6px;
  width: 10px;
  height: 10px;
}

/* Shop */
.page-shop-tabs { width: 100%; }
.shop-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 24px;
  border-bottom: 1px solid rgba(74, 154, 216, 0.2);
}
.shop-tab-btn {
  min-width: 140px;
  padding: 12px 24px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #888;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}
.shop-tab-btn.is-active,
.shop-tab-btn:hover {
  color: #4A9AD8;
  border-bottom-color: #4A9AD8;
  background: transparent;
}
.shop-tab-panel { display: none; }
.shop-tab-panel.is-active { display: block; }
.page-shop { text-align: center; }
.page-shop .shop-section-title {
  color: #fff;
  font-weight: 800;
  margin: 20px 0 16px;
}
.page-shop .shop-packages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.page-shop .shop-packages > [class*="col-"] {
  float: none;
  flex: 0 0 320px;
  width: 320px;
  max-width: calc(100% - 16px);
  padding: 0;
}
.panel-shop {
  background: #1a1a1a;
  border: 1px solid rgba(74, 154, 216, 0.15);
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.panel-shop .panel-shop-title {
  background: #111;
  color: #4A9AD8;
  font-weight: 800;
  text-align: center;
  padding: 16px;
  margin: 0;
  border-bottom: 3px solid #4A9AD8;
  border-radius: 12px 12px 0 0;
}
.shop-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #4A9AD8;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.shop-card-body { padding: 16px 18px 8px; }
.shop-card-highlight {
  margin: 4px 0 12px;
  padding: 14px 10px;
  background: rgba(74, 154, 216, 0.08);
  border: 1px solid rgba(74, 154, 216, 0.15);
  border-radius: 8px;
}
.shop-card-highlight-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #4A9AD8;
}
.shop-card-highlight-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
}
.panel-shop .shop-desc { color: #888; font-size: 13px; }
.panel-shop .shop-benefits ul { list-style: none; padding: 0; }
.panel-shop .shop-benefits li { color: #ddd; font-size: 13px; padding: 4px 0; }
.panel-shop .shop-benefits .fa-check { color: #4A9AD8; margin-right: 6px; }
.shop-card-footer {
  margin-top: auto;
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.shop-price-hero-value { font-size: 28px; font-weight: 800; color: #4A9AD8; }
.shop-price-hero-currency { color: #888; margin-left: 6px; }
.btn-shop-pay {
  min-width: 200px;
  padding: 11px 22px;
}

/* Profiles */
.profiles_player_card,
.profiles_guild_card {
  color: #fff;
}
.profiles_player_table a,
.profiles_guild_card a {
  color: #4A9AD8;
}

/* Events on home */
.events-section .event-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #ddd;
}
.events-section .event-name {
  font-weight: 800;
  color: #fff;
  display: block;
}
.events-section .event-label {
  color: #666;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.events-section .event-timer {
  color: #4A9AD8;
  font-weight: 800;
  display: block;
  text-align: right;
}
.events-section .event-schedule {
  color: #888;
  font-size: 0.8rem;
  display: block;
  text-align: right;
}
.event-schedule-open { color: #4A9AD8; }
.event-schedule-inprogress { color: #4A9AD8; }

.news-card.news-card-stack {
  flex-direction: column;
}
.news-card.news-card-stack .news-image,
.news-card.news-card-stack .news-body {
  width: 100%;
}
.news-card.news-card-stack .news-image img {
  height: 180px;
}

.footer-links a {
  color: #222;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 8px;
}
.footer-links a:hover {
  color: #4A9AD8;
}
.webengine-powered {
  color: #444 !important;
  font-size: 0.8rem;
}
.webengine-powered:hover {
  color: #111 !important;
}

.dropdown-menu-dark img {
  width: 18px;
  height: auto;
  margin-right: 6px;
}

.usercp-character-image {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid #4A9AD8;
}

.paypal-gateway-container { width: 100%; }
.paypal-gateway-content {
  background: #1a1a1a;
  border: 1px solid rgba(74, 154, 216, 0.15);
  padding: 20px;
  border-radius: 12px;
}
.paypal-gateway-logo {
  width: 100%;
  height: 80px;
  background: #111 url('../img/paypal-logo-200-68.png') no-repeat center;
  background-size: contain;
  margin-bottom: 15px;
}
.paypal-gateway-form {
  width: 100%;
  margin: 20px auto;
  text-align: center;
  color: #ddd;
  font-size: 1.2rem;
}
.paypal-gateway-form input[type=text] {
  width: 80px;
  font-size: 1.2rem;
  display: inline-block;
}
.paypal-gateway-continue { text-align: center; }
.paypal-gateway-continue input[type=submit] {
  background: url('../img/paypal-submit.jpg') no-repeat center !important;
  background-size: contain !important;
  width: 200px;
  height: 40px;
  border: 0 !important;
  text-indent: -999px;
  overflow: hidden;
  box-shadow: none !important;
}
.ranking-box a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}
.ranking-box a:hover {
  color: #4A9AD8;
}
.rankings-full-section .page-title,
.download-section .page-title,
.info-server-section .page-title,
.payment-selection-section .page-title {
  display: none;
}
.btn-register-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.label {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.label-success { background: #4A9AD8; color: #111; }
.label-danger { background: #ff4d4d; color: #fff; }
.label-default { background: #444; color: #fff; }
.player-card a {
  color: #222;
  text-decoration: none;
}
.player-card a:hover {
  color: #4A9AD8;
}

.text-success {
  color: #4A9AD8 !important;
}
.bg-success {
  background-color: #4A9AD8 !important;
}
.border-success {
  border-color: #4A9AD8 !important;
}
.btn-outline-success {
  color: #4A9AD8;
  border-color: #4A9AD8;
}
.btn-outline-success:hover {
  background: #4A9AD8;
  color: #111;
  border-color: #4A9AD8;
}

