/* ================= RESET & GLOBAL ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  font-family: 'Oswald', sans-serif;
  padding-bottom: 60px; /* tinggi bottom bar */
}

a {
  color: white;
  text-decoration: none;
}
a:hover {
  color: white;
}

img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}

.space {
  width: 100%;
  height: 10px;
}

/* ================= CONTAINER ================= */
.container {
  width: 70%;
  margin: auto;
}

/* ================= HEADER ================= */
.head {
  width: 100%;
  box-sizing: border-box;
  padding: 40px 0;
  font-size: 26px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to bottom, #004aad, #111);
}


/* ================= MENU ================= */
.menu {
  width: 100%;
  text-align: center;
  background: #c7a44c;
}
.menu a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  color: #000;
  border-bottom: 1px solid #000;
}

/* ================= CONTENT ================= */
.content {
  width: 100%;
  border: 1px solid #fff;
  border-radius: 10px;
}

.content p {
  font-size: 16px;
  color: white;
  margin: 5px;
}

/* ================= HEADINGS ================= */
h1 { text-align: center; margin: 20px 0; }
h2, h3 { text-align: center; margin: 30px 0; font-size: 26px; color: white; }
h4 { text-align: center; margin: 25px 0; font-size: 20px; color: white; }

.title-head { font-size: 24px; color: white; }
.title-footer { font-size: 26px; color: white; }

/* ================= BANNER ================= */
.banner, .banner1, .banner2, .banner-top, .headerbanner {
  text-align: center;
}
.banner img,
.banner1 img,
.banner2 img,
.headerbanner img,
.banner-top img { width: 49%; margin: 5px auto; }

.banner-float {
  position: fixed;
  width: 100%;
  text-align: center;
  bottom: 0;
  z-index: 9999;
}
.banner-float img { width: 728px; }

/* ================= FLOATING ================= */
.floating-top, .floating-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1001;
}
.floating-top { top: 0; }
.floating-bottom { bottom: 0; }

.floating-top img, .floating-bottom img { width: 32%; }

/* ================= TABLE ================= */
.lassres { width: 70%; margin: auto; }
.lassres table { width: 100%; }
.t1 { width: 40%; padding: 5px 10px; border: 1px solid #989898; background: white; font-size: 16px; }
.t2, .t3 { width: 30%; padding: 5px 10px; border: 1px solid #989898; background: white; font-size: 16px; }

.table-container { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }

.kepala { text-align: center; font-size: 20px; background: #de0000; color: white; }

/* ================= IKLAN ================= */
.iklan { width: 100%; border: 2px solid #ff6600; }
.iklan img { width: 100%; border: 2px solid #ff6600; }

/* ================= FOOTER ================= */
.footer_container { width: 100%; display: block; }
.inside_footer_container { width: 100%; display: flex; text-align: center; }
.footer_button {
  width: 22%;
  display: inline-block;
  margin: 1% 0 0 0;
  padding: 10px 0;
  background-color: #d3d3d3;
  box-shadow: 0 0 10px 1px #141414;
  font-size: 15px;
  font-weight: bold;
  color: black;
  letter-spacing: 0.2px;
}

/* ================= BOTTOM BAR ================= */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  border-top: 2px solid #ffcc00;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
}
.bottom-bar a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  flex: 1;
  text-align: center;
  padding: 6px 0;
  transition: all 0.3s ease;
}
.bottom-bar a:hover { background: #222; color: #ffcc00; }
.bottom-bar a.active { color: #ffcc00; font-weight: bold; border-top: 2px solid #ffcc00; }

/* ================= LINK LIST ================= */
.out-link { list-style-type: square; margin: 0 35px; color: white; }
.out-link a { color: white; }

/* ================= ANIMASI ================= */
.kotak-berkedip {
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  animation: blink 1s infinite;
}
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.2; } 100% { opacity: 1; } }

/* ================= POPUP ================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  transition: opacity .5s;
  visibility: visible;
  opacity: 1;
  z-index: 999;
}
.overlay:target { visibility: hidden; opacity: 0; }
.popup {
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  position: relative;
  width: 300px;
  padding: 15px;
  border-radius: 5px;
}
.popup h2 { margin-top: 0; color: #333; font-family: Tahoma, Arial, sans-serif; }
.popup .close {
  position: absolute;
  right: 5px;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: .2s;
}
.popup .close:hover { color: #06d85f; }
.popup .content { max-height: 50%; overflow: auto; margin-top: 30px; }

/* ================= FOOTER DOFOLLOW LINKS ================= */
.related-links {
  margin: 20px auto;
  width: 100%;
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 16px;
  background: #111;
  border-radius: 10px;
}
.related-sites ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.related-sites li { margin: 0; }
.related-sites a {
  font-size: 14px;
  color: #f7f7f7;
  text-decoration: none;
  padding: 6px 12px;
  background: #222;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid #444;
}
.related-sites a:hover { color: #ffcc00; background: #333; text-decoration: underline; }

/* ================= SCREEN READER ================= */
.sr-only {
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0);
  white-space:nowrap; border:0;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.cb,
.asu {
  color: #000 !important;
}

table td[colspan] {
  color: #000 !important;
  font-weight: bold;
}

tr.headd {
  background-color: #fff;
  color: #000; 
  font-weight: bold;
  text-align: center;
}

.asu {
  font-weight: 100;
}

.e1,
.e2,
.e3,
.e4,
.e5,
.e6,
.e7,
.e8,
.e9,
.e0 {
  background-color: #ff4d4d;
  border-radius: 0;
  color: #000;
}

.k1,
.k2,
.k3,
.k4,
.k5,
.k6,
.k7,
.k8,
.k9,
.k0 {
  background-color: green;
  border-radius: 0;
  color: #fff;
}

.c1,
.c2,
.c3,
.c4,
.c5,
.c6,
.c7,
.c8,
.c9,
.c0 {
  background-color: blue;
  border-radius: 0;
  color: #fff;
}

.a1,
.a2,
.a3,
.a4,
.a5,
.a6,
.a7,
.a8,
.a9,
.a0 {
  background-color: orange;
  border-radius: 0;
  color: #000;
}

.highlight {
  padding: 1px 4px;
  margin: 0 -4px;
}

input.cari {
  width: 50px;
  text-align: center;
  color: #333;
  font-weight: 700;
  background: #f0f7f2;
}

#rb {
  background: #20a53a;
}

#myForm {
  padding: 5px;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
  list-style: none;
  vertical-align: baseline;
}

.head th {
  background: #20a53a;
  color: #fff;
  border: 1px solid #ddd;
  font-weight: normal;
  height: 20px;
}

.entry-content th,
.entry-content td,
.comment-content th,
.comment-content td {
  padding: 0 !important;
}

textarea {
  width: 100%;
}

.asux {
  background: none repeat scroll 0 0 #fff;
  color: #d7d1d1;
  font-weight: 400;
}

tr:nth-last-child(5n+1) {
  background: none repeat scroll 0 0 #e8e4e7 !important;
}

.colormenu {
  background: #022142;
  width: 738px;
  height: 30px;
  center: unset;
  z-index: 99999;
  padding: 0;
  max-width: 100%;
  margin-bottom: 10px;
}

.colormenu.fixed {
  position: fixed;
  height: 30px;
  center: unset;
  width: 738px !important;
  top: 0;
  left: 0 !important;
  margin: auto;
  right: 0;
}

.intro td {
  background: none repeat scroll 0 0 #ffffff !important;
}

table {
  background: #fff none repeat scroll 0 0;
  margin: 1px;
  min-width: 500px;
}

#drawing-table thead td {
  background: #dd9933 !important;
  width: 100%;
  background: #0000f4 !important;
  margin: 0;
  margin-top: 10px;
}

#drawing-table td {
  border: 1px solid #d9d9d9;
  text-align: center;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: bold;
  padding: 3px 0 3px 0;
}

