/* New Malamal Satta Scraper - style.css v1.0 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

/* ── Wrapper ─────────────────────────────────────────── */
.nmls-container {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 8px 32px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* ── Section titles ──────────────────────────────────── */
.nmls-section-title {
    background: #16a34a;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 10px;
    margin: 20px 0 12px;
    letter-spacing: 0.4px;
}

/* ── Live Results Grid ───────────────────────────────── */
.nmls-live-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.nmls-live-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
}

.nmls-market-name {
    background: #22c55e;
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 10px 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nmls-result {
    font-weight: 800;
    font-size: 1.4rem;
    color: #111;
    padding: 18px 8px;
    letter-spacing: 1px;
}

/* ── Time Table ──────────────────────────────────────── */
.nmls-timetable-wrap {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.nmls-timetable-wrap table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.nmls-timetable-wrap table tr:first-child td,
.nmls-timetable-wrap table thead tr th,
.nmls-timetable-wrap table thead tr td {
    background: #16a34a !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    padding: 12px 10px;
    border: none !important;
}

.nmls-timetable-wrap table tbody tr td {
    text-align: center;
    padding: 11px 10px;
    font-size: 0.9rem;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.nmls-timetable-wrap table tbody tr:nth-child(even) td {
    background: #f0fdf4;
}

.nmls-timetable-wrap table tbody tr:hover td {
    background: #dcfce7;
}

/* ── Links disabled ──────────────────────────────────── */
.nmls-container a {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
}

/* ── Error box ───────────────────────────────────────── */
.nmls-error-box {
    background: #fff8f0;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 20px 24px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    margin: 16px 0;
}
.nmls-error-box p { color: #92400e; margin: 0 0 8px; font-size: 0.95rem; }
.nmls-error-box button {
    margin-top: 10px;
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
.nmls-error-box button:hover { background: #16a34a; }

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .nmls-container { padding: 6px 4px 20px; }
    .nmls-live-grid { grid-template-columns: 1fr; gap: 10px; }
    .nmls-result { font-size: 1.1rem; padding: 14px 4px; }
    .nmls-market-name { font-size: 0.75rem; padding: 8px 4px; }
    .nmls-section-title { font-size: 0.88rem; padding: 10px 12px; }
}