/* =========================================================
   Trump 4D – public site styles
   Converted from the WordPress theme + custom CSS.
   Only rules used by the public pages are kept.
   ========================================================= */

html, body { margin: 0 auto; padding: 0; }

body {
  background: #050C28 !important;
  font-family: "Noto Sans", "Roboto", sans-serif;
  color: #fff;
}

a { text-decoration: underline !important; }

@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1280px !important;
  }
}

/* ---------- Header ---------- */
header { padding: 0 5px; }
.page-header { margin-bottom: 1rem; }
.site-title { margin-top: 0 !important; }
.site-title-heading { margin-left: 14px !important; margin-bottom: 0; }
.site-title-heading img { max-height: 90px; }

header .time {
  text-align: left;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: #fff;
}
.page-header-top-right { padding-top: 1rem; }

.timedate {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  margin-bottom: 5px;
  color: #fff;
  font-weight: 600;
}

.form-control-top {
  display: block;
  width: 100%;
  height: 29px !important;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* ---------- Side banners ---------- */
.bannerImg { width: 100%; max-width: 100%; }

/* ---------- Live stream / countdown ---------- */
#bnr_VietPools { position: relative; }

.video-layer {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
#videocanvas { width: 100%; }

.countdownholder {
  background: #000;
  color: #FFF;
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  transition: opacity .3s;
}
.countdownholder > div {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.countdownholder.is-live { opacity: 0; pointer-events: none; }

.live-icon { top: 10px; right: 10px; }
.countdownholder .title { font-size: 20px; text-transform: capitalize; }
.countdownholder .live-title { font-weight: bold; font-size: 1.5em; }
.countdownholder #countdown {
  font-size: 40px;
  font-weight: bold;
  margin-top: 30px;
  gap: 10px;
}
.countdownholder .small { font-size: 12px; font-weight: normal; }

/* ---------- Mobile draw date ---------- */
#dateContainer { display: none; color: #fff; text-align: left; }
#dateContainer p { margin-top: 10px; margin-bottom: 5px; font-size: 12px; }
#dateInput { font-size: 12px; }

/* ---------- Results ---------- */
.resultBox { margin-top: 10px; margin-bottom: 10px; }
.resultcontainer { transition: opacity .2s; }
.resultcontainer.is-loading { opacity: .5; }

.resultcontainer .resultRow { width: 100%; margin-bottom: 3rem !important; }

.resultcontainer .innerTitle {
  background-color: #050C28;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
}
.resultcontainer .innerTitle .result_title,
.resultcontainer .innerTitle .result_date {
  width: 50%;
  color: #fff;
}
.resultcontainer .innerTitle .result_title { text-align: left; }
.resultcontainer .innerTitle .result_date { text-align: right; }
.resultcontainer .innerTitle .result_title img { width: 16.64px; margin-right: 5px; }
.resultcontainer .innerTitle .result_date img { width: 16.64px; margin-right: 8px; }

.resultcontainer .result_table { width: 100%; }
.resultcontainer .result_table th {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 0.9em;
  text-align: center;
  padding: 5px 10px;
  background-color: #0D4EFF;
  color: #FFF;
}
.resultcontainer .result_table td {
  text-align: center;
  background-color: #001B58;
  font-family: "Roboto", sans-serif;
  color: #fff;
  letter-spacing: 0.3em;
  font-weight: bold;
  font-size: 1.5em;
}
.resultcontainer .result_table td.coming-soon { letter-spacing: 2px; }

.result-message { color: #fff; padding: 2rem 1rem; }

/* ---------- Pagination ---------- */
.paggination {
  width: 100px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-direction: row-reverse;
}
.paggination a.is-disabled { opacity: .5; pointer-events: none; }

.pagi-left, .pagi-right {
  width: 40px;
  height: 40px;
  border: 3px solid #73DBFD;
  border-radius: 100px;
}
.pagi-left i:before, .pagi-right i:before { color: #73DBFD; }
.pagi-left > i, .pagi-right > i { line-height: 2.2; }

/* ---------- Footer ---------- */
#footer { width: 63%; margin-left: auto; margin-right: auto; }
#footer #footerDiv {
  background: #050C28;
  color: #fff;
  padding: 10px 0;
  font-size: 0.9em;
}
#footer #footerDiv:after { content: ""; clear: both; display: block; }
#footer .content { max-width: 1280px; margin: 0 auto; padding: 0; }
#footer .officialTitle {
  margin: 10px;
  color: #6C6C6C;
  font-weight: bold;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
}
#footer .OfficialIcon img { max-width: 100px; margin-top: 7px; margin-right: 4px; }
#footer #footerDiv .privacyText {
  color: #6C6C6C;
  font-weight: bold;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
  padding: 10px;
}

.copyrights {
  font-size: 0.8em;
  float: right;
  margin-top: 20px;
  text-align: right;
  color: #fff;
}
.copyrights a {
  font-size: 0.8em;
  letter-spacing: 0.32px;
  color: #fff;
  font-family: "Roboto", sans-serif;
}

/* ---------- Simple content pages (privacy, responsible) ---------- */
.page-content {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  text-align: left;
  color: #fff;
  line-height: 1.7;
}
.page-content h2 { font-family: "Roboto", sans-serif; font-weight: 600; margin-bottom: 1rem; }

/* ---------- Visibility helpers ---------- */
@media (max-width: 768px) { .hide-mob { display: none; } }
@media (min-width: 768px) { .hide-desktop { display: none; } }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 970px) {
  .bannerImg { display: none; }
  .row { margin: 0 auto !important; padding: 0 !important; display: flex; }
}

@media (max-width: 768px) {
  .container, .container-fluid { padding-right: 1px; padding-left: 1px; }
  .site-title-heading { margin-left: inherit !important; }
  .site-title-heading img { float: none !important; }

  .mobile-logo-bg { background-color: #010E40; }
  .page-header { margin-bottom: 0; }
  .page-header-top-right { display: none; }

  .site-main { padding: 8px; background-color: #040B27; }
  .restult-container { padding: 0; font-size: 10px; }

  #dateContainer { display: block; }
  #dateInput { width: 100%; }

  .resultcontainer .innerTitle { padding: 8px 0 !important; }
  .resultcontainer .innerTitle img { width: 14px !important; }
  .resultcontainer .resultRow { margin-bottom: 16px !important; }
  .resultcontainer .result_table td { font-size: 10px; padding: 7px 0; }
  .resultcontainer .result_table th { font-size: 12px; }

  #hour, #minutes, #seconds { font-size: 30px; }
  .pagi-left > i, .pagi-right > i { line-height: 3.2; }

  #footer { width: 100% !important; text-align: center; }
  #footer .OfficialIcon img { max-width: 70px !important; }
  .copyrights { text-align: center !important; width: 100%; float: none; color: #6C6C6C !important; }
}

@media (prefers-reduced-motion: reduce) {
  .countdownholder, .resultcontainer { transition: none; }
}
