/* ============================================
   HARDCORIA OTSERVER - style.css
   Bootstrap 4 compatible + ShadowCores inspired
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* ============ BASE ============ */
body {
  background: no-repeat center center fixed;
  background-size: cover;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #333;
}

a {
  color: #2a6496;
  transition: color 0.2s;
}
a:hover {
  color: #1a8abf;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.3px;
}

/* ============ LAYOUT ============ */
#container {
  background-size: cover;
  width: 960px;
  margin: 0 auto;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.header {
 background-image: url(/layout/images/header.png);
  margin: -10px auto;
    margin-bottom: -1px;
    background-position: 0% 75%;
    background-repeat: no-repeat;
    border-left: 0px solid #080808;
    border-right: 1px solid #080808;
    height: 270px;
    z-index: 10;
    position: relative;
}

.sidebar {
  margin: 5px 0;
  width: 255px;
  float: right;
}

.content {
  float: left;
  margin: 5px auto;
  width: 693px;
  min-height: 50px;
}

/* ============ NAVBAR ============ */
#navbar.navbar {
  background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%) !important;
  border-bottom: 2px solid #3a6a9a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  padding: 0 10px;
}
#navbar .navbar-brand,
#navbar .nav-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #c8d8e8 !important;
  padding: 10px 10px;
}
#navbar .navbar-brand:hover,
#navbar .nav-link:hover {
  color: #7ec8e3 !important;
}
#navbar .dropdown-menu {
  background: #1e2a38;
  border: 1px solid #3a6a9a;
  border-radius: 0 0 4px 4px;
  min-width: 180px;
  margin-top: 0;
}
#navbar .dropdown-item {
  color: #b0c8e0;
  font-size: 12px;
  padding: 6px 16px;
}
#navbar .dropdown-item:hover {
  background: #2a4a6a;
  color: #ffffff;
}
#navbar .form-control {
  background: #1a2a3a;
  border: 1px solid #3a6a9a;
  color: #c8d8e8;
  font-size: 12px;
}
#navbar .form-control::placeholder {
  color: #6a8aaa;
}
#navbar .btn-outline-light {
  border-color: #3a6a9a;
  color: #7ec8e3;
  font-size: 12px;
}
#navbar .btn-outline-light:hover {
  background: #3a6a9a;
  color: #fff;
}

