/* Scratch Card Modal */
#scratchCardModal .modal-dialog {
    margin: 80px auto;
    max-width: 420px;
}

.scratch-modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 40, 40, 0.35);
}

.scratch-modal-header {
    background: linear-gradient(135deg, #005b5f, #008080);
    color: #fff;
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.scratch-modal-header .modal-title {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.scratch-modal-close {
    color: #fff;
    opacity: 0.9;
    text-shadow: none;
    font-size: 28px;
}

.scratch-modal-body {
    padding: 28px 20px 32px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4f4 100%);
}

#scratch-card-container {
    position: relative;
    display: inline-block;
    width: 320px;
    max-width: 100%;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 91, 95, 0.25);
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

#scratch-code-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 8px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

#scratch-card {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 160px;
    border-radius: 14px;
    cursor: crosshair;
    display: block;
    touch-action: none;
}

.scratch-hint {
    margin: 18px 0 4px;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
}

.scratch-hint-hi {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 13px;
}

#verification-section {
    display: none;
    margin-top: 16px;
}

#verification-section.is-visible {
    display: block;
    animation: scratchPop 0.45s ease;
}

.scratch-enter-btn {
    display: inline-block;
    min-width: 200px;
    border: none;
    border-radius: 50px;
    padding: 14px 42px;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scratch-enter-btn:hover,
.scratch-enter-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.5);
    color: #fff;
    outline: none;
}

#verification-message {
    margin-top: 12px;
    font-weight: 600;
    min-height: 22px;
}

@keyframes scratchPop {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.status-verify {
    max-width: 720px;
    margin: 0 auto 20px;
}

.status-search-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.status-search-row .form-control {
    flex: 1 1 280px;
    height: 60px;
    font-size: 18px;
    border-radius: var(--border-radius);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.status-search-row .btn-one {
    height: 60px;
    min-width: 180px;
    border-radius: var(--border-radius);
    font-size: 18px;
}

.ld-result {
    position: relative;
    max-width: 640px;
    margin: 28px auto 0;
    padding: 36px 22px 28px;
    overflow: hidden;
    text-align: center;
    background:
        repeating-conic-gradient(from 0deg at 50% -10%, rgba(59, 130, 246, 0.07) 0 6deg, transparent 6deg 12deg),
        #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    animation: fadeIn 0.5s;
}

.ld-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ld-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    opacity: 0.85;
    animation: ldFall 4.5s linear infinite;
}

.ld-dot:nth-child(odd) {
    width: 6px;
    height: 12px;
    border-radius: 6px;
}

@keyframes ldFall {
    0% { transform: translateY(-8px) rotate(0deg); opacity: 0; }
    15% { opacity: 0.9; }
    100% { transform: translateY(420px) rotate(220deg); opacity: 0; }
}

.ld-title {
    position: relative;
    z-index: 1;
    margin: 0 0 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #16a34a !important;
    line-height: 1.2;
}

.ld-sub {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.ld-stars {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 18px;
    color: #eab308;
    font-size: 14px;
}

.ld-stars span {
    display: block;
    width: 70px;
    height: 1px;
    background: #f3d27a;
}

.ld-stars-sm {
    margin: 8px 0 16px;
}

.ld-stars-sm span {
    width: 90px;
    border-top: 1px dotted #cbd5e1;
    height: 0;
    background: none;
}

.ld-banner {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0 auto 16px;
    padding: 10px 28px;
    background: #16a34a;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.28);
}

.ld-eligible {
    position: relative;
    z-index: 1;
    margin: 0 auto 18px;
    max-width: 420px;
    color: #2563eb;
    font-size: 16px;
    line-height: 1.5;
}

.ld-eligible strong {
    color: #1d4ed8;
    font-weight: 800;
}

.ld-car-photo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    margin: 0 auto 16px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.ld-card {
    position: relative;
    z-index: 1;
    margin: 0 auto 16px;
    padding: 18px 20px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    text-align: left;
}

.ld-label {
    margin: 0 0 4px;
    color: #2563eb;
    font-weight: 700;
    font-size: 16px;
}

.ld-price {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #16a34a;
    line-height: 1.1;
}

.ld-fee {
    margin: 0 0 10px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}

.ld-fee:last-child {
    margin-bottom: 0;
}

.ld-fee s {
    color: #dc2626;
    margin: 0 6px;
    font-weight: 700;
}

.ld-fee strong {
    color: #16a34a;
    font-weight: 800;
}

.ld-note {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 auto 16px;
    padding: 14px 16px;
    background: #dcfce7;
    border-radius: 12px;
    text-align: left;
}

.ld-note-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 0 4px #bbf7d0;
}

.ld-note-text p {
    margin: 0;
    color: #111827;
    font-size: 14px;
    line-height: 1.5;
}

.ld-thanks {
    margin-top: 6px !important;
    color: #16a34a !important;
    font-weight: 800;
}

.ld-wa {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 18px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #22c55e;
    color: #fff !important;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.28);
}

.ld-wa:hover,
.ld-wa:focus {
    color: #fff !important;
    background: #16a34a;
}

.ld-wa .fa-whatsapp {
    font-size: 26px;
}

.ld-winner-meta {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    padding: 8px 4px 0;
    text-align: left;
}

.ld-winner-meta p {
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 14px;
    color: #1e293b;
}

.ld-winner-meta p:last-child {
    border-bottom: none;
}

.ld-winner-meta strong {
    display: inline-block;
    min-width: 90px;
    color: #005b5f;
}

.status-recent-winners {
    margin-top: 42px;
    text-align: center;
}

.status-recent-winners h3 {
    margin: 0 0 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #0f766e;
}

.status-recent-winners > p {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 15px;
}

.ld-winners {
    position: relative;
    z-index: 1;
    margin: 22px 0 8px;
    padding: 18px 0 4px;
    border-top: 1px solid #eef2f7;
    text-align: center;
}

.ld-winners h3 {
    margin: 0 0 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0f766e;
}

.ld-winners-sub {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 13px;
}

.ld-winners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ld-winners-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ld-winner-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    padding-bottom: 12px;
    text-align: center;
}

