/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
    height: 64px;
    margin-top: 12px;
}

.app-brand-logo.demo svg {
    width: 178px;
    height: 38px;
}

.app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    text-transform: lowercase;
}


/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */


/* Detached navbar */

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 76px !important;
}


/* Default navbar */

.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}


/* Navbar page z-index issue solution */

.content-wrapper .navbar {
    z-index: auto;
}


/*
* Content
******************************************************************************/

.demo-blocks>* {
    display: block !important;
}

.demo-inline-spacing>* {
    margin: 1rem 0.375rem 0 0 !important;
}


/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */

.demo-vertical-spacing>* {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir='rtl'] .rtl-only {
    display: block !important;
}


/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

.ajax_load {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.ajax_load_box {
    margin: auto;
    text-align: center;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.ajax_load_box_circle {
    border: 16px solid #e3e3e3;
    border-top: 16px solid #465161;
    border-radius: 50%;
    margin: auto;
    width: 80px;
    height: 80px;
    -webkit-animation: spin 1.2s linear infinite;
    -o-animation: spin 1.2s linear infinite;
    animation: spin 1.2s linear infinite;
}

.ajax_load_box_title {
    margin-top: 15px;
    font-weight: 400;
}

span.total {
    display: inline-block;
    height: 1em;
    position: relative;
    overflow: hidden;
    background-color: #DDDBDD;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%) !important;
    border-radius: 5px !important;
    background-size: 200% 100% !important;
    animation: 1.5s shine linear infinite !important;
}

.ui-autocomplete {
    background: #4a4a4a;
    border-radius: 0px;
}
.ui-autocomplete.source:hover {
    background: #454545;
}

.ui-menu .ui-menu-item a{
    background:red !important;
    height:10px;
    font-size:8px;}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}


/* Safari */

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

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

.cryptara-auth-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #0a2744, #0f3b64);
  box-shadow: 0 12px 30px rgba(10, 39, 68, 0.22);
}

.cryptara-sidebar-logo {
  display: block;
  width: 145px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  padding: 7px 10px;
  background: linear-gradient(135deg, #0a2744, #0f3b64);
}

.game-cover-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef1f5;
}

.game-cover-empty {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef1f5;
  color: #697a8d;
  font-size: 22px;
}

.games-table td,
.games-table th {
  vertical-align: middle;
}

.games-panel {
  background: #0f1b24;
  border-color: #21313f;
  color: #e7eef6;
}

.games-panel .card-header {
  border-color: #21313f;
}

.games-panel h5 {
  color: #f6f9fc;
}

.games-panel .text-muted,
.games-panel small {
  color: #8ea1b5 !important;
}

.games-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.game-test-card {
  overflow: hidden;
  border: 1px solid #243544;
  border-radius: 8px;
  background: #101c25;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.game-test-cover {
  aspect-ratio: 1 / 1;
  background: #172733;
  overflow: hidden;
}

.game-test-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-test-cover span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ea1b5;
  font-size: 34px;
}

.game-test-body {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.game-test-body strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  min-height: 32px;
}

.game-test-body span {
  color: #8ea1b5;
  font-size: 10px;
  text-transform: uppercase;
}

.game-test-body code {
  color: #ff4f9a;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent;
  padding: 0;
}

.game-test-form {
  display: grid;
  gap: 7px;
  margin-top: 3px;
}

.game-test-form .form-select {
  min-height: 30px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 11px;
}

.game-test-form .btn {
  min-height: 32px;
  font-size: 12px;
}
