/*
 * It is advised not to edit the smartadmin_production.css
 * as this will override any changes you make in the 
 * later versions of this theme. 
 * 
 * We advise that you use use this CSS to override 
 * SmartAdmin styles. 
 * 
 * Rename the stylesheet to whatever your liking so it will stay
 * unique to you with each update of SmartAdmin.
 */

/*
 * INDEX
 * 
 * - HTML
 * - BODY
 * - CUSTOM STYLES
 */ 
.max-width-100 {
  max-width: 100%;
  height: auto;
}


/* ปุ่มสีแดง */
.btn-danger-custom {
  background-color: #d9534f;
  border-color: #d43f3a;
  color: #fff;
}

/* ปุ่มสีเหลือง */
.btn-warning-custom {
  background-color: #0f6c36;
  border-color: #103a06;
  color: #fff;
  font-weight: 700;
  font-size: 1.5em;
  text-shadow: 0px 2px 2px #575a57;
}
.btn-warning-custom:hover {
  font-weight: 900; /* ทำให้ตัวหนามากขึ้นเมื่อเมาส์ชี้ */
  transform: scale(1.1); /* ซูมปุ่มให้ใหญ่ขึ้นเมื่อเมาส์ชี้ */
  text-shadow: 0px 3px 3px #080808; /* เพิ่มเงาตัวหนังสือ */
  color: #FFF;
}

/* หัวข้อเปิดบริการ */
.open-service-title {
  font-size: 2.0em;
  font-weight: 700;
  text-shadow: -2px -2px 0 #ffbf00, 2px 2px 0 #ffbf00;
  color: #27920d;
  margin-top: 20px;
}

/* รูปภาพตอบสนอง */
.img-responsive-custom {
  border-radius: 5px;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
}



/* เพิ่มเติมใน styles.css */

/* ปุ่มเฉพาะ */
.btn-danger-custom {
  font-size: 1.5em;
  font-weight: 700;
  text-shadow: 0px 2px 2px #080808;
  transition: all 0.3s ease; /* เพิ่มการเปลี่ยนแปลงที่นุ่มนวล */
}

.btn-danger-custom:hover {
  font-weight: 900; /* ทำให้ตัวหนามากขึ้นเมื่อเมาส์ชี้ */
  transform: scale(1.1); /* ซูมปุ่มให้ใหญ่ขึ้นเมื่อเมาส์ชี้ */
  text-shadow: 0px 3px 3px #080808; /* เพิ่มเงาตัวหนังสือ */
  color: #FFF;
}


/*-------------------เพิ่ม 12/09/2568-ใช้ที่เมนู หวยหุ้น แทปเมนู------
/* ซ่อนจุด radio แต่ยังให้คลิกที่ label ทำงานได้ */
#show_s2 .btn-group-vertical input[type="radio"]{
  position:absolute; opacity:0; pointer-events:none;
}

/* ทำเมนูให้เป็นบล็อกเต็มกว้าง เรียงสวยแบบของเดิม */
#show_s2 .btn-group-vertical label.btn{
  display:flex; align-items:center; gap:8px;
  width:100%;
  padding:6px 10px;
  margin:4px 0;
  border:1px solid #e6e6e6;
  border-radius:6px;
  background:#fff;
  text-align:left;
}

/* โฮเวอร์/เลือกอยู่ */
#show_s2 .btn-group-vertical label.btn:hover{
  background:#f7f9fc;
}
#show_s2 .btn-group-vertical label.btn.active,
#show_s2 .btn-group-vertical label.btn.is-pinned{
  background:#eef5ff;
  border-color:#bcd3ff;
}

/* ธงและข้อความ */
#show_s2 .btn-group-vertical img.flag{ margin-right:6px; }
#show_s2 .btn-group-vertical .s_all{ flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#show_s2 .btn-group-vertical .s_short{ display:none; }

/* โซน pinned */
#grpPinned{ margin:6px 0 10px; border:1px dashed #f1c40f; border-radius:8px; }
#grpPinned > summary{
  cursor:pointer; padding:6px 10px; background:#fff6d5; border-radius:8px 8px 0 0;
  font-weight:600;
}
#grpPinned .group-body{ padding:6px 8px 8px; }

