:root {
  --purple: #0b6e75;
  --purple-dark: #0a4f59;
  --gold: #f29f58;
  --black: #0e1a22;
  --ink: #142933;
  --neon: #73e8ff;
  --white: #ffffff;
  --green: #43d9b8;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  background: #ffffff;
  color: #ffffff;
  overflow-y: auto;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

input,
select,
textarea,
button {
  max-width: 100%;
  font-family: inherit;
}

.sr-only-input {
  height: 1px;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: -9999px;
  width: 1px;
}

a,
a:hover {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(1180px, 94%);
  margin: 0 auto;
}

.container-fluid {
  width: min(980px, 95%);
  margin: 0 auto;
}

.page_content {
  margin-top: 118px;
}

.header_nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
  background: var(--black);
  filter: drop-shadow(0 0 4px #000);
}

.top_header {
  align-items: center;
  background: var(--black);
  border-bottom: 1px solid #62d4df;
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  min-height: 56px;
}

.hdr_login,
.hdr_register {
  align-items: center;
  background: var(--purple);
  border: 5px solid #0a5961;
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  min-width: 108px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.hdr_button {
  cursor: pointer;
  font-family: inherit;
}

.page_logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page_logo_link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page_logo_img {
  display: block;
  height: 54px;
  width: auto;
}

.logo_mark {
  background: linear-gradient(45deg, #ffd1a3, #f08c46);
  border-radius: 4px;
  color: #05282d;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 6px;
}

.logo_text {
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.8px;
}

.nav_wrap {
  background: var(--purple);
  text-align: center;
}

.nav_wrap ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 10px 0;
}

.nav_wrap ul li {
  margin: 2px;
}

.nav_wrap ul li a {
  color: #ffffff;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
}

.nav_wrap ul li.active a {
  color: #ffd166;
}

.flash-list {
  width: min(1180px, 94%);
  margin: 10px auto 0;
}

.flash {
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 8px;
  padding: 10px 12px;
}

.flash-error {
  background: #4e0f0f;
  border: 1px solid #9f3131;
  color: #ffd0d0;
}

.flash-success {
  background: #0f4e31;
  border: 1px solid #20925e;
  color: #dbffe9;
}

.banner_wrap {
  background: var(--gold);
  padding: 0;
}

.banner_overlay {
  background: #00000075;
}

.banner_info {
  margin: 0;
  padding: 35px 0;
  text-align: center;
}

.banner_info h1 {
  color: #ffffff;
  font-size: 34px;
  font-weight: 700;
  margin: 0;
}

.banner_info p {
  color: #ffffff;
  font-size: 15px;
  margin: 0 auto;
  max-width: 720px;
  padding-top: 10px;
}

.whatp a {
  background: #ffe2c2;
  border-radius: 4px;
  color: var(--purple);
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 14px;
  padding: 10px 16px;
}

.calltoaction_mainwrp {
  background: var(--purple);
  padding: 18px 0;
}

.calltoaction p {
  color: #ffffff;
  font-size: 20px;
  margin: 0 0 10px;
  text-align: center;
}

.calltoaction .button_area {
  background: #0e1a22;
  border: 1px solid #ffffff;
  border-radius: 8px;
  display: table;
  margin: 0 auto;
  padding: 13px 28px;
}

.calltoaction .call_btnarea {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.matkarate_areamain {
  background-color: #f1f1f1;
  color: #000;
}

.matkarate_area {
  margin: 0 auto;
  padding: 20px 15px;
  text-align: center;
}

.matkarate_area h2 {
  color: #000;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  padding-bottom: 12px;
}

.matkarate_area p {
  color: #111;
  font-size: 14px;
  margin: 0 0 12px;
}

.matkaratelisttng h3 {
  align-items: center;
  background: linear-gradient(45deg, var(--purple), #0a4f59);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin: 8px auto;
  padding: 10px 12px;
}

.result_wrap {
  background: #ffffff;
  padding: 16px 0;
}

.result_wrap h2 {
  background: var(--purple);
  border: 2px solid var(--green);
  color: #fff;
  font-size: 20px;
  margin: 0 0 12px;
  padding: 13px;
  text-align: center;
}

.result-div-1 {
  border: 3px solid;
  border-image: linear-gradient(7deg, #116b75, #103236, #116b75) 1;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 10px 8px;
  text-align: center;
}

.result-div-2,
.result-div-4 {
  display: flex;
  font-weight: 700;
  justify-content: space-between;
}

.result-div-2 p {
  margin: 0;
}

.r-d-2-p {
  color: green;
}

.r-d-2-pp {
  color: #7f1d1d;
}

.result-div-3 {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 8px 0;
}

.r-d-3-p {
  color: #13343d;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}

.r-d-3-pp {
  color: #000;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.r-d-3-span {
  color: #0f7482;
  font-size: 26px;
}

.result-div-4 a {
  background: linear-gradient(45deg, var(--purple), #0a4f59);
  border: 2px solid #103236;
  border-radius: 34px;
  color: #fff;
  padding: 7px 14px;
}

.resultmain_wrap {
  background: var(--purple);
  color: #fff;
  padding: 18px 0;
}

.result_tablewrap h2 {
  background: #0e1a22;
  border: 2px solid var(--green);
  color: var(--neon);
  font-size: 20px;
  margin: 0 0 10px;
  padding: 13px;
  text-align: center;
}

.game_table {
  overflow-x: auto;
}

.game_table table {
  border-collapse: collapse;
  text-align: center;
  width: 100%;
}

.game_table table thead {
  background: #0e1a22;
}

.game_table table thead tr th {
  border: 1px solid #fff;
  color: #fff;
  font-size: 13px;
  padding: 10px;
}

.game_table table tbody tr td {
  border: 1px solid #fff;
  color: #fff;
  font-size: 13px;
  padding: 8px;
  white-space: nowrap;
}

.download_wrap {
  background: #122734;
  color: #fff;
  padding: 18px 0;
  text-align: center;
}

.matkblplybth_sec_downlod h2 {
  color: var(--neon);
  margin: 0 0 10px;
}

.matkblplybth_sec_downlod h3 {
  color: #ffd166;
  margin: 0;
}

.live-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.live-pill {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  padding: 6px 10px;
}

.live-pill.live-on {
  background: #fa3f62;
  color: #fff;
}

.live-pill.live-off {
  background: #3f4e5a;
  color: #d8e6ef;
}

.live-caption {
  color: #bddce6;
  font-size: 13px;
  margin: 0 0 10px;
}

.live-offline-box {
  border: 1px dashed #4f7f95;
  border-radius: 8px;
  color: #b4d0dc;
  margin-top: 8px;
  padding: 20px;
  text-align: center;
}

.live-login-box .loginpage_btn {
  margin-top: 10px;
}

.live-embed-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.live-frame {
  border: 0;
  min-height: 360px;
  width: 100%;
}

.featured-video {
  border-radius: 8px;
  margin-top: 8px;
  max-height: 420px;
  width: 100%;
}

.live-camera-card {
  margin-top: 16px;
}

.live-camera-viewer video {
  width: 100%;
}

.Login_wrap {
  background-color: var(--purple);
  padding: 20px 0;
}

.logionwrp_inner {
  background-color: #0e1a22;
  color: #ffffff;
  padding: 26px 18px;
}

.logionwrp_inner h4 {
  font-size: 24px;
  margin: 0;
}

.text-center {
  text-align: center;
}

.pb-3 {
  padding-bottom: 1rem;
}

.auth_form_shell,
.matka_play_form {
  background: #000000e8;
  border: 8px solid #1f6970;
  margin: 0 auto;
  max-width: 920px;
  padding: 20px 14px;
}

.form_line_two {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form_line_two.form_three_cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.frm_grp {
  display: flex;
  margin-bottom: 14px;
  position: relative;
  min-width: 0;
}

.input-pre-icon {
  align-items: center;
  background: var(--purple);
  border: 8px solid #0a5961;
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  left: 1px;
  min-width: 62px;
  padding: 0 10px;
  position: absolute;
  top: 1px;
  bottom: 1px;
}

.form_control,
.matka_play_form input:not([type="checkbox"]),
.matka_play_form select,
.matka_play_form textarea,
.admin_form input:not([type="checkbox"]),
.admin_form select {
  appearance: none;
  background-color: #ffffff24;
  border: 9px solid #0a5961;
  border-radius: 0;
  color: #fff;
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 8px 10px 8px 78px;
  width: 100%;
}

.form_control option,
.matka_play_form select option,
.admin_form select option {
  background: #102531;
  color: #ffffff;
}

.matka_play_form label,
.admin_form label {
  color: #fff;
  display: grid;
  font-size: 14px;
  font-weight: 600;
  gap: 5px;
}

.matka_play_form label input,
.matka_play_form label select,
.matka_play_form label textarea,
.admin_form label input,
.admin_form label select {
  padding-left: 12px;
}

.field-error {
  color: #ff9494;
  font-size: 12px;
  margin: -8px 0 10px;
  min-height: 14px;
}

.password-strength {
  background: #13222e;
  border: 1px solid #335a70;
  border-radius: 999px;
  height: 8px;
  margin-top: 2px;
  overflow: hidden;
  width: 100%;
}

.password-strength-bar {
  background: #335a70;
  height: 100%;
  transition: width 0.2s ease, background-color 0.2s ease;
  width: 0%;
}

.password-strength-label {
  color: #bddce6;
  font-size: 12px;
  margin: 6px 0 4px;
}

.loginpage_btn {
  background: var(--purple);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: table;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  margin: 18px auto 0;
  padding: 10px 40px;
  text-transform: uppercase;
}

.loginpage_btn[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.secondary_btn {
  background: #17695f;
  margin-top: 12px;
}

.admin-live-preview {
  background: #0f2230;
  border: 2px solid #2d7481;
  border-radius: 8px;
  margin-top: 18px;
  padding: 12px;
}

.admin-live-preview h5 {
  color: #c4ecff;
  margin: 0 0 8px;
}

.registr_pass {
  color: #fff;
  font-size: 16px;
  margin-top: 14px;
  text-align: center;
}

.registr_pass a {
  color: #73e8ff;
  font-size: 18px;
}

.option-group {
  margin-bottom: 14px;
}

.option-group h3 {
  color: #ffd8a8;
  font-size: 16px;
  margin: 0 0 8px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

.bet-chip {
  background: #142933;
  border: 2px solid #1d707a;
  border-radius: 6px;
  display: grid;
  gap: 6px;
  padding: 6px;
  min-width: 0;
}

.bet-chip span {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.bet-chip .amount-input {
  background-color: #1a323d !important;
  color: #ffffff !important;
  text-align: center !important;
  border: 2px solid #1e7c86 !important;
  border-radius: 4px !important;
  padding: 6px 10px !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Hide number input spinners inside bet chips */
.bet-chip .amount-input::-webkit-outer-spin-button,
.bet-chip .amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.bet-chip .amount-input {
  -moz-appearance: textfield;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.split-grid.one-col {
  grid-template-columns: 1fr;
}

.half_card {
  background: #142933;
  border: 2px solid #1d707a;
  padding: 10px;
  min-width: 0;
}

.half_card h3 {
  color: #ffd166;
  margin: 0 0 8px;
}

.half_card label {
  margin-bottom: 8px;
}

.half_card input {
  border: 2px solid #0a5961;
  padding: 8px;
  width: 100%;
  min-width: 0;
}

.total-line {
  color: #fff;
  font-size: 18px;
  margin: 14px 0 0;
  text-align: center;
}

.user_head_box {
  background: #142933;
  border: 2px solid #1e7c86;
  padding: 12px;
  text-align: center;
}

.account-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  text-align: left;
}

.user_head_box p {
  margin: 4px 0;
}

.status.won {
  color: #8bffbf;
  font-weight: 700;
}

.status.lost {
  color: #ffb8b8;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.stat {
  background: #142933;
  border: 2px solid #1e7c86;
  border-radius: 4px;
  padding: 10px;
}

.stat span {
  color: #c0d0e0;
  display: block;
  font-size: 13px;
}

.stat strong {
  color: #fff;
  font-size: 24px;
}

.admin_form {
  max-width: 100%;
}

.admin_form .check {
  align-items: center;
  display: flex;
  gap: 8px;
}

.admin_form .check input {
  appearance: auto;
  background: transparent;
  border: 0;
  height: 18px;
  margin: 0;
  min-width: 18px;
  padding: 0;
  width: 18px;
  accent-color: #38d4dc;
}

.admin-cam-video {
  display: none;
}

.admin-camera-preview.is-running .admin-cam-video {
  display: block;
}

.admin-camera-preview.is-running [data-admin-camera-offline] {
  display: none;
}

.camera-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.camera-actions .loginpage_btn {
  margin: 12px 0 0;
}

.status-chip {
  border-radius: 999px;
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin: 2px 3px 2px 0;
  padding: 4px 8px;
}

.status-active {
  background: #1f6f48;
  color: #dcffec;
}

.status-disabled {
  background: #5a2a2a;
  color: #ffe0e0;
}

.status-live {
  background: #0d7b8a;
  color: #e2f9ff;
}

.status-offline {
  background: #404d57;
  color: #d9e4ec;
}

.market-live-line {
  margin: 8px 0 0;
}

.market-result-summary {
  color: #25515f;
  font-size: 12px;
  font-weight: 700;
  margin: 6px 0 0;
}

.market-table .inline-form {
  min-width: 100%;
}

.market-edit-form input {
  min-width: 110px;
}

.market-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 12px;
}

.market-admin-card {
  background: #142933;
  border: 2px solid #1e7c86;
  border-radius: 6px;
  padding: 10px;
}

.market-admin-card h5 {
  color: #e8f7ff;
  font-size: 16px;
  margin: 0 0 8px;
}

.market-admin-card p {
  color: #cce5f4;
  font-size: 13px;
  margin: 0 0 8px;
}

.inline-actions {
  display: grid;
  gap: 8px;
}

.result-declare-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 12px;
}

.declare-card {
  background: #142933;
  border: 2px solid #1e7c86;
  border-radius: 6px;
  padding: 10px;
  min-width: 0;
}

.mt-20 {
  margin-top: 20px !important;
}

.inline-form {
  display: flex;
  gap: 6px;
  min-width: 280px;
}

.inline-form input {
  border: 1px solid #3d7d84;
  border-radius: 2px;
  color: #111;
  padding: 6px;
}

.inline-form select {
  border: 1px solid #3d7d84;
  border-radius: 2px;
  color: #111;
  padding: 6px;
}

.admin-subtitle {
  color: #d8f4ff;
  font-size: 18px;
  margin: 16px 0 8px;
}

.mini-btn {
  background: var(--purple);
  border: 1px solid #111;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
}

.danger-btn {
  background: #7c2831;
}

.clear-all-market-form .loginpage_btn {
  margin-bottom: 14px;
}

.bet-summary-cell {
  max-width: 360px;
  text-align: left;
  white-space: normal !important;
}

.chart-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.chart-link {
  background: #142933;
  border: 2px solid #1e7c86;
  border-radius: 4px;
  color: #fff;
  display: block;
  font-size: 13px;
  font-weight: 700;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
}

.steps {
  color: #fff;
  display: grid;
  gap: 8px;
  list-style: decimal;
  margin: 0 auto;
  max-width: 760px;
  padding-left: 20px;
}

.footer {
  background: #0e1a22;
  padding: 15px 0;
}

.footer_row {
  display: flex;
}

.footer_main {
  width: 100%;
}

.footer_logo {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  margin-bottom: 18px;
}

.footer_contact h3 {
  color: #ffffff;
  font-size: 15px;
  margin: 0 0 4px;
}

.footer_contact ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin-bottom: 10px;
  padding: 0;
}

.footer_contact ul li {
  color: #dbdbdb;
  font-size: 12px;
}

.footer_inline_links {
  align-items: center;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 8px;
}

.footer_inline_links li {
  border-right: 1px solid #ffffff73;
  padding-right: 8px;
}

.footer_inline_links li:last-child {
  border-right: none;
  padding-right: 0;
}

.footer_contact p {
  color: #69d5ff;
  font-size: 12px;
  margin: 0;
  padding: 10px 0;
}

.bottom_footer {
  border-top: 1px solid #116b7573;
  margin-top: 4px;
  padding-top: 8px;
}

.copy_wrt {
  display: flex;
  justify-content: center;
}

.copy_wrt p {
  color: #ffffff;
  font-size: 13px;
  margin: 0;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .page_content {
    margin-top: 128px;
  }

  .nav_wrap ul li a {
    font-size: 13px;
    padding: 7px 8px;
  }
}

@media screen and (max-width: 820px) {
  .split-grid,
  .form_line_two,
  .form_line_two.form_three_cols {
    grid-template-columns: 1fr;
  }

  .inline-form {
    flex-direction: column;
    min-width: 180px;
  }
}

@media screen and (max-width: 768px) {
  .nav_wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav_wrap ul {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding: 10px 14px;
    margin: 0;
    width: max-content;
  }
  .nav_wrap ul li {
    flex: 0 0 auto;
    margin: 0 4px;
  }
  .nav_wrap::-webkit-scrollbar {
    display: none; /* Hide scrollbar for clean app design */
  }
  .page_content {
    margin-top: 110px !important;
  }
}


@media screen and (max-width: 600px) {
  .top_header {
    padding: 8px 8px;
  }

  .hdr_login,
  .hdr_register {
    font-size: 12px;
    min-width: 84px;
    padding: 5px 6px;
  }

  .logo_text {
    display: none;
  }

  .page_logo_img {
    height: 42px;
  }

  .page_content {
    margin-top: 124px;
  }

  .banner_info {
    padding: 20px 0;
  }

  .banner_info h1 {
    font-size: 22px;
  }

  .banner_info p {
    font-size: 14px;
    width: 100%;
  }

  .calltoaction .call_btnarea {
    font-size: 17px;
  }

  .live-frame {
    min-height: 220px;
  }

  .result-div-4 a {
    padding: 7px 10px;
  }

  .game_table table thead tr th,
  .game_table table tbody tr td {
    font-size: 12px;
    padding: 7px;
  }

  .auth_form_shell,
  .matka_play_form {
    padding: 12px 8px;
  }

  .input-pre-icon {
    min-width: 52px;
  }

  .form_control {
    padding-left: 66px;
  }
}


.game_table table th,
.game_table table td {
  text-align: center !important;
  vertical-align: middle !important;
}

.game_table table form {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px;
}

.game_table table input,
.game_table table select,
.game_table table button {
  text-align: center !important;
}

/* ---------------------------------------------------------
   Additional responsive refinements (touch targets, extra
   breakpoints for small phones, and WebView/APK safety).
   These only add to / fine-tune the rules above; nothing
   above this point has been removed or redesigned.
--------------------------------------------------------- */

/* Touch-friendly tap targets on phones & small tablets (min 44px) */
@media screen and (max-width: 768px) {
  .hdr_login,
  .hdr_register {
    min-height: 44px;
  }

  .loginpage_btn {
    min-height: 44px;
  }

  .mini-btn {
    min-height: 40px;
    padding: 8px 12px;
  }

  .nav_wrap ul li a {
    padding: 10px 12px;
  }

  .chart-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .status-chip {
    padding: 6px 10px;
  }

  /* Prevent iOS Safari/WebView from auto-zooming when a form field
     is focused (fields under 16px trigger zoom on focus). */
  .form_control,
  .matka_play_form input:not([type="checkbox"]),
  .matka_play_form select,
  .matka_play_form textarea,
  .admin_form input:not([type="checkbox"]),
  .admin_form select,
  .bet-chip .amount-input,
  .half_card input {
    font-size: 16px;
  }
}

/* 480px – large phones in portrait */
@media screen and (max-width: 480px) {
  .banner_info h1 {
    font-size: 20px;
  }

  .matkarate_area h2 {
    font-size: 20px;
  }

  .result_wrap h2,
  .result_tablewrap h2 {
    font-size: 16px;
    padding: 11px;
  }

  .r-d-3-span {
    font-size: 22px;
  }

  .logionwrp_inner {
    padding: 16px 10px;
  }

  .logionwrp_inner h4 {
    font-size: 20px;
  }

  .stat strong {
    font-size: 20px;
  }

  .option-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .calltoaction .button_area {
    padding: 10px 16px;
  }
}

/* 414px / 390px / 375px – standard modern phones */
@media screen and (max-width: 414px) {
  .flash-list {
    width: min(1180px, 92%);
  }

  .matkaratelisttng h3 {
    font-size: 13px;
    padding: 9px 10px;
  }

  .live-pill {
    font-size: 10px;
    padding: 5px 8px;
  }
}

/* 360px / 320px – smallest common phones */
@media screen and (max-width: 360px) {
  .hdr_login,
  .hdr_register {
    min-width: 72px;
    font-size: 11px;
    padding: 5px 6px;
  }

  .page_logo_img {
    height: 36px;
  }

  .option-grid {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  }

  .input-pre-icon {
    min-width: 46px;
    font-size: 12px;
  }

  .form_control {
    padding-left: 58px;
  }

  .banner_info h1 {
    font-size: 18px;
  }

  .steps {
    padding-left: 16px;
  }
}

.admin_form input[type="file"] {
  border: 2px dashed #1e7c86 !important;
  background-color: #142933 !important;
  color: #fff !important;
  padding: 15px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-family: inherit !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.admin_form input[type="file"]::file-selector-button {
  background-color: var(--purple) !important;
  color: #fff !important;
  border: none !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  margin-right: 12px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  transition: background-color 0.2s ease;
}

.admin_form input[type="file"]::file-selector-button:hover {
  background-color: var(--purple-dark) !important;
}

