/* =========================================================
   BLODPENGER — GAME UI THEME (Dark / Futuristic)
   - Consolidated + optimized from your original styles
   - Uses CSS variables for easy theming
   - Keeps existing class names to avoid breaking templates
   ========================================================= */

/* ------------------ Theme Tokens ------------------ */
:root {
  /* colors */
  --bg: #0f0f0f;
  --bg-1: #131313;
  --bg-2: #1a1a1a;
  --bg-3: #222;
  --bg-4: #2a2a2a;
  --bg-5: #333;

  --txt: #e6e6e6;
  --txt-dim: #b0b0b0;
  --txt-muted: #8a8a8a;

  --acc: #1f8a70;         /* your turkisgrønn */
  --acc-2: #26a185;
  --acc-soft: rgba(0, 209, 178, 0.35);

  --danger: #e53935;
  --danger-2: #ef5350;

  --warn-1: #ffb74d;
  --warn-brown-1: #785127;
  --warn-brown-2: #4c3318;

  --success-1: #3c763d;
  --success-2: #8dc63f;

  --line-1: #262626;
  --line-2: #3a3a3a;
  --line-3: #474747;

  --shadow-1: 0 3px 6px rgba(0,0,0,.3);
  --shadow-2: 0 6px 14px rgba(0,0,0,.4);
  --shadow-3: 0 2px 5px rgba(0,0,0,.2);

  /* radii & spacing */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;

  --sp-1: 4px;
  --sp-2: 6px;
  --sp-3: 8px;
  --sp-4: 10px;
  --sp-5: 12px;
  --sp-6: 16px;

  /* timing */
  --t-fast: .15s;
  --t-mid: .2s;
  --t-slow: .3s;

  /* fonts */
  --font: 'Exo 2', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* layout */
  --container: 950px;

  /* images */
  --bg-image: url("../images/bg.png");
  --header-image: url("../images/feature-new.png");
  --login-bg: url("../images/login-bg.jpg");
}

/* ------------------ Base Reset ------------------ */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700&display=swap');

* { box-sizing: border-box; }
html, body { height: 100%; max-width: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: .4px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--txt);
  background-color: var(--bg);
  background-image: var(--bg-image) !important;
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom center;
  overflow-x: hidden;
}

a, a:focus, a:active, a:hover { color: inherit; text-decoration: none; }
p { margin: 5px 0 0; }
pre { position: relative; z-index: 1000; font-family: var(--mono); }

/* Scrollbar (webkit) */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: var(--r-md); border: 2px solid var(--bg-2); }
*::-webkit-scrollbar-track { background: var(--bg-2); }

/* Utility */
.ellipsis { text-overflow: ellipsis; white-space: nowrap !important; overflow: hidden; }
.tiny { font-size: 12px; line-height: 20px; }
.padding { padding: 0 10%; }
.no-scroll { overflow: hidden; }

/* Grid tweaks */
.row { margin-left: -5px; margin-right: -5px; }
[class*="col-"] { padding-left: 5px; padding-right: 5px; }

/* Background blur overlay (optional on login) */
.background-image {
  position: fixed; inset: 0;
  background-image: var(--login-bg);
  background-size: cover;
  filter: blur(10px);
  z-index: -1;
}

/* ------------------ Header ------------------ */
.header {
  background: var(--header-image) center top / cover no-repeat;
  line-height: 40px;
  height: 140px;
  border-bottom: 3px solid #444;
}

.header .user-info {
  position: relative;
  background: rgba(22,22,22,.8);
  line-height: 25px;
  font-size: 12px;
  border-radius: var(--r-md);
  border: 1px solid #222;
  height: 120px;
  margin: 10px;
  padding: 10px;
}

.header .user-info .quick-links {
  position: absolute; right: 0; top: 10px; bottom: 10px;
  padding-top: 7px; width: 50px;
  line-height: 20px; color: #777;
  border-top-right-radius: 6px; border-bottom-right-radius: 6px;
}
.header .user-info .quick-links i { font-size: 20px; line-height: 30px; width: 36px; }
.header .user-info .quick-links [data-timer-type] { margin: 0; }
.header .user-info .quick-links .game-icon:before { top: 1px; }

