/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: -apple-system, Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-size: 12px !important;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
  background-image: url('myfxlabsbg.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100vh;
  background-attachment: fixed;
}


@media (max-width: 768px) {
  body {
    background-size: 100% 100%; /* fit penuh tanpa terpotong */
  }
}

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 {
  color: #80d8ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:visited {
  color: #66c0e6;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 150vh;
  margin: 0 auto;
  width: 100%;
  padding-top: 10vh;
  padding-bottom: 5vh;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: left !important;
}

.content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 0;
}

.site-infobwrap {
  /*! color: #ccc; */
  /*! text-transform: capitalize; */
  /*! text-align: center; */
  font-family: Tahoma, sans-serif;
  margin: auto;
  width: 80%;
  padding: 10px;
  margin-bottom: 10px;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  overflow: hidden;
}

.tabs button {
  flex: 1;
  background: #2c2c3e;
  color: #ccc;
  padding: 15px 10px;
  border: none;
  transition: background 0.3s, color 0.3s;
  border-radius: 0 !important;
  text-align: center;
}

.tabs button.active {
  background: #007cff94;
  color: #fff;
}

.tabs button:hover {
  background: #c0c0c0;
  color: #fff;
}

.tabcontent {
  display: none;
  padding: 30px;
  background: #918f8fd6;
  height: 100%;
  min-height: 500px;
}

.tabcontent h3 {
  margin-top: 0;
  color: #333;
}

/* ===== FORM & INPUT ===== */
button,
.btn-help,
.button-nav {
  background: #2a2a2a;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

button.login,
input.login {
  width: 98%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 6px;
  box-sizing: border-box;
}

input.login {
  background: #ffffff;
  color: #2e2835;
  margin-bottom: 0px;
}

button.login {
  cursor: pointer;
  text-align: center;
  background: #2a2a2a;
  color: #ffffff;
}

button.tablink {
  background: #212529;
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 0px;
}

/* ===== PASSWORD TOGGLE ===== */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 98%;
}

.password-wrapper input {
  flex: 1;
  padding-right: 35px;
}

.password-wrapper img.toggle {
  position: absolute;
  right: 10px;
  width: 20px;
  height: 20px;
  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;
}

/* ===== MEDIA/IMAGE ===== */
iframe {
  border: 0;
  background: #918f8f00 !important;
}

.img-base64 {
  border: 0;
  display: inline-block;
  outline: none;
  vertical-align: middle;
  margin-bottom: 3px;
}

/* ===== SPECIAL ELEMENTS ===== */
.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;
}

.anime-right:hover .tooltip-text {
visibility: visible;
opacity: 1;
}