.ld-winner-card img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: top center;
}

.status-recent-winners .ld-winner-card img {
    height: 180px;
}

.ld-winner-card h4 {
    margin: 2px 0 2px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.ld-winner-card p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.ld-winner-rank {
    margin: 8px 0 0 !important;
    color: #0f766e !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ld-winner-mobile {
    margin-top: 4px !important;
    font-weight: 700 !important;
    color: #0f766e !important;
    font-size: 12px !important;
}

.winner-result {
    max-width: 720px;
    margin: 28px auto 0;
    background: #fff;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 40, 40, 0.1);
    animation: fadeIn 0.5s;
    text-align: left;
}

.winner-result .result-header {
    background: linear-gradient(135deg, #005b5f, #008080);
    color: white;
    padding: 18px 16px;
    text-align: center;
    margin: 0;
}

.winner-result .result-header h3 {
    color: #FFD700 !important;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    margin: 0;
    font-size: 22px;
    font-family: 'Outfit', sans-serif;
}

.winner-body {
    padding: 24px 22px 28px;
}

.winner-prize-image {
    width: 100%;
    display: block;
    margin: 0 0 16px;
    border-radius: 10px;
}

.winner-prize-title {
    color: #005b5f !important;
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 4px !important;
    letter-spacing: 1px;
}

.winner-prize-amount {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 18px;
}

.winner-info-list {
    margin-bottom: 18px;
}

.winner-info-list p {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 15px;
    color: #1e293b;
}

.winner-info-list p:last-child {
    border-bottom: none;
}

.winner-info-list strong {
    display: inline-block;
    min-width: 90px;
    color: #005b5f;
}

.winner-process-text {
    position: relative;
    z-index: 1;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 12px;
    text-align: left;
}

.upload-title {
    margin: 22px 0 12px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #005b5f !important;
    font-size: 18px;
}

.doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.doc-upload-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 12px 10px;
    border: 1px solid #cfe8e8;
    border-radius: 10px;
    background: #f4fbfb;
    color: #005b5f;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.doc-upload-card:hover {
    background: #e6f6f6;
    border-color: #008080;
}

.upload-help {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    margin: 0 0 12px;
}

.doc-upload-card.is-selected {
    border-color: #f59e0b;
    background: #fffbeb;
}

#upload-docs-btn {
    margin-top: 12px;
}