.header .game-time span {
  font-family: var(--mono);
  font-weight: 700;
  position: absolute;
  top: 2px; left: 50%; transform: translateX(-50%);
  padding: 0 4px;
  background: rgba(0,0,0,.5);
  color: rgba(255,255,255,.7);
  border-radius: 4px;
  font-size: 12px; line-height: 20px;
  transition: all var(--t-mid) ease-in-out;
}
.header .game-time span:hover {
  background: rgba(31,138,112,.9);
  color: #fff; transform: translateX(-50%) scale(1.08);
  box-shadow: 0 0 10px rgba(31,138,112,.5);
}

/* Page header image strip */
.page-header-image {
  background-position: center top; background-size: cover;
  height: 130px;
  border-bottom: 2px solid rgba(255,255,255,.1);
  filter: brightness(.9) contrast(1.1);
  transition: filter var(--t-slow);
}
.page-header-image:hover { filter: brightness(1) contrast(1.2); }

/* ------------------ Game Shell ------------------ */
.game {
  position: fixed; top: 140px; left: 0; right: 0; bottom: 0;
  color: #eee;
}
.game > div { overflow-y: auto; }
.game-container { max-width: var(--container); margin: auto; position: relative; }

/* Left menu */
.game .left-menu {
  height: 100%; background: var(--bg-3); float: left; width: 190px; padding: 10px;
}
.game .menu ul, .game .menu li { margin: 0; padding: 0; }
.game .menu li { list-style: none; }
.game .menu li .progress {
  height: 11px; float: right; width: 75px; margin: 5px 5px 0 0; background: #500; position: relative;
}
.game .menu li .progress span {
  position: absolute; font-size: 10px; left: 4px; top: -3px; color: rgba(255,255,255,.7);
}
.game .menu li a { display: block; text-align: center; }
.game .menu li .user-name a { display: inline; text-align: left; }
.game .menu li ul li {
  background: #2d2d2d; margin-bottom: 3px; border-radius: var(--r-md);
  border: 1px solid var(--line-2); border-left: 4px solid #244724;
  transition: border-left-color var(--t-mid), background var(--t-mid);
}
.game .menu li ul li a { text-align: left; padding-left: 3px; }
.game .menu li ul li:hover { background: #282828; border-left-color: #3d783d; }
.game .title {
  text-transform: uppercase; text-align: center; font-weight: 700; margin-top: 11px;
  color: #3c763d; font-size: 11px;
}
.game .menu li.title:nth-child(1) { margin-top: 0; }

/* Content */
.game .content {
  height: 100%; overflow-y: auto; float: left; width: calc(100% - 445px);
  padding: 0 20px 20px; color: #eee; text-align: center;
  background-image: url("../images/bg-game.png") !important;
}

/* Right column (users online) */
.game .users-online {
  height: 100%; background: var(--bg-3); float: right; width: 190px; padding: 10px;
}
.game .users-online .user-name { display: block; padding: 2px; }
.game .users-online .user-name .image-holder { line-height: 20px; }
.game .users-online .user-name .image-holder img { width: 20px !important; height: 20px !important; }

/* Stock strip (banner-like) */
a.stock {
  display: block; margin-left: -20px; margin-right: -20px; margin-bottom: 20px;
  background: #2d2d2d; border: 3px solid #444; border-top: none; text-decoration: none !important;
}

/* Quick links rail */
.quick-links {
  height: 100%; background: var(--bg-5); float: left; text-align: center; width: 65px; font-size: 10px; overflow-x: hidden;
}
.quick-links .new { color: #0F0; }
.quick-links a { text-decoration: none; }
.quick-links i {
  display: inline-block; font-size: 32px; border-radius: 50%; background: var(--bg-3);
  width: 50px; line-height: 46px;
}
.quick-links .game-icon:before { top: 0; position: relative; }
.quick-links [data-timer-type] { margin: 5px; }
.quick-links [data-timer-type] span { display: block; }
.quick-links [data-timer-type] i { position: relative; }
.quick-links [data-timer-type] i .badge {
  position: absolute; top: -3px; right: -3px; font-weight: 400; background: #555; border: 1px solid #777; font-style: normal;
}

/* ------------------ Navbar / Tabs ------------------ */
.navbar.navbar-inverse {
  margin-bottom: 0; background: #1a1a1a;
  border-bottom: 2px solid rgba(255,255,255,.05); box-shadow: var(--shadow-3);
}
.navbar.navbar-inverse .caret { display: block; margin: auto; }
.navbar.navbar-inverse .nav.nav-pills.nav-justified a {
  margin: 8px; margin-top: 4px; padding: 8px 12px;
  border-radius: 5px; transition: background var(--t-mid), transform var(--t-mid);
}
.navbar.navbar-inverse .nav.nav-pills.nav-justified a:hover {
  background: rgba(31,138,112,.7); transform: scale(1.05); color: #fff;
}

.nav-justified > .dropdown .dropdown-menu {
  z-index: 1000000; background: #1d1d1d; border: 1px solid #424242; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.nav .title a {
  background: #1d1d1d !important; border: 1px solid #424242 !important;
  padding: 6px 12px; border-radius: 4px;
}

.nav-upside-down {
  border-top-left-radius: 0 !important; border-top-right-radius: 0 !important;
  border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border-bottom: none !important;
}

/* ------------------ Panels ------------------ */
.panel {
  background: var(--bg-2) !important; border-radius: var(--r-lg);
  padding: var(--sp-5); border: 1px solid var(--line-1); box-shadow: var(--shadow-1);
}
.panel-heading {
  background: #181818 !important; color: #8fbfa8 !important;
  font-size: 15px; font-weight: 700; text-align: center; padding: 10px;
  border-radius: 6px 6px 0 0; border-bottom: 2px solid var(--acc);
}
.panel-body { padding: 12px; background: var(--bg-2) !important; border-radius: 0 0 var(--r-lg) var(--r-lg); color: var(--txt-dim); }

/* Futuristic container used by crimes list */
.futuristic-panel {
  background: var(--bg-2); border: 1px solid #444; border-radius: var(--r-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,.6); color: #ddd; overflow: hidden;
}
.futuristic-panel .panel-heading { background: #181818 !important; color: #8fbfa8 !important; border-bottom: 2px solid var(--acc); }
.futuristic-list-item {
  background: var(--bg-4); border: 1px solid #444; margin-bottom: 5px; border-radius: var(--r-md);
  padding: 10px 15px; transition: background var(--t-mid), transform var(--t-mid), box-shadow var(--t-mid); cursor: pointer;
}
.futuristic-list-item:hover { background: #3a3a3a; transform: translateX(5px); box-shadow: 0 4px 12px rgba(0,0,0,.8); }
.futuristic-list-item a { color: inherit; display: block; text-decoration: none; }

/* ------------------ Forms ------------------ */
.form-control {
  background: #444; border-radius: 5px; border: none; color: #ccc;
}
.form-control-inline { display: inline-block; width: 200px; }
input[type=radio], input[type=checkbox] { margin: 0; vertical-align: middle; }
.input-sm, select.input-sm { height: 26px; line-height: 26px; margin-top: 4px; }

select {
  background: #222 !important; color: var(--txt-dim) !important;
  padding: 10px; border-radius: 6px; border: 1px solid #2d2d2d !important; font-size: 14px; width: 100%;
  transition: background var(--t-mid);
}
select:hover { background: #2a2a2a !important; }

/* ------------------ Buttons ------------------ */
button, .btn {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  color: #c0f2d1;
  border: 2px solid var(--acc);
  padding: 10px 16px; border-radius: var(--r-lg);
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px;
  transition: all var(--t-slow); cursor: pointer; display: inline-block; text-align: center;
  box-shadow: var(--shadow-1);
}
.btn:hover, .btn:focus, .btn:active {
  background: linear-gradient(135deg, var(--acc), var(--acc-2));
  color: #fff; transform: scale(1.05); box-shadow: var(--shadow-2);
}
.btn:active { transform: scale(.98); box-shadow: 0 2px 6px rgba(0, 209, 178, .3); }

.btn.btn-default.disabled, .btn.btn-default[disabled],
.btn:disabled {
  background: #2a2a2a; border: 2px solid #3a3a3a; color: #666; cursor: not-allowed; box-shadow: none;
}

/* Danger override — keep your reset-wait style */
.btn-danger.btn-reset-wait {
  background: linear-gradient(135deg, #1c1c1c, #242424) !important;
  color: #b0f2c2 !important;
  border: 1px solid var(--acc) !important;
  padding: 6px 14px !important; border-radius: var(--r-md) !important;
  font-size: 12px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: .5px !important;
  transition: all var(--t-mid) !important; cursor: pointer !important; display: block !important; margin: auto !important;
}
.btn-danger.btn-reset-wait:hover {
  background: linear-gradient(135deg, var(--acc), var(--acc-2)) !important; color: #fff !important;
  transform: scale(1.03) !important; box-shadow: 0 3px 8px var(--acc-soft) !important;
}
.btn-danger { background: linear-gradient(135deg, var(--danger), var(--danger-2)) !important; border: 1px solid var(--acc) !important; color: #fff !important; }

/* ------------------ Progress ------------------ */
.progress { background: #111; border-right: 0; border-bottom: 0; margin-bottom: 0; }
.progress-bar-success { background: #0d4d0d; border: 1px; box-shadow: none; }

/* ------------------ Alerts / Notifications ------------------ */
.alert {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 16px 24px 16px 72px; border-radius: 8px; min-height: 36px; max-width: 600px; margin: 10px auto;
  font-size: 13px; font-weight: 600; text-align: left;
  background: linear-gradient(135deg, rgba(0,0,0,.9), rgba(30,30,30,.9));
  color: #eaeaea; border: 1px solid var(--line-1); box-shadow: 0 4px 12px rgba(0,0,0,.6);
  transition: all var(--t-slow);
  animation: fadeIn .2s forwards;
}
  .alert::before {
    content: none !important;  /* fjerner ikonet/sirkelen */
    display: none !important;
}

 

.alert:hover { transform: scale(1.02); box-shadow: 0 6px 16px rgba(0,0,0,.8); }

/* Types */
.alert.alert-success { background: linear-gradient(135deg, #3c4b17, #283618); color: #d1ffbd; border: none; }
.alert.alert-warning { background: linear-gradient(135deg, var(--warn-brown-1), var(--warn-brown-2)); color: #ffeb99; border: none; }
.alert.alert-danger { background: linear-gradient(135deg, #6c0b0b, #3b0505); color: #ffcccc; border: none; }
.alert.alert-info { background: linear-gradient(135deg, #2c3e50, #212f3c); color: #a3d2ff; border: none; }

.alert .timer-active {
    color: #ff4d4d !important;
    background: rgba(50,0,0,0.6) !important;
    
    text-shadow: 0 0 6px rgba(255,80,80,0.8);
    font-weight: bold;
}


.alert .timer-active.timer-running { animation: pulse 2s infinite; }

/* ------------------ Crime Holder ------------------ */
.crime-holder {
  position: relative; border-radius: var(--r-md); margin: 4px;
  border: 1px solid rgba(47,79,79,.4);
  background: linear-gradient(135deg, var(--bg-2), #222);
  padding: 6px; box-shadow: var(--shadow-1);
  transition: all var(--t-mid); font-size: 12px;
}
.crime-holder:hover { border-color: var(--acc); box-shadow: 0 3px 7px var(--acc-soft); transform: scale(1.01); }

.crime-holder .level-tag {
  position: absolute; right: 60px; font-size: 9px; color: #8fbfa8;
}
.crime-holder p {
  line-height: 28px; margin: 0; text-align: right; z-index: 10; position: relative; font-size: 12px; color: var(--txt-dim);
}
.crime-holder .cooldown { color: #8fbfa8; padding-right: 15px; font-size: 11px; }
.crime-holder .action { float: left; padding-left: 6px; }

/* progress overlay inside card */
.crime-holder .crime-perc {
  position: absolute; left: 4px; right: 55px; top: 4px; bottom: 4px; z-index: 1;
  border-right: 1px solid var(--acc); border-bottom: 1px solid var(--acc); border-radius: var(--r-md);
  background: linear-gradient(135deg, #101010, #161616);
}
.crime-holder .crime-perc .perc {
  height: 100%; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(0,255,128,.3), rgba(0,255,128,.5));
  width: 0; transition: width var(--t-mid) ease-in-out;
}

.crime-holder .commit {
  background: linear-gradient(135deg, #222, #2e2e2e); display: inline-block;
  border-radius: 5px; text-align: center; line-height: 24px; margin-right: 4px; width: 65px;
  border: 1px solid var(--acc); color: #c0f2d1; font-size: 12px; font-weight: 700;
  transition: all var(--t-mid); cursor: pointer;
}
.crime-holder .commit:hover {
  background: linear-gradient(135deg, var(--acc), var(--acc-2)); color: #fff;
  transform: scale(1.04); box-shadow: 0 2px 5px var(--acc-soft);
}
.crime-holder .crime-header {
  background: linear-gradient(135deg, #191919, #222);
  border-bottom: 1px solid var(--acc);
  border-top-right-radius: var(--r-md); border-top-left-radius: var(--r-md);
  padding: 4px 8px; font-size: 12px; font-weight: 700; color: #8fbfa8;
}

/* ------------------ Tables ------------------ */
table tr td, table tr th { text-align: left; }
.table-borderless tr, .table-borderless td, .table-borderless th { border: none !important; }
.table-bordered, .table-bordered th, .table-bordered td { border-color: #272727 !important; }
.table-striped>thead>tr:nth-child(odd)>td, .table-striped>thead>tr:nth-child(odd)>th { background: #171717; }
.table-striped>tbody>tr:nth-child(odd)>td, .table-striped>tbody>tr:nth-child(odd)>th { background: #272727; }
.table-striped>tbody>tr:nth-child(even)>td, .table-striped>tbody>tr:nth-child(even)>th { background: #373737; }
.table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th,
.table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td { padding: 2px 5px; }
.img-thumbnail { background: transparent; border-color: #555; }

/* ------------------ Lists ------------------ */
.list-group, .list-group .list-group-item { border-color: var(--line-3); color: #fff; margin-bottom: 0; }
.list-group .list-group-item { padding: 5px; }
.list-group .list-group-item:nth-child(odd) { background: #171717; }
.list-group .list-group-item:nth-child(even) { background: #252525; }
.list-group .list-group-item .badge { background: transparent; }

/* ------------------ Dropdowns ------------------ */
.dropdown-menu { background: #0e0e0e; }
.dropdown-menu>li>a { color: #979797; }
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus { background: #474747; color: #b7b7b7; }
.dropdown-menu .divider { background: #979797; }

/* ------------------ Login ------------------ */
.login-logo { border-radius: 50%; width: 140px; margin-top: 100px; }
.login-logo-text {
  font-family: var(--font); font-size: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.login-container { margin: 0 auto; max-width: 300px; text-align: center; vertical-align: middle; }
.login-container input {
  border: none; background: rgba(255,255,255,.19); border-radius: 3px;
  padding: 20px 10px; margin-bottom: 6px; color: #fff;
}
.login-container .btn { background: transparent !important; border: 1px solid #888; }
.login-form { width: calc(100% - 10px); max-width: 400px; margin: 0 auto; }
.login-form.login-form-inline {
  vertical-align: top; display: inline-block; min-height: 325px; text-align: left; margin: 5px 5px 15px;
}
.login-form.nav-justified>li { display: table-cell !important; width: 1% !important; }

/* ------------------ User / Status ------------------ */
.user-status-0 .navigation { display: none; }
.user-status-0 .game-container { max-width: 800px; margin: 20px auto 0; float: none; }
.user-status-0 .logo-container { text-align: center !important; width: 100%; }
.user-status-0 .sub-header, .user-status-0 .header .col-md-2, .user-status-0 .header .col-md-3 { display: none; }
.user-level-0:before { content: "[BANNED]"; }
.user-level-0, .user-level-0:hover { color: #777; }
.user-level-2, .user-level-2:hover { color: #ff0; font-weight: 700; }
.new { color: var(--success-1); font-weight: 700; }

[class*="online-status-"] .image-holder { position: relative; display: inline-block; }
[class*="online-status-"] .image-holder::after {
  content: ""; position: absolute; bottom: 0; right: 0; height: 30%; width: 30%;
  border-radius: 50%; border: 1px solid #555;
}
.online-status-0 .image-holder::after { background: #900; }
.online-status-1 .image-holder::after { background: #970; }
.online-status-2 .image-holder::after { background: #090; }

.status-0 .image-holder::after {
  background: rgba(222,0,0,.25); top: 0; left: 0; border: none; height: 100%; width: 100%;
}
.status-0 .image-holder img { filter: grayscale(100%); }

.user-name.status-0 .image-holder { position: relative; }
.image-holder .img-thumbnail {
  padding: 1px; background: transparent; border-color: #555; border-radius: 50%;
}

/* ------------------ Profile Components ------------------ */
.profile-actions {
  display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin-bottom: 8px;
}
.profile-actions button {
  background: #1c1c1c; color: var(--success-2); border: 1px solid #2a2a2a;
  padding: 6px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase;
  border-radius: 4px; cursor: pointer; transition: all var(--t-fast);
}
.profile-actions button:hover { background: #2a2a2a; color: #fff; }

.profile-header {
  text-align: center; font-size: 15px; font-weight: 700; color: #ff4444; text-transform: uppercase;
  padding: 6px; background: var(--bg-2); border-radius: 5px; margin-bottom: 6px;
}

.profile-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 6px;
  padding: 8px; background: var(--bg-2); border-radius: 6px; text-align: center;
}
.profile-stats .stat-box {
  background: var(--bg-3); padding: 8px; border-radius: 5px; font-size: 12px; font-weight: 700;
  border: 1px solid #333; transition: transform var(--t-fast), background var(--t-fast);
}
.profile-stats .stat-box:hover { background: #2a2a2a; transform: scale(1.03); }
.profile-stats .stat-box strong { display: block; color: #bbb; font-size: 11px; font-weight: 400; }
.profile-stats .stat-box span { display: block; font-size: 13px; font-weight: 700; color: var(--success-2); }

.profile-pic {
  display: flex; justify-content: center; align-items: center;
  background: var(--bg-2); padding: 10px; border-radius: 6px; margin-bottom: 6px;
}
.profile-pic img {
  max-height: 160px; border-radius: 5px; border: 2px solid #444; transition: transform var(--t-mid);
}
.profile-pic img:hover { transform: scale(1.05); }

.bio {
  background: var(--bg-3); padding: 10px; border-radius: 5px; font-size: 12px; color: #bbb;
  text-align: center; margin-top: 8px; box-shadow: 0 2px 3px rgba(0,0,0,.15);
}

/* ------------------ BBCode images ------------------ */
.bbcode_img { max-width: 100%; }

/* ------------------ Nav Pills / Tabs ------------------ */
.nav-pills>li>a { padding: 5px; margin-bottom: 10px; }
.nav-pills>li>a:hover { background: #474747; }
.nav-pills .nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }

.nav-tabs {
  border-bottom: 1px solid var(--line-3) !important; margin-bottom: 10px; padding-bottom: 10px;
}
.nav-tabs li a { border-bottom-color: transparent !important; }
.nav-tabs li a:hover {
  background: #474747; border-radius: 5px; border-color: transparent;
}

/* ------------------ Modal ------------------ */
.modal { background: rgba(0,0,0,.9); }
.modal-backdrop { display: none !important; }
.modal-header { border-bottom: 1px solid #444; background: #404040; padding: 5px; }
.modal-body { position: relative; padding: 5px; background: #1d1d1d; }
.modal-footer { margin-top: 0; padding: 5px; text-align: right; border-top: 1px solid #444; background: #2b2b2b; }

/* ------------------ Timers ------------------ */
.timer-active { color: #a94442 !important; }
.timer-done { color: var(--success-1) !important; }

/* ------------------ Misc ------------------ */
hr { border-top: 1px solid var(--line-3) !important; }
.timers { background: transparent; }
.navigation .label { float: right; }
.mobile-menu { display: none; }

/* ------------------ Responsive ------------------ */
@media (max-width: 768px) {
  .navbar.navbar-inverse .nav.nav-pills.nav-justified a { margin: 6px; padding: 6px 10px; font-size: 12px; }

  .panel { margin-bottom: 15px; }
  .panel-heading { font-size: 14px; padding: 10px; }
  .panel-body { padding: 10px; }

  html, body { font-size: 12px; }
  .login-logo { padding: 10px 0; text-align: center; }

  .game { top: 124px; position: relative; height: calc(100% - 124px); }
  .game .menu { display: none; width: 50%; float: left; padding-bottom: 75px; }
  .game .content { width: 100%; padding: 10px; padding-bottom: 75px; }
  .game .quick-links {
    position: fixed; bottom: 0; left: 0; right: 0; height: 75px; z-index: 5; width: auto; overflow: hidden;
  }
  a.stock { margin-left: 0; margin-right: 0; margin-top: -10px; }
  .quick-links [data-timer-type] { display: inline-block; }

  .header { position: absolute; top: 0; left: 0; right: 0; height: 124px; background-size: 100% 45px; background-repeat: no-repeat; }
  .header .navbar-toggle { margin-left: -10px; margin: 5px 0; }
  .header .user-info {
    position: absolute; top: 46px; left: -10px; right: -10px;
    border-radius: 0; height: 75px; line-height: 22px; margin: 0; text-align: center; padding: 0;
  }
  .page-header-image { height: 80px; }
  .header .game-time span {
    position: absolute; bottom: 51px; border-bottom-right-radius: 0; border-bottom-left-radius: 0;
    border: none; background: rgba(22,22,22,.8); right: 10px; left: auto; margin-left: 0; width: 200px;
  }

  .logo-container img { height: 40px; }
  .header { line-height: 25px; }
  .header .logo-container { text-align: center !important; }
  .header .col-xs-6 { padding: 0; }
  .logo-container { line-height: 60px; }

  .crime-holder { width: 100% !important; margin-left: 0; margin-right: 0; }
  .crime-holder p { text-align: center; line-height: 32px; }
  .crime-holder .action { display: block; float: none; }
  .crime-holder .cooldown, .crime-holder .commit {
    width: 49%; float: none; display: inline-block !important; text-align: center; font-size: 12px; margin: 14px 0 4px;
  }
  .crime-holder .commit:after { content: ""; display: block; clear: both; }

  .mobile-menu {
    background: #272727; height: 100%; overflow: auto; position: absolute; inset: 0;
    display: none; z-index: 1000;
  }
  .mobile-menu ul.nav {
    position: absolute; top: 0; bottom: 30px; left: 0; right: 0; overflow: auto;
  }
  .mobile-menu .close-mobile-menu {
    position: absolute; text-align: center; bottom: 0; left: 0; right: 0; line-height: 30px;
    color: #fff; z-index: 1100; background: #474747;
  }
  .mobile-menu li { float: left; text-align: center; }
  .mobile-menu li a { padding: 7px 15px; margin-bottom: 0; }
  .mobile-menu .title { display: block; clear: both; font-weight: 700; }

  .padding { padding: 0 2%; }
  .game-container { padding: 0; }

  .navbar-toggle { background: #272727; border: 1px solid #474747; margin-left: -5px; margin-right: 0; float: left; }
  .navbar-toggle .icon-bar { background: #fff; }
}

/* ------------------ Animations ------------------ */
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse {
  0% { box-shadow: inset 0 1px 3px rgba(0,0,0,.2), 0 2px 4px rgba(0,0,0,.1); }
  50% { box-shadow: inset 0 2px 6px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.2); }
  100% { box-shadow: inset 0 1px 3px rgba(0,0,0,.2), 0 2px 4px rgba(0,0,0,.1); }
}

/* ------------------ Extras: Badges / Chips ------------------ */
.badge-soft {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--txt);
  font-size: 10px; letter-spacing: .4px;
}
.chip-acc { background: rgba(31,138,112,.1); border-color: rgba(31,138,112,.35); color: #b8f5e9; }

/* ------------------ Old Styles kept for compatibility ------------------ */
.well { background: #222; border: 1px solid #474747; text-align: left; }
.well h3 { margin-top: 0; }
.navbar-toggle { background-color: #272727; border: 1px solid #474747; }
.navbar-toggle .icon-bar { background-color: #fff; }
