.alert.alert-danger {
  width: 98%;
  color: #2e2835;
}


.hr-dashboard {
  all:unset;
  color: #ccc;
  border: 1; 
}

.anime-right {
  position: fixed;
  right: 10px;
  bottom: 0;
  width: 120px;
  height: 120px;
  z-index: 1000;
}

.anime-right img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

/* Tooltip */
.tooltip-text {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  position: absolute;
  bottom: 100%;
  right: 0;
  left: auto;
  transform: translateX(0);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: normal;
  min-width: 180px;
  font-size: 10px;
  line-height: 1.4em;
}

.anime-right:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

button.tablink {
  background: #212529;
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 0px;
}
.dashboard-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 3px;
}

.dashboard-main {
  margin: 0 auto;
}

* {
  font-family: -apple-system, Tahoma, Geneva, Verdana, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  font-size: 12px !important;
  background: #212529;
  color: #e0e0e0;
  margin: auto;
  padding: 0 !important;
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4 {
  color: #f1f1f1 !important;
}

a,
a:active,
a.nav-link,
a.nav-link:hover {
  font-size: 12px;
  text-decoration: none !important;
  color: #f4f6f9 !important;
  cursor: pointer;
}

a:hover {
  color: #e83b3b !important;
  cursor: pointer;
}

.buy-direction {
  color: #d4f4dd;
  font-weight: bold;
}

.sell-direction {
  color: #ffe0e0;
  font-weight: bold;
}

.div-share {
  display: flex;
  justify-content: center;
}

.select-id {
  all: unset;
  color: #fff;
  right: 30px;
  position: absolute;
  box-sizing: border-box;
  -webkit-appearance: menulist;
  appearance: menulist;
  font-size: 10px;
  padding: 3px;
}

.marquee-container {
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  height: 25px;
  position: relative;
  background: #fc6203;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  line-height: 25px;
  font-size: 12px;
  animation: scroll-left linear infinite;
  background: #fc6203;
}

/* Animasi */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-content span {
  display: inline-block;
  padding-right: 20px;
}

select,
select option {
  user-select: none;
}

.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  margin-top: -8px;
}

.caption {
  vertical-align: middle;
  margin-top: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 22px;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(18px);
}

/* ========== LAYOUT STRUCTURE ========== */
.dashboard-chart {
  max-width: 100%;
  width: 100%;
  padding: 3px;
  margin: 0 auto;
}

.container-acct {
  max-width: 100%;
  width: 100%;
  background: #072b4f;
  padding: 10px;
  margin: auto;
}