.pin-help{ font-size:11px; color:#5c5c5c; margin-left:6px; }

.pin-hint{ display:none; background:#fff3cd; border:1px solid #ffe08a;
  padding:8px 10px; margin:6px 0 10px; border-radius:6px; font-size:12px; }
.pin-hint .close{ float:right; cursor:pointer; font-weight:bold; }

.pin-toast{ position:fixed; left:50%; bottom:24px; transform:translateX(-50%);
  background:#323232; color:#fff; padding:8px 12px; border-radius:6px;
  opacity:0; transition:opacity .2s; z-index:9999; }
.pin-toast.show{ opacity:1; }

/*---------จบ----------เพิ่ม 12/09/2568-ใช้ที่เมนู หวยหุ้น แทปเมนู------

/* ===== puk_only: ตารางกว้างคงที่ — scroll แนวนอนบนจอเล็ก ===== */
#show_table_sort_yee {
    min-width: 960px;
}

#show_table_sort_yee th,
#show_table_sort_yee td {
    white-space: nowrap;
}

#show_table_sort_yee .badge {
    font-size: 10px;
    padding: 4px 7px !important;
}

#show_table_sort_yee .round_time {
    min-width: 78px !important;
    width: 78px !important;
    white-space: nowrap !important;
}

/* scroll ลื่นบน iOS + แสดง scrollbar ชัดขึ้น */
.table-responsive {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}
.table-responsive::-webkit-scrollbar-track {
    background: #d0d0d0;
    border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* =========================================================
   Lotto Tool Public Hero
   Prefix: lotto-tool-
   Purpose: public tool page hero, separated from SmartAdmin classes
   ========================================================= */

   /* ===== win number page spacing fix ===== */
.lotto-tool-page {
    padding-top: 6px !important;
}

.lotto-tool-page .lotto-tool-hero {
    margin-top: 0;
    margin-bottom: 14px;
}

.lotto-tool-page .lotto-tool-hero__inner {
    padding-top: 22px;
    padding-bottom: 22px;
}

@media (max-width: 767px) {
    .lotto-tool-page {
        padding-top: 4px !important;
    }

    .lotto-tool-page .lotto-tool-hero {
        margin-bottom: 12px;
    }

    .lotto-tool-page .lotto-tool-hero__inner {
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

.lotto-tool-hero {
    position: relative;
    border: 1px solid rgba(47, 128, 96, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 148, 0.14), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f7fcf9 55%, #eef8f3 100%);
    box-shadow: 0 10px 28px rgba(31, 72, 53, 0.07);
    overflow: hidden;
}

.lotto-tool-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 111, 76, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 111, 76, 0.045) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.28;
    pointer-events: none;
}

.lotto-tool-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
    padding: 26px 30px;
    min-height: 245px;
    align-items: center;
}

.lotto-tool-hero__main {
    max-width: 780px;
}

.lotto-tool-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 7px 13px;
    border: 1px solid rgba(36, 138, 91, 0.14);
    border-radius: 999px;
    background: rgba(232, 246, 238, 0.92);
    color: #19623f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.lotto-tool-hero__title {
    margin: 0 0 10px;
    color: #102f22;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
}

.lotto-tool-hero__lead {
    margin: 0;
    max-width: 700px;
    color: #40594d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.75;
}

.lotto-tool-hero__desc {
    margin: 8px 0 0;
    max-width: 720px;
    color: #5b7066;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

.lotto-tool-hero__notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: fit-content;
    max-width: 780px;
    margin-top: 16px;
    padding: 11px 14px;
    border: 1px solid rgba(31, 111, 76, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    color: #476458;
    font-size: 13px;
    line-height: 1.55;
}

.lotto-tool-hero__notice i {
    margin-top: 3px;
    color: #1f7a4d;
}

.lotto-tool-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.lotto-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.lotto-tool-btn:hover {
    transform: translateY(-1px);
}

.lotto-tool-btn--primary {
    border: 1px solid #087a52;
    background: linear-gradient(135deg, #159263, #087a52);
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(8, 122, 82, 0.18);
}

.lotto-tool-btn--light {
    border: 1px solid rgba(44, 70, 57, 0.16);
    background: rgba(255, 255, 255, 0.86);
    color: #2e493b !important;
}

.lotto-tool-btn--outline {
    border: 1px solid rgba(8, 122, 82, 0.22);
    background: rgba(255, 255, 255, 0.72);
    color: #087a52 !important;
}

.lotto-tool-btn--outline:hover {
    border-color: rgba(8, 122, 82, 0.38);
    background: #ffffff;
    box-shadow: 0 7px 16px rgba(8, 122, 82, 0.12);
}

.lotto-tool-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.lotto-tool-hero__chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(232, 246, 238, 0.82);
    border: 1px solid rgba(31, 111, 76, 0.12);
    color: #245c42;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.lotto-tool-hero__chips i {
    color: #087a52;
    font-size: 11px;
}

.lotto-tool-hero__side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.lotto-tool-line-card {
    padding: 10px 12px;
    border: 1px solid rgba(31, 111, 76, 0.13);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 20px rgba(31, 72, 53, 0.06);
    text-align: center;
}

.lotto-tool-line-card__text strong {
    display: block;
    color: #193b2b;
    font-size: 14px;
    line-height: 1.3;
}

.lotto-tool-line-card__text span {
    display: block;
    margin-top: 3px;
    color: #6a8074;
    font-size: 12px;
}

.lotto-tool-line-card__qr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 7px;
    padding: 6px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(31, 111, 76, 0.12);
}

