@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Share+Tech+Mono&display=swap');
:root {
    --primary: var(--global-color-9, #27ae60);      /* Rich Green / GP Global Color 9 */
    --secondary: var(--global-color-8, #5c4033);    /* GP Global Color 8 */
    --light-bg: var(--accent, #C7F9CC);     /* Use GeneratePress accent color, fallback to bright green */
    --text-dark: #2c1a0e;    /* Dark Coffee Text */
    --border: var(--global-color-8, #4a3224);       /* GP Global Color 8 Border */
}
.wplsa-hero-header {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px 10px;
}
.wplsa-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    line-height: 1.2;
    display: inline-block;
}
.wplsa-sub-title {
    font-size: 18px;
    color: var(--secondary);
    margin: 0;
    font-weight: 600;
}
.wplsa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-dark);
}

/* Top Countdown Box */
.wplsa-top-box {
    background-color: var(--light-bg);
    color: var(--text-dark);
    border: 2px solid var(--border);
    border-radius: 0;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 20px;
}
.wplsa-top-box .target-icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: inline-block;
    background: #fdfcf4;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 0;
}
.wplsa-timer-colon {
    position: relative;
    top: -0.06em;
}
.wplsa-countdown {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #c0392b;
    display: inline-block;
    letter-spacing: 1px;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
}
.wplsa-next-draw-info {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 5px;
    opacity: 0.9;
}
.wplsa-waiting {
    font-size: 14px;
    opacity: 0.9;
    border-top: 1px solid #222;
    padding-top: 15px;
    margin-top: 15px;
}

/* Notice Bar and Time Buttons styles removed */

/* Result Column Cards */
.wplsa-result-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.wplsa-result-card {
    border: 2px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    background: var(--light-bg);
    box-shadow: none;
    display: flex;
    flex-direction: column;
}
.wplsa-result-header-wrapper {
    display: flex;
    background: var(--primary);
    border-bottom: 2px solid var(--border);
}
.wplsa-header-label-box {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 10px;
    font-size: 18px;
    text-align: center;
    margin: 0;
}
.wplsa-header-date-box {
    flex: 1;
    background: var(--light-bg);
    color: var(--text-dark);
    font-weight: 700;
    padding: 12px 10px;
    font-size: 18px;
    text-align: center;
}
.wplsa-card-timer {
    background-color: #fbf9ec;
    border-bottom: 1px solid var(--border);
    padding: 8px 15px;
    text-align: center;
    font-size: 14px;
    color: var(--text-dark);
    display: block;
    font-weight: 600;
}
.wplsa-countdown-val {
    font-weight: 700;
    color: #c0392b;
    font-family: inherit;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}
@keyframes wplsa-blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
.wplsa-updating-blink {
    color: var(--primary) !important;
    font-weight: 800;
    animation: wplsa-blink 1.5s infinite;
}
/* Image Zoom Styles */
.wplsa-image-zoom-container {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    width: 100%;
    display: block;
}
.wplsa-zoomable-image {
    transition: transform 0.3s ease;
    width: 100%;
    display: block;
}
.wplsa-image-zoom-container:hover .wplsa-zoomable-image {
    transform: scale(1.03);
}
.wplsa-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.wplsa-image-zoom-container:hover .wplsa-zoom-overlay {
    opacity: 1;
}
/* Lightbox Modal CSS */
.wplsa-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.wplsa-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.wplsa-lightbox-box {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    border: 3px solid #ffffff;
    border-radius: 0;
    background: #000000;
}
.wplsa-lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    object-fit: contain;
}
.wplsa-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}
.wplsa-result-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}
.wplsa-result-body img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}
.wplsa-pending-box {
    padding: 120px 20px;
    text-align: center;
    background: var(--light-bg);
    color: #777777;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.wplsa-today-pending-box {
    padding: 60px 20px;
    text-align: center;
    background: var(--light-bg);
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    box-sizing: border-box;
}
.wplsa-pending-icon {
    margin-bottom: 18px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    padding: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px dashed var(--primary);
    animation: wplsa-pulse 2s infinite ease-in-out;
    box-sizing: border-box;
}
.wplsa-pending-badge {
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    display: inline-block;
}
.wplsa-pending-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px 0;
    letter-spacing: 0.3px;
}
.wplsa-pending-text {
    font-size: 13.5px;
    color: #444;
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}
@keyframes wplsa-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 30%, transparent);
    }
    70% {
        transform: scale(1.06);
        box-shadow: 0 0 0 10px color-mix(in srgb, var(--primary) 0%, transparent);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 0%, transparent);
    }
}
.wplsa-result-card-btn {
    background: var(--light-bg);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 10px;
    font-weight: 700;
    text-decoration: none;
    border-top: 2px solid var(--border);
    font-size: 16px;
    letter-spacing: 0.5px;
}
.wplsa-result-card-btn:hover {
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
}