#color-selector .color {
  float: left;
  height: 25px;
  position: relative;
  width: 11%;
  cursor: pointer;
}

#color-selector .color.eraser {
  background: none repeat scroll 0 0 #fff;
}

#color-selector .color.Blue {
  background: #43a2ff;
}

#color-selector .color.Aqua {
  background: #00F5FF;
}

#color-selector .color.Teal {
  background: #43CD80;
}

#color-selector .color.Lime {
  background: #01FF70;
}

#color-selector .color.Yellow {
  background: #FFDC00;
}

#color-selector .color.Orange {
  background: #FF851B;
}

#color-selector .color.Red {
  background: #FF4136;
}

#color-selector .color.Pink {
  background: #F012BE;
}

#color-selector .color.Purple {
  background: #A23BEC;
}

#color-selector .color.Silver {
  background: #a9a9a9;
}

#color-selector .selected {
  box-shadow: inset 0 0 0 2px #000;
}

#btnSubmit {
  float: left;
  margin-top: 0;
  font-size: 9px;
  background: #333;
  color: #FFF;
  font-weight: 600;
  border: none;
  height: 25px;
  line-height: 25px;
  width: 10%;
  cursor: pointer;
  text-transform: uppercase;
}

#table-wrap {
  font-weight: 700;
  position: relative;
}

#table-wrap table {
  position: relative;
  z-index: 10;
}

#toggle-tracing-mode {
  display: none;
}

#html-wrap textarea {
  height: 50px;
  margin: 0 0 10px;
  overflow: auto;
  width: 100%;
}

@media (max-width:767px) {
  #drawing-table {
    min-width: 100%;
    margin-right: -10px;
    margin-left: -10px;
  }
}

@media (max-width:370px) {
  #drawing-table td {
    font-size: 10px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .container { width: 100%; }
  .menu a { display: block; font-size: 20px; }
  .banner1 img, .banner2 img, .banner img { width: 100%; }
  .lassres { width: 100%; }
  h3, .title-footer { font-size: 14px; }
  .banner-float, .banner-top { width: 98%; }
  .banner-float img, .banner-top img { width: 98%; }
}

@media (max-width: 768px) {
  .related-sites a { font-size: 12px; padding: 5px 8px; }
}

@media (max-width: 550px) {
  .logo { width: 205px; margin: auto; }
  .banner1 img { width: 100%; }
}

/* Kotak tips utama */
.paito-tips {
  background: #000; /* Background tetap hitam */
  border: 2px solid transparent; /* Dibutuhkan untuk efek gradient */
  border-image: linear-gradient(to bottom, #004aad, #111) 1;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin: 18px 0;
  color: #fff; /* Warna teks putih */
}

/* Judul tips */
.paito-tips h2 {
  font-size: 1.2rem;
  margin: 0 0 12px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 5px rgba(0,74,173,0.7);
}

/* Paragraf umum di dalam tips */
.paito-tips p {
  color: #fff;
  line-height: 1.6;
  margin: 0 0 12px;
}

/* List container */
.paito-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Item list */
.paito-tips-list li {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #000; /* Tetap hitam di dalam */
  border: 1px solid transparent;
  border-image: linear-gradient(to bottom, #004aad, #111) 1;
  transition: all 0.3s ease;
}

/* Efek hover untuk highlight */
.paito-tips-list li:hover {
  background: rgba(0,74,173,0.15);
  transform: translateY(-2px);
}

/* Judul kecil dalam setiap list */
.paito-tips-list li strong {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: #00aaff; /* Warna biru terang untuk kontras */
}