.lotto-tool-line-card__qr img {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.lotto-tool-line-card__id {
    margin-top: 6px;
    color: #087a52;
    font-size: 12px;
    font-weight: 700;
}

.lotto-tool-stat-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border: 1px solid rgba(31, 111, 76, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 20px rgba(31, 72, 53, 0.06);
}

.lotto-tool-stat-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #e7f5ed;
    color: #1f704a;
    font-size: 15px;
}

.lotto-tool-stat-card strong {
    display: block;
    color: #193b2b;
    font-size: 14px;
    line-height: 1.3;
}

.lotto-tool-stat-card span {
    display: block;
    margin-top: 3px;
    color: #6a8074;
    font-size: 12px;
}

.lotto-tool-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 2px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: #60786b;
    font-size: 12px;
}

@media (min-width: 992px) {
    .lotto-tool-hero__main {
        padding-top: 4px;
    }

    .lotto-tool-hero__side {
        max-width: 250px;
        margin-left: auto;
    }
}

@media (max-width: 991px) {
    .lotto-tool-hero__inner {
        grid-template-columns: 1fr;
    }

    .lotto-tool-hero__side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lotto-tool-line-card {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .lotto-tool-line-card__qr {
        margin-top: 0;
    }

    .lotto-tool-line-card__qr img {
        width: 76px;
        height: 76px;
    }

    .lotto-tool-line-card__id {
        grid-column: 1 / -1;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .lotto-tool-hero {
        border-radius: 18px;
        margin: 10px 0 14px;
    }

    .lotto-tool-hero__inner {
        padding: 20px;
    }

    .lotto-tool-hero__title {
        font-size: 26px;
    }

    .lotto-tool-hero__lead {
        font-size: 15px;
        line-height: 1.75;
    }

    .lotto-tool-hero__desc {
        font-size: 14px;
        line-height: 1.65;
    }

    .lotto-tool-hero__notice {
        width: 100%;
        font-size: 13px;
    }

    .lotto-tool-hero__side {
        grid-template-columns: 1fr;
    }

    .lotto-tool-line-card {
        display: block;
        text-align: center;
    }

    .lotto-tool-line-card__qr {
        margin-top: 9px;
    }

    .lotto-tool-line-card__qr img {
        width: 92px;
        height: 92px;
    }

    .lotto-tool-line-card__id {
        margin-top: 7px;
    }

    .lotto-tool-hero__chips {
        gap: 7px;
        margin-top: 14px;
    }

    .lotto-tool-hero__chips span {
        font-size: 12px;
        padding: 7px 10px;
    }

    .lotto-tool-btn {
        width: 100%;
    }
}

/* =========================================================
   Lotto Tool Page Soft Skin
   Scope: .lotto-tool-page only
   Purpose: soften SmartAdmin widgets to match public hero
   ========================================================= */

.lotto-tool-page {
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.06), transparent 28%),
        linear-gradient(180deg, #f6faf8 0%, #f3f6f4 100%);
}

.lotto-tool-page #widget-grid {
    margin-top: 0;
}

.lotto-tool-page .row {
    margin-left: -8px;
    margin-right: -8px;
}