/* ============ CARDS (Bootstrap 4 - reemplaza .panel) ============ */
.card-header {
  background: #ffffff;
  border-bottom: 1px solid #a8c4de;
  color: #1a3a5c;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  letter-spacing: 0.3px;
}
.card-body {
  background: #ffffff;
  padding: 10px 12px;
  font-size: 13px;
}
/* ============ SIDEBAR CARDS ============ */
.sidebar .card {
  border-color: #d0d0d0;
  margin-bottom: 6px;
}
.sidebar .card-header {
  background: #ffffff;
  border-bottom: 1px solid #a8c4de;
  color: #1a3a5c;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  letter-spacing: 0.3px;
}
.sidebar .card-body {
  background: #ffffff;
  color: #333;
  font-size: 13px;
  padding: 10px 12px;
}
.sidebar a {
  color: #2a6496;
}
.sidebar a:hover {
  color: #1a8abf;
}
/* ============ PANEL (compatibilidad Bootstrap 3) ============ */
.panel {
  border: 1px solid #c0d0e0;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}
.panel-heading {
  background: linear-gradient(180deg, #ddeaf8 0%, #c5d9ef 100%);
  border-bottom: 1px solid #a8c4de;
  color: #1a3a5c;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
}
.panel-body {
  background: #f8fbff;
  padding: 10px 12px;
}
.panel-footer {
  background: #eef4fb;
  border-top: 1px solid #c0d0e0;
  padding: 6px 12px;
  font-size: 12px;
}

/* Sidebar panels */
.sidebar .panel {
  border-color: #2a3d52;
}
.sidebar .panel-heading {
  background: linear-gradient(180deg, #2e4a6a 0%, #1e3252 100%);
  border-bottom: 1px solid #3a6a9a;
  color: #d0e8ff;
  font-size: 11px;
  padding: 5px 10px;
}
.sidebar .panel-body {
  background: #1a2a3a;
  color: #b0c8e0;
  font-size: 12px;
  padding: 8px 10px;
}

.panel-custom {
  background-color: #1a2a3a;
  border-color: #2a3d52;
  color: #c8d8e8;
}

/* ============ NEWS / POSTS ============ */
.news-post-date {
  float: right;
  text-align: right;
  position: relative;
  top: -2px;
  color: #6a8aaa;
  font-size: 12px;
}

/* ============ TABS ============ */
.tab-content {
  background-color: #f8fbff;
  border-left: 1px solid #c0d0e0;
  border-right: 1px solid #c0d0e0;
  border-bottom: 1px solid #c0d0e0;
  padding: 10px 15px;
  border-radius: 0 0 4px 4px;
}
.nav-tabs .nav-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #2a6496;
}
.nav-tabs .nav-link.active {
  background: #f8fbff;
  border-color: #c0d0e0 #c0d0e0 #f8fbff;
  color: #1a3a5c;
  font-weight: 600;
}

/* ============ TABLES ============ */
.table {
  font-size: 12px;
}
.table thead th {
  background: linear-gradient(180deg, #ddeaf8 0%, #c5d9ef 100%);
  color: #1a3a5c;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  border-bottom: 2px solid #a8c4de;
  padding: 6px 10px;
}
.table td {
  padding: 5px 10px;
  vertical-align: middle;
  border-top: 1px solid #e8f0f8;
}
.table-striped tbody tr:nth-of-type(odd) {
  background: #f0f6fc;
}
.table-hover tbody tr:hover {
  background: #e0eef8;
}

/* ============ BUTTONS ============ */
.btn {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  border-radius: 3px;
  color: #ffffff !important;
}
.btn-primary {
  background: linear-gradient(180deg, #3a7abf 0%, #2a5a9f 100%);
  border-color: #1a4a8f;
  color: #ffffff !important;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #4a8acf 0%, #3a6aaf 100%);
  border-color: #2a5a9f;
  color: #ffffff !important;
}
.btn-secondary { color: #ffffff !important; }
.btn-success   { color: #ffffff !important; }
.btn-danger    { color: #ffffff !important; }
.btn-warning   { color: #ffffff !important; }
.btn-info      { color: #ffffff !important; }
.btn-dark      { color: #ffffff !important; }
.btn-outline-primary { color: #3a7abf !important; }
.btn-outline-primary:hover { color: #ffffff !important; }

/* ============ FORMS ============ */
.form-control {
  font-size: 12px;
  border: 1px solid #c0d0e0;
  border-radius: 3px;
  padding: 5px 8px;
  height: auto;
}
.form-control:focus {
  border-color: #3a7abf;
  box-shadow: 0 0 0 2px rgba(58,122,191,0.15);
}
.input-xs {
  height: 22px;
  padding: 2px 5px;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 3px;
}

/* ============ BADGES ============ */
.badge {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  border-radius: 3px;
  padding: 3px 6px;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #1a2a3a;
}
::-webkit-scrollbar-thumb {
  background: #3a6a9a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4a8abf;
}

/* ============ TOOLTIP ============ */
#tooltip {
  background: #1a2a3a;
  border: 1px solid #3a6a9a;
  border-radius: 6px;
  color: #c8d8e8;
  opacity: 0.95;
  padding: 10px 14px;
  position: absolute;
  text-align: center;
  z-index: 100;
  font-size: 12px;
}
#tooltip::after {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #1a2a3a;
  bottom: -8px;
  content: "";
  height: 0;
  left: 50%;
  margin-left: -8px;
  position: absolute;
  width: 0;
}
#tooltip.top::after {
  border-bottom: 8px solid #1a2a3a;
  border-top-color: transparent;
  bottom: auto;
  top: -16px;
}
#tooltip.left::after { left: 10px; margin: 0; }
#tooltip.right::after { left: auto; margin: 0; right: 10px; }

/* ============ CHAT ============ */
.chat {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chat li {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dotted #c0d0e0;
}
.chat li.left .chat-body { margin-left: 55px; }
.chat li.right .chat-body { margin-right: 55px; }
.chat li .chat-body p {
  margin: 0;
  color: #556677;
  font-size: 12px;
}

/* ============ ERROR 404 ============ */
.error-404 {
  margin: 0 auto;
  text-align: center;
}
.error-404 .error-code {
  color: #3a7abf;
  font-size: 96px;
  line-height: 100px;
  font-weight: bold;
  font-family: 'Open Sans', sans-serif;
}
.error-404 .error-desc {
  font-size: 13px;
  color: #647788;
}
.error-404 .m-b-10 { margin-bottom: 10px !important; }
.error-404 .m-b-20 { margin-bottom: 20px !important; }
.error-404 .m-t-20 { margin-top: 20px !important; }

/* ============ MISC ============ */
.fixed-panel {
  min-height: 390px;
  max-height: 390px;
  overflow: auto;
}
.outfitter-container {
  width: 64px;
  height: 64px;
  position: relative;
  margin-left: -24px;
  margin-top: -23px;
}
.offer_item {
  background-image: url("../images/serviceid_icon_normal.png");
  display: block;
  height: 150px !important;
  margin: 14px;
  position: relative;
  width: 150px !important;
  float: left;
}
.offer_item_selected {
  background-image: url("../images/serviceid_icon_selected.png");
  height: 150px !important;
  position: absolute;
  width: 150px !important;
}
.offer_item:hover { opacity: 0.8; }
.offer_item > .offer_text {
  color: white;
  height: 30px;
  position: relative;
  text-align: center;
  top: 14px;
  width: 100%;
}
.offer_item > .offer_price {
  bottom: 0;
  color: #4caf50;
  height: 25px;
  position: absolute;
  text-align: center;
  width: 100%;
  font-weight: 600;
}
.offer_image {
  bottom: 37%;
  position: absolute;
  right: 39%;
}
.payment_method > .payment_txt {
  color: white;
  height: 30px;
  position: absolute;
  text-align: center;
  bottom: 0;
  width: 100%;
}