/* Info Grid - 3 Columns Side-by-Side */
.wplsa-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.wplsa-info-grid .wplsa-box,
.wplsa-info-grid .wplsa-download-box {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.wplsa-info-grid .wplsa-info-list,
.wplsa-info-grid p {
    flex-grow: 1;
}

.wplsa-box {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 0;
    border: 1px solid var(--border);
    margin-bottom: 25px;
}
.wplsa-box h3,
.wplsa-box h2 {
    color: var(--text-dark);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wplsa-box h3 svg,
.wplsa-box h2 svg {
    color: var(--primary);
}

/* Tables */
.wplsa-data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 16px;
    border: 1px solid var(--border);
}
.wplsa-data-table th {
    background: var(--secondary);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    border: 1px solid var(--border);
    font-size: 16px;
}
.wplsa-data-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid var(--border);
    font-weight: 500;
}
.wplsa-data-table tr:nth-child(even) {
    background: rgba(111, 78, 55, 0.05);
}

/* Info List (Right Sidebar) */
.wplsa-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}
.wplsa-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}
.wplsa-info-list li:last-child {
    border-bottom: none;
}
.wplsa-info-list strong {
    color: var(--text-dark);
    font-size: 14px;
}
.wplsa-info-list span {
    font-weight: 600;
}

/* Download Box */
.wplsa-download-box {
    background: var(--light-bg);
    color: var(--text-dark);
    text-align: center;
    padding: 25px;
    border: 2px solid var(--border);
    border-radius: 0;
    margin-bottom: 25px;
}
.wplsa-download-btn {
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
    font-size: 16px;
}
.wplsa-download-btn:hover {
    background: var(--secondary);
    color: #ffffff;
    text-decoration: none;
}

/* Steps Section */
.wplsa-steps-section {
    background: var(--light-bg);
    color: var(--text-dark);
    padding: 30px;
    border: 2px solid var(--border);
    border-radius: 0;
    text-align: center;
    margin-bottom: 30px;
}
.wplsa-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 25px;
}
.wplsa-step-card {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 20px 15px;
    border-radius: 0;
    font-size: 15px;
}
.wplsa-step-card div {
    font-size: 15px;
    font-weight: 700;
}
.wplsa-step-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

/* FAQ */
.wplsa-faq-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.wplsa-faq-item {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid var(--border);
    margin-bottom: 10px;
    font-size: 16px;
}
.wplsa-faq-item summary::-webkit-details-marker {
    display: none;
}
details[open] .faq-arrow {
    transform: rotate(180deg);
}

/* Footer Box */
.wplsa-footer-box {
    background: var(--light-bg);
    border: 1px solid var(--border);
    text-align: center;
    padding: 25px;
    border-radius: 0;
    color: var(--text-dark);
    font-weight: bold;
    font-size: 16px;
}

@media (max-width: 768px) {
    .wplsa-container {
        padding: 0;
    }
    .wplsa-main-title {
        font-size: 22px !important;
        font-weight: 800;
    }
    .wplsa-sub-title {
        font-size: 15px !important;
    }
    .wplsa-next-draw-info {
        font-size: 15px !important;
    }
    .wplsa-countdown {
        font-size: 32px;
    }
    .wplsa-header-label-box, .wplsa-header-date-box {
        font-size: 16px !important;
        padding: 10px 6px;
    }
    .wplsa-card-timer {
        font-size: 15px !important;
        padding: 6px 10px;
    }
    .wplsa-countdown-val {
        font-size: 15px !important;
    }
    .wplsa-result-card-btn {
        font-size: 15px !important;
        padding: 12px 10px;
    }

    .wplsa-result-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .wplsa-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .wplsa-box {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    /* H2 mobile - 18px with !important to override inline styles */
    .wplsa-container h2,
    .wplsa-box h2,
    .wplsa-steps-section h2,
    .wplsa-faq-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    /* H3 mobile elements - exactly 16px */
    .wplsa-container h3,
    .wplsa-box h3 {
        font-size: 16px !important;
    }

    /* Regular text elements - exactly 15px */
    .wplsa-container p,
    .wplsa-container li,
    .wplsa-container td,
    .wplsa-step-card,
    .wplsa-step-card div,
    .wplsa-faq-item div,
    .wplsa-footer-box div,
    .wplsa-pending-text,
    .wplsa-download-btn,
    .wplsa-check-btn2 {
        font-size: 15px !important;
    }

    /* FAQ summary font size */
    .wplsa-faq-item summary {
        font-size: 14px !important;
        padding: 12px !important;
    }

    /* Tables - allow horizontal scroll on mobile */
    .wplsa-data-table {
        font-size: 13px !important;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .wplsa-data-table th, .wplsa-data-table td {
        padding: 8px 6px;
        white-space: nowrap;
    }

    /* Steps section */
    .wplsa-steps-section {
        padding: 20px 15px;
    }
    .wplsa-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .wplsa-step-card {
        padding: 15px 10px;
    }

    /* Footer */
    .wplsa-footer-box {
        padding: 15px;
        text-align: center;
    }

    /* Live header text */
    .wplsa-live-header > div > div:first-child {
        font-size: 15px !important;
    }
}
@media (max-width: 480px) {
    .wplsa-main-title {
        font-size: 20px !important;
    }
    .wplsa-sub-title {
        font-size: 14px !important;
    }
    .wplsa-countdown {
        font-size: 26px;
    }
    .wplsa-steps-grid {
        grid-template-columns: 1fr;
    }
    /* Even smaller H2 on tiny phones */
    .wplsa-container h2,
    .wplsa-box h2,
    .wplsa-steps-section h2,
    .wplsa-faq-title {
        font-size: 16px !important;
    }
    .wplsa-container h3,
    .wplsa-box h3 {
        font-size: 15px !important;
    }
    /* Top next draw info on tiny screen */
    .wplsa-next-draw-info {
        font-size: 14px !important;
    }
}

/* ── Ticket Checker Box ────────────────────────────── */
.wplsa-checker-box {
    background: var(--light-bg);
    border: 2px solid var(--border);
    border-radius: 0;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: none;
}
.wplsa-checker-header {
    background: var(--secondary);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--border);
}
.wplsa-checker-header-icon {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wplsa-checker-header-icon svg { color: #ffffff; }
.wplsa-checker-header-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    flex: 1;
}
.wplsa-checker-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}
.wplsa-checker-sub {
    font-size: 12px;
    color: #e8dcd4;
    margin: 0;
    line-height: 1.4;
}
.wplsa-checker-body {
    padding: 20px;
    background: var(--light-bg);
}
.wplsa-checker-inner { display: flex; align-items: center; gap: 18px; }
.wplsa-checker-icon  { font-size: 36px; flex-shrink: 0; }
.wplsa-checker-content { flex: 1; }
.wplsa-checker-form  { display: flex; gap: 10px; }
.wplsa-ticket-input {
    flex: 1; padding: 12px 14px; font-size: 16px;
    border: 1.5px solid #cbd5e1; background: #fff;
    border-radius: 8px;
    color: #0f172a; font-family: inherit; outline: none;
    transition: all 0.2s ease;
}
.wplsa-ticket-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12); }
.wplsa-check-btn {
    background: #1e293b; color: #fff; border: none;
    padding: 12px 22px; font-size: 15px; font-weight: 700;
    border-radius: 8px;
    cursor: pointer; font-family: inherit; transition: all 0.2s ease;
    white-space: nowrap;
}
.wplsa-check-btn:hover    { background: #ef4444; }
.wplsa-check-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.wplsa-checker-hint {
    font-size: 12px; color: #64748b; margin-top: 18px;
    padding-top: 16px; border-top: 1px solid #f1f5f9;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.wplsa-checker-hint-item { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.wplsa-checker-hint-item svg { color: var(--primary); flex-shrink: 0; }
.wplsa-checker-divider { width: 1px; height: 12px; background: #e2e8f0; }

/* ── Modal Overlay ────────────────────────────────── */
.wplsa-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: wplsaFadeIn 0.2s ease;
}
@keyframes wplsaFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.wplsa-modal-box {
    background: #fff;
    border: 3px solid #222;
    max-width: 480px;
    width: 100%;
    position: relative;
    animation: wplsaSlideUp 0.25s ease;
}
@keyframes wplsaSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.wplsa-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #555;
    line-height: 1;
}
.wplsa-modal-close:hover { color: #c0392b; }

/* Modal states */
.wplsa-modal-winner { border-top: 6px solid var(--primary); }
.wplsa-modal-loser  { border-top: 6px solid #c0392b; }
.wplsa-modal-header {
    padding: 24px 24px 16px;
    text-align: center;
}
.wplsa-modal-emoji   { font-size: 52px; line-height: 1; margin-bottom: 10px; }
.wplsa-modal-status  { font-size: 22px; font-weight: 800; color: #111; }
.wplsa-modal-body    { padding: 0 24px 10px; }
.wplsa-modal-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 14px;
}
.wplsa-modal-row:last-child { border-bottom: none; }
.wplsa-modal-row strong { color: #555; }
.wplsa-modal-row span   { font-weight: 700; color: #111; }
.wplsa-prize-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    padding: 3px 10px;
    margin-bottom: 4px;
}
.wplsa-prize-amount {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    margin: 6px 0 14px;
}
.wplsa-modal-verify {
    background: #f4f1eb;
    border: 1px solid #ccc;
    border-left: 4px solid #222;
    padding: 10px 14px;
    font-size: 12px;
    color: #555;
    margin: 12px 24px 20px;
    line-height: 1.5;
}
.wplsa-modal-verify a {
    color: #c0392b;
    font-weight: 700;
    text-decoration: none;
}
.wplsa-modal-verify a:hover { text-decoration: underline; }
.wplsa-modal-loser-msg {
    text-align: center;
    font-size: 14px;
    color: #555;
    padding: 10px 24px 24px;
    line-height: 1.6;
}

/* ── Date + Draw selectors ────────────────────────────────── */
.wplsa-checker-row2 {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.wplsa-checker-select {
    flex: 1;
    padding: 10px 12px;
    font-size: 14px;
    border: 2px solid var(--border);
    border-radius: 0;
    background: #fff;
    color: var(--text-dark);
    font-family: inherit;
    outline: none;
    cursor: pointer;
}
.wplsa-checker-select:focus { border-color: var(--primary); }
.wplsa-checker-label {
    font-size: 11px;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}
.wplsa-checker-field { flex: 1; display: flex; flex-direction: column; }
.wplsa-checker-field-full { display: flex; flex-direction: column; margin-bottom: 10px; }
.wplsa-draw-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.wplsa-draw-pill {
    padding: 6px 14px;
    border: 2px solid var(--border);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.wplsa-draw-pill.active,
.wplsa-draw-pill:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}
.wplsa-draw-pill.all-active {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

/* -- Single-row checker layout ----------------------------- */
.wplsa-checker-row1 {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}
.wplsa-checker-field-wrap {
    display: flex;
    flex-direction: column;
}
.wplsa-checker-label {
    font-size: 11px;
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.wplsa-checker-label svg { color: #888888; }
.wplsa-checker-input {
    padding: 0 12px;
    font-size: 14px;
    border: 2px solid var(--border);
    background: #fff;
    border-radius: 0;
    color: var(--text-dark);
    font-family: inherit;
    outline: none;
    height: 42px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.wplsa-checker-input:focus { border-color: var(--primary); }
.wplsa-checker-input-date   { width: 160px; }
.wplsa-checker-input-draw   { width: 130px; cursor: pointer; }
.wplsa-checker-input-ticket {
    flex: 1;
    min-width: 160px;
    letter-spacing: 0.5px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--border) !important;
    background: #ffffff !important;
}
.wplsa-checker-input-ticket:focus {
    border-color: var(--primary) !important;
}
.wplsa-check-btn2 {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    height: 42px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    box-shadow: none;
}
.wplsa-check-btn2:hover    { background: var(--secondary); border-color: var(--secondary); }
.wplsa-check-btn2:active   { transform: none; }
.wplsa-check-btn2:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

@media (max-width: 768px) {
    .wplsa-checker-header {
        padding: 12px 10px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }
    .wplsa-checker-header-text {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
        width: 100%;
    }
    .wplsa-checker-title {
        font-size: 18px !important;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }
    .wplsa-checker-body   { padding: 16px; }
    .wplsa-checker-row1   { flex-wrap: wrap; gap: 10px; }
    
    .wplsa-checker-row1 > .wplsa-checker-field-wrap:nth-child(1),
    .wplsa-checker-row1 > .wplsa-checker-field-wrap:nth-child(2),
    .wplsa-checker-row1 > .wplsa-checker-field-wrap:nth-child(3),
    .wplsa-checker-row1 > .wplsa-checker-field-wrap:nth-child(4) {
        flex: 1 1 calc(50% - 5px) !important;
        min-width: 0;
    }
    
    .wplsa-checker-input-date,
    .wplsa-checker-input-draw  { width: 100% !important; }
    .wplsa-checker-input-ticket { width: 100% !important; }
    .wplsa-check-btn2          { width: 100% !important; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   ARCHIVE PAGES — 1 PM / 6 PM / 8 PM Result Grids
   ═══════════════════════════════════════════════════════════ */

.wplsa-archive-wrap {
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
    color: var(--text-dark);
}

/* ── Archive Header ─────────────────────────────── */
.wplsa-archive-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--secondary);
    color: #fff;
    margin-bottom: 20px;
    border: 2px solid var(--border);
}
.wplsa-archive-header-icon {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.3);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wplsa-archive-header-icon svg { color: #fff; }
.wplsa-archive-title {
    font-size: 20px !important;
    font-weight: 800;
    margin: 0 0 6px 0 !important;
    color: #fff !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.3;
}
.wplsa-archive-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.5;
}

/* ── Meta Bar ───────────────────────────────────── */
.wplsa-archive-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-bg);
    border: 1px solid var(--border);
    padding: 10px 16px;
    font-size: 13px;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.wplsa-archive-meta-bar strong { color: var(--secondary); }
.wplsa-archive-page-info { font-weight: 600; color: var(--secondary); }

/* ── Results Grid ───────────────────────────────── */
.wplsa-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

/* ── Individual Card ────────────────────────────── */
.wplsa-archive-card {
    background: #fff;
    border: 2px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.wplsa-archive-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.wplsa-archive-card-date {
    background: var(--secondary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px;
    text-align: center;
    justify-content: center;
    letter-spacing: 0.5px;
}
.wplsa-archive-card-scheme {
    background: var(--light-bg);
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

/* ── Image area ─────────────────────────────────── */
.wplsa-archive-img-wrap {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #f8f8f8;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wplsa-archive-img-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.wplsa-archive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.wplsa-archive-img-link:hover .wplsa-archive-img { transform: scale(1.04); }
.wplsa-archive-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.wplsa-archive-img-link:hover .wplsa-archive-img-overlay { opacity: 1; }
.wplsa-archive-img-placeholder {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

/* ── PDF Download Button ────────────────────────── */
.wplsa-archive-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 11px 10px;
    text-decoration: none;
    letter-spacing: 0.3px;
    border-top: 2px solid var(--border);
    transition: background 0.2s ease;
    text-align: center;
    flex-shrink: 0;
}
.wplsa-archive-btn:hover {
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
}
.wplsa-archive-btn svg { flex-shrink: 0; }

/* ── Pagination ─────────────────────────────────── */
.wplsa-archive-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 30px;
}
.wplsa-archive-pag-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--secondary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    text-decoration: none;
    border: 2px solid var(--secondary);
    transition: all 0.2s ease;
}
.wplsa-archive-pag-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    text-decoration: none;
}
.wplsa-archive-pag-numbers {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
.wplsa-archive-pag-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--border);
    text-decoration: none;
    transition: all 0.15s ease;
}
.wplsa-archive-pag-num:hover,
.wplsa-archive-pag-num.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    text-decoration: none;
}

/* ── No Data ────────────────────────────────────── */
.wplsa-archive-no-data {
    text-align: center;
    padding: 60px 20px;
    background: var(--light-bg);
    border: 2px dashed var(--border);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.8;
}
.wplsa-archive-no-data a { color: var(--primary); font-weight: 700; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
    .wplsa-archive-header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 10px;
    }
    .wplsa-archive-title { font-size: 17px !important; }
    .wplsa-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .wplsa-archive-card-date { font-size: 12px; padding: 7px 10px; }
    .wplsa-archive-btn { font-size: 11px; padding: 9px 8px; }
    .wplsa-archive-meta-bar { flex-direction: column; gap: 4px; text-align: center; }
}
@media (max-width: 480px) {
    .wplsa-archive-grid { grid-template-columns: 1fr; }
    .wplsa-archive-title { font-size: 15px !important; }
    .wplsa-archive-pag-btn { padding: 8px 12px; font-size: 12px; }
}