.lotto-tool-page [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

/* Widget card */
.lotto-tool-page .jarviswidget {
    border: 1px solid rgba(31, 111, 76, 0.14) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 10px 24px rgba(31, 72, 53, 0.07) !important;
    overflow: hidden;
    margin-bottom: 16px !important;
}

.lotto-tool-page .jarviswidget > header {
    min-height: 42px;
    height: auto;
    border: 0 !important;
    border-bottom: 1px solid rgba(31, 111, 76, 0.12) !important;
    background: linear-gradient(135deg, #20783e, #2f8b4d) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.lotto-tool-page .jarviswidget-color-red > header {
    background: linear-gradient(135deg, #9f1239, #be123c) !important;
}

.lotto-tool-page .jarviswidget > header h2 {
    height: 42px;
    line-height: 42px;
    margin: 0;
    padding-left: 14px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-shadow: none;
}

.lotto-tool-page .jarviswidget > div {
    border: 0 !important;
    background: #ffffff !important;
}

.lotto-tool-page .widget-body {
    background: #ffffff !important;
}

/* Tabs inside widget header */
.lotto-tool-page .jarviswidget header .nav-tabs {
    border: 0;
}

.lotto-tool-page .jarviswidget header .nav-tabs > li > a {
    height: 42px;
    line-height: 42px;
    padding: 0 14px;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 13px;
    font-weight: 700;
}

.lotto-tool-page .jarviswidget header .nav-tabs > li.active > a,
.lotto-tool-page .jarviswidget header .nav-tabs > li > a:hover {
    background: rgba(255, 255, 255, 0.96) !important;
    color: #1c5134 !important;
}

/* Forms */
.lotto-tool-page .smart-form fieldset {
    background: transparent !important;
}

.lotto-tool-page .smart-form section {
    margin-bottom: 12px;
}

.lotto-tool-page .smart-form .input input {
    height: 38px;
    border: 1px solid rgba(31, 111, 76, 0.18) !important;
    border-radius: 12px !important;
    background: #fbfefd !important;
    color: #163828;
    font-size: 18px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.lotto-tool-page .smart-form .input input:focus {
    border-color: rgba(8, 122, 82, 0.42) !important;
    box-shadow: 0 0 0 3px rgba(8, 122, 82, 0.10) !important;
}

.lotto-tool-page .smart-form .icon-prepend {
    border-right: 0 !important;
    color: #159263 !important;
}

.lotto-tool-page .smart-form fieldset .text-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

/* Number buttons */
.lotto-tool-page .btn-circle {
    border: 0 !important;
    box-shadow: 0 6px 14px rgba(30, 90, 70, 0.14);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.lotto-tool-page .btn-circle:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 18px rgba(30, 90, 70, 0.18);
    filter: brightness(1.03);
}

.lotto-tool-page .btn-primary.btn-circle {
    background: linear-gradient(135deg, #287db7, #1f6fa4) !important;
    color: #ffffff !important;
}

.lotto-tool-page .btn-danger.btn-circle {
    background: linear-gradient(135deg, #be123c, #9f1239) !important;
    color: #ffffff !important;
}

/* Main action buttons */
.lotto-tool-page #submit_gen,
.lotto-tool-page #submit_gen_number {
    min-width: 120px;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #159263, #087a52) !important;
    box-shadow: 0 8px 18px rgba(8, 122, 82, 0.18);
    font-size: 15px;
    font-weight: 700;
}

.lotto-tool-page #copy_win_txt,
.lotto-tool-page #copy_win_txtTod {
    min-width: 90px;
    border: 1px solid rgba(31, 111, 76, 0.18) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #2e493b !important;
    font-size: 15px;
    font-weight: 700;
}

/* Radio groups */
.lotto-tool-page .smart-form .radio {
    color: #344b3f;
    font-weight: 600;
}

.lotto-tool-page .smart-form code {
    border-radius: 999px;
    background: #eef8f3;
    color: #246346;
    font-size: 12px;
}

/* Result area */
.lotto-tool-page .alert.alert-info {
    border: 1px solid rgba(31, 111, 76, 0.14) !important;
    border-radius: 14px 14px 0 0 !important;
    background: linear-gradient(135deg, #ecf8f1, #f7fcf9) !important;
    color: #1f5e3f !important;
    box-shadow: none !important;
}

.lotto-tool-page blockquote.twitter-tweet {
    min-height: 70px;
    margin: 0;
    border: 1px solid rgba(31, 111, 76, 0.12) !important;
    border-top: 0 !important;
    border-radius: 0 0 14px 14px;
    background: #fbfefd;
    color: #253f32;
}

/* Loaded table area */
.lotto-tool-page .responsive {
    margin-top: 4px;
}

.lotto-tool-page #show_table {
    display: block;
}

/* Ads area softer */
.lotto-tool-page .adsbygoogle {
    border-radius: 16px;
    overflow: hidden;
}

/* Mobile */
@media (max-width: 767px) {
    .lotto-tool-page .jarviswidget > header h2 {
        font-size: 14px;
    }

    .lotto-tool-page .jarviswidget header .nav-tabs > li > a {
        padding: 0 9px;
        font-size: 12px;
    }


    .lotto-tool-page .smart-form .input input {
        font-size: 16px;
    }
}

/* =========================================================
   Lotto Match Page Soft Skin
   Scope: .lotto-tool-page.lotto-match-page
   ========================================================= */

.lotto-tool-page.lotto-match-page {
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.06), transparent 28%),
        linear-gradient(180deg, #f6faf8 0%, #f3f6f4 100%);
}

.lotto-match-page .well {
    border: 1px solid rgba(31, 111, 76, 0.14) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 8px 20px rgba(31, 72, 53, 0.06) !important;
}

.lotto-match-page .well h1,
.lotto-match-page .well h2,
.lotto-match-page .well strong {
    color: #173a2a;
}

.lotto-match-page .well .fa-tags,
.lotto-match-page .well .fa-circle {
    color: #159263;
}

.lotto-match-page .well li {
    color: #40594d;
    line-height: 1.7;
}

.lotto-match-page .badge.bg-color-darken {
    border-radius: 999px;
    background: #e7f5ed !important;
    color: #1f704a !important;
    border: 1px solid rgba(31, 111, 76, 0.12);
    padding: 6px 10px;
    font-size: 12px;
}

.lotto-match-page .badge.bg-color-darken:hover {
    background: #dff1e7 !important;
    color: #0f5e3d !important;
}

.lotto-match-page .jarviswidget {
    border: 1px solid rgba(31, 111, 76, 0.14) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 10px 24px rgba(31, 72, 53, 0.07) !important;
    overflow: visible !important;
    margin-bottom: 16px !important;
}

.lotto-match-page .jarviswidget > header {
    min-height: 42px;
    height: auto;
    border: 0 !important;
    border-bottom: 1px solid rgba(31, 111, 76, 0.12) !important;
    border-radius: 18px 18px 0 0 !important;
    background: linear-gradient(135deg, #20783e, #2f8b4d) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden;
}

.lotto-match-page .jarviswidget > header span,
.lotto-match-page .jarviswidget > header h2 {
    padding-left: 14px;
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: none;
}

.lotto-match-page .jarviswidget > div,
.lotto-match-page .widget-body {
    border: 0 !important;
    background: #ffffff !important;
}

.lotto-match-page .smart-form .input input {
    height: 38px;
    border: 1px solid rgba(31, 111, 76, 0.18) !important;
    border-radius: 12px !important;
    background: #fbfefd !important;
    color: #163828;
    font-size: 18px;
    font-weight: 700;
}

.lotto-match-page .smart-form .input input:focus {
    border-color: rgba(8, 122, 82, 0.42) !important;
    box-shadow: 0 0 0 3px rgba(8, 122, 82, 0.10) !important;
}

.lotto-match-page .smart-form fieldset .text-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.lotto-match-page .btn-circle {
    border: 0 !important;
    box-shadow: 0 6px 14px rgba(30, 90, 70, 0.14);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.lotto-match-page .btn-circle:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 18px rgba(30, 90, 70, 0.18);
    filter: brightness(1.03);
}

.lotto-match-page .btn-primary.btn-circle {
    background: linear-gradient(135deg, #287db7, #1f6fa4) !important;
    color: #ffffff !important;
}

.lotto-match-page .btn-danger.btn-circle {
    background: linear-gradient(135deg, #be123c, #9f1239) !important;
    color: #ffffff !important;
}

.lotto-match-page #submit_genR {
    min-width: 120px;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #159263, #087a52) !important;
    box-shadow: 0 8px 18px rgba(8, 122, 82, 0.18);
    font-size: 15px;
    font-weight: 700;
}

.lotto-match-page .alert.alert-success,
.lotto-match-page .alert.alert-danger {
    border: 0 !important;
    border-radius: 14px 14px 0 0 !important;
    box-shadow: none !important;
}

.lotto-match-page .alert.alert-success {
    background: linear-gradient(135deg, #1a7a3c, #239e54) !important;
    color: #ffffff !important;
}

.lotto-match-page .alert.alert-danger {
    background: linear-gradient(135deg, #b91c3c, #dc2651) !important;
    color: #ffffff !important;
}

.lotto-match-page .result_plus,
.lotto-match-page .result_minus {
    border: 1px solid rgba(31, 111, 76, 0.12);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: #fbfefd;
    padding: 10px;
    min-height: 48px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
    

    .lotto-match-page .well {
        margin-bottom: 12px;
    }
}