.doc-upload-card.is-uploaded {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #166534;
}

.doc-upload-card input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.doc-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

.doc-label {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
}

.doc-status {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #0f766e;
    word-break: break-all;
}

.doc-upload-card.is-uploaded .doc-status {
    color: #15803d;
}

.doc-preview {
    width: 100%;
    max-height: 88px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 6px;
}

.bank-account-panel {
    display: none;
    grid-column: 1 / -1;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    text-align: left;
}

.bank-account-panel.is-open {
    display: block;
}

.bank-account-panel label {
    color: #1e293b;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}

.bank-account-panel .form-control {
    margin-bottom: 10px;
}

.bank-save-btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #008080, #005b5f);
}

.wd-withdraw-now {
    width: 100%;
    margin-top: 22px;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: #fff;
    background: #28a745;
}

.wd-modal {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.wd-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.wd-modal-header h5 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937 !important;
}

.wd-modal-body {
    padding: 20px;
}

.wd-intro {
    color: #4b5563;
    margin-bottom: 16px;
}

.wd-error {
    color: #dc2626;
    min-height: 18px;
    font-size: 13px;
}

.wd-btn-green {
    border: none;
    border-radius: 6px;
    background: #28a745;
    color: #fff !important;
    font-weight: 700;
    padding: 12px 16px;
    cursor: pointer;
}

.wd-btn-full {
    width: 100%;
    margin-top: 10px;
}

.wd-pay-dialog {
    width: 92%;
    max-width: 980px;
    margin: 30px auto;
}

.wd-pay-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    padding: 20px;
    text-align: left;
}

.wd-pay-left h6,
.wd-card h6 {
    margin: 0 0 10px;
    font-weight: 700;
    color: #111827 !important;
    font-size: 16px;
}

#wd-instructions {
    color: #374151;
    line-height: 1.7;
    font-size: 14px;
}

.wd-qr-box {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    margin-top: 16px;
}

.wd-qr {
    width: 180px;
    height: 180px;
    background: #fff;
    margin: 10px auto;
    display: block;
}

.wd-upi-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    background: #eaf2ff;
    color: #1d4ed8;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 8px;
}

.wd-upi-box span {
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 700;
}

.wd-note {
    margin-top: 16px;
    background: #e8f8ee;
    color: #166534;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
}

.wd-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
    background: #fff;
}

.wd-sum-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: #4b5563;
}

.wd-sum-row strong {
    color: #111827;
    text-align: right;
}

.wd-sum-total {
    border-top: 1px solid #e5e7eb;
    margin-top: 6px;
    padding-top: 10px;
}

.wd-sum-total strong {
    color: #28a745;
    font-size: 20px;
}

.wd-proof-status {
    min-height: 18px;
    margin: 8px 0 0;
    font-size: 13px;
    color: #166534;
}

.copy-pay-btn {
    flex-shrink: 0;
    border: none;
    border-radius: 6px;
    background: #28a745;
    color: #fff;
    font-weight: 700;
    padding: 6px 10px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .ld-winners-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .wd-pay-dialog {
        width: auto;
        margin: 12px;
    }

    .wd-pay-grid {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .status-search-row .btn-one {
        width: 100%;
    }

    .winner-body {
        padding: 18px 14px 22px;
    }

    #scratchCardModal .modal-dialog {
        margin: 40px 12px;
    }

    #scratch-card-container,
    #scratch-card {
        width: 100%;
        height: 150px;
    }

    #scratch-code-layer {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .ld-title {
        font-size: 26px;
    }

    .ld-price {
        font-size: 30px;
    }

    .winner-result .result-header h3 {
        font-size: 18px;
    }

    .winner-info-list strong {
        display: block;
        margin-bottom: 2px;
    }
}