.container {
  max-width: 90%;
  width: 100%;
  background: #1e1e1e;
  padding: 20px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.wrapper {
  width: 100%;
  height: 100%;
}

.logo-table {
  display: flex;
  align-items: center;
  margin: 0;
  padding-left: 10px;
  padding-top: 10px;
}

/* ========== TYPOGRAPHY ========== */
.title-table {
  font-size: 12px;
  color: #fff;
  background: #204a77;
  padding: 5px;
  font-weight: bold;
  margin: auto;
  text-align: center;
}

.title-section {
  font-size: 12px;
  color: #fff;
  font-weight: bold;
  margin: auto;
  text-align: center;
  padding: 10px;
}
/* ========== IMAGES ========== */
img.flag {
  height: 14px;
  vertical-align: middle;
  margin-right: 5px;
}

.img-base64 {
  border: 0;
  display: inline-block;
  outline: none;
  vertical-align: middle;
  margin-bottom: 3px;
}

/* ========== TABLES ========== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.table-logo,
.table-logo td {
  background: #212529 !important;
  border: 0 !important;
  text-align: left !important;
  padding: 10px !important;
}

.table-data-signal {
  font-size: 12px;
  text-align: center;
  width: 100%;
  border-collapse: collapse;
}

.table-data-signal th,
.table-data-signal td {
  padding: 5px;
  border: 1px solid #444;
}

.table-data-signal tbody tr:nth-child(even) {
  background: #2a2a2a;
}

.table-data,
.table-data td {
  border: none;
  padding: 5px !important;
}

.table-data {
  width: 100%;
}

.table-data iframe {
  border: none;
  display: block;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  box-shadow: none !important;
}

table thead {
  background: #006bb8;
  color: #fff;
}

table thead th,
table tbody td {
  padding: 5px;
  white-space: nowrap;
}

table,
td {
  border: 1px solid #333;
}

.calctable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.calctable th,
.calctable td {
  border: 1px solid #444;
  padding: 10px;
  text-align: center;
}

/* ========== MODALS ========== */
.modal-help {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.modal-content-help {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(18, 18, 18);
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 1000px;
  max-height: 1000px;
  height: 60%;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
  overflow: auto;
}

.iframe-modal-help {
  width: 100%;
  height: 80%;
  border: none;
  overflow: hidden;
  scrollbar-width: none;
}

.modal-status {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content-status {
  position: absolute;
  top: 25%;
  left: 25%;
  background-color: rgb(38, 34, 34);
  padding: 5px;
  margin: auto;
  border: 1px solid #888;
  max-width: 1800px;
  max-height: 90vh;
  overflow: auto;
  width: 50%;
}

.close-status {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-status:hover,
.close-status:focus {
  color: #ccc;
  text-decoration: none;
}

/* ========== BUTTONS ========== */
button,
.btn-help,
.button-nav {
  background: #2a2a2a;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.button-nav {
  background: #6d6f7138;
}

.btn-help {
  background: #4fc3f7;
  margin: auto;
  width: 98%;
  cursor: pointer;
  text-align: center;
}

.btn-help:hover,
button:hover {
  background: #1e1e1e;
}

/* ========== IMPACT COLORS ========== */
.impact-low {
  color: #28a745;
  font-weight: bold;
}
.impact-medium {
  color: #ffc107;
  font-weight: bold;
}
.impact-high {
  color: #dc3545;
  font-weight: bold;
}
.past-event {
  opacity: 0.5;
  text-decoration: line-through;
}
.limit {
  background: #155724;
  color: #d4edda;
}
.stop {
  background: #856404;
  color: #fff3cd;
}
.support {
  background: #1b5e20;
  color: #a5d6a7;
}
.resistance {
  background: #b71c1c;
  color: #ef9a9a;
}
.bull {
  color: #00ff00;
  font-weight: bold;
}
.bear {
  color: #ff4444;
  font-weight: bold;
}

/* ========== SELECT & FORM ========== */
label {
  display: block;
  margin: 15px 0 5px;
  font-weight: 500;
}

select {
  width: 60%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #2a2a2a;
  color: #e0e0e0;
  box-sizing: border-box;
  -webkit-appearance: menulist;
  appearance: menulist;
}

option {
  -webkit-appearance: menulist;
  appearance: menulist;
  color: #fff;
}

/* ========== MISC ========== */
button.objtools,
select.objtools,
input.objtools {
  width: 98%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #2a2a2a;
  color: #e0e0e0;
}

select.objtools {
  -webkit-appearance: menulist;
  appearance: menulist;
}

button.objtools {
  width: auto;
  cursor: pointer;
}

button.login,
input.login {
  width: 98%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 6px;
  box-sizing: border-box;
}

input.login {
  width: 98%;
  background: #ffffff;
  color: #2e2835;
  margin-bottom: 0px;
}

button.login {
  width: 98%;
  cursor: pointer;
  text-align: center;
  background: #2a2a2a;
  color: #ffffff;
}

.showstatus {
  padding: 20px;
}

.site-infobwrap {
  color: #ccc;
  text-transform: capitalize;
  text-align: center;
  font-family: Tahoma, sans-serif;
  margin: auto;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  width: 80%;
}

#lastUpdate {
  margin-bottom: 15px;
  color: #bbb;
}

/* ========== BAR CHART STYLE ========== */
.label {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 10px;
}

.times {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #aaa;
  margin: 2px 0;
}

/* ========== CANVAS ========== */
canvas {
  max-width: 100%;
  height: 500px;
  display: block;
}

/* ========== OFFCANVAS ========== */
.offcanvas-wide {
  width: 90vw !important;
  max-width: none !important; /* Optional: buang had lebar default */
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .caption-time {
    font-size: 11px;
  }

  .showstatus {
    padding: 20px;
  }

  .modal-content-status {
    position: fixed;
    top: 25%;
    left: 0%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    margin: auto;
    border: 1px solid #888;
    max-width: 1800px;
    max-height: 90vh;
    overflow: auto;
    width: 100%;
  }

  tbody tr {
    margin-bottom: 15px;
    border: 1px solid #333;
    background: #212529;
  }

  tbody td {
    text-align: center;
    padding-left: 50%;
    position: relative;
  }

  tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    padding-right: 10px;
    font-weight: bold;
    text-align: left;
    color: #bbb;
  }

  .offcanvas-wide {
    width: 100%;
  }
}
