.lottery-verification-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    position: relative;
}

.lottery-verification-form-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.lottery-verification-form-wrapper h2 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 28px;
}

.lottery-verification-description {
    color: #7f8c8d;
    margin: 0 0 30px 0;
    font-size: 16px;
}

.lottery-verification-form {
    display: grid;
    gap: 20px;
}

.lottery-verify-field {
    display: flex;
    flex-direction: column;
}

.lottery-verify-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #34495e;
    font-size: 14px;
}

.lottery-verify-field label sup {
    color: #e74c3c;
}

.lottery-verify-field input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.lottery-verify-field input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.lottery-verify-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.lottery-verify-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.lottery-verification-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
}

.lottery-verification-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.lottery-verification-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.lottery-verification-results {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.lottery-verification-results h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
}

.lottery-results-table-wrapper {
    overflow-x: auto;
}

.lottery-results-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.lottery-results-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.lottery-results-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lottery-results-table td {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    color: #34495e;
}

.lottery-results-table tbody tr:hover {
    background: #f8f9fa;
}

.lottery-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.lottery-status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.lottery-status-badge.approved {
    background: #d4edda;
    color: #155724;
}

.lottery-status-badge.rejected {
    background: #f8d7da;
    color: #721c24;
}

.lottery-view-attachments {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.lottery-view-attachments:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

/* Modal Styles */
.lottery-user-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lottery-user-modal-content {
    background-color: #fff;
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.lottery-user-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.lottery-user-modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.lottery-user-modal-close {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
}

.lottery-user-modal-close:hover {
    transform: scale(1.2);
}

.lottery-user-modal-body {
    padding: 32px;
    max-height: 90vh;
    overflow-y: auto;
}

.lottery-attachments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.lottery-attachment-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s;
    background-color: white;
}

.lottery-attachment-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.lottery-attachment-card h4 {
    margin: 0 0 12px 0;
    color: #2c3e50;
    font-size: 16px;
}

.lottery-attachment-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lottery-attachment-card a {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.lottery-attachment-card a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Missing Document Card Styles */
.lottery-attachment-card.lottery-missing {
    border: 2px dashed #ddd;
    background: #f9f9f9;
}

.lottery-attachment-card.lottery-missing:hover {
    border-color: #27ae60;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.15);
}

.lottery-missing-placeholder {
    text-align: center;
    padding: 20px 10px;
}

.lottery-missing-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.3;
    filter: grayscale(100%);
}

.lottery-upload-doc-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 8px;
}

.lottery-upload-doc-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.lottery-attachment-placeholder {
    color: #95a5a6;
    font-style: italic;
    padding: 40px;
    text-align: center;
}

.lottery-verify-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Captcha Overlay Styles */
.lottery-verification-captcha-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: background 0.2s;
}

.lottery-verification-captcha-overlay:hover {
    background: rgba(255, 255, 255, 0.95);
}

.lottery-verification-captcha-overlay-content {
    text-align: center;
    color: #555;
}

.lottery-verification-captcha-overlay-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 4px;
}

.lottery-verification-captcha-overlay-text {
    font-size: 12px;
    font-weight: 500;
}

.lottery-verify-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .lottery-verification-form-wrapper,
    .lottery-verification-results {
        padding: 24px;
    }

    .lottery-results-table th,
    .lottery-results-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .lottery-user-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .lottery-attachments-grid {
        grid-template-columns: 1fr;
    }

    .lottery-results-controls {
        flex-direction: column;
        align-items: stretch !important;
    }

    .lottery-results-search-wrapper {
        max-width: 100% !important;
    }
}

.iti.iti--allow-dropdown input {
    width: 100%;
}

/* Results Header & Controls */
.lottery-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.lottery-results-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.lottery-rows-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.lottery-rows-per-page label {
    color: inherit;
}

.lottery-rows-per-page select {
    padding: 6px 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s;
}

.lottery-rows-per-page select:focus {
    border-color: #667eea;
    outline: none;
}

.lottery-results-search-wrapper {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.lottery-results-search-wrapper input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s !important;
}

.lottery-results-search-wrapper input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.1);
}

.lottery-results-search-wrapper .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

/* Tabs Navigation */
.lottery-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    overflow-x: auto;
}

.lottery-tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.lottery-tab-btn .count {
    font-size: 12px;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
    color: #666;
}

.lottery-tab-btn:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.lottery-tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.lottery-tab-btn.active .count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Pagination */
.lottery-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.lottery-page-btn {
    min-width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    user-select: none;
}

.lottery-page-btn:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
}

.lottery-page-btn.active {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.lottery-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.lottery-pagination-dots {
    color: #999;
    padding: 0 5px;
    font-weight: bold;
}

/* Empty State */
.lottery-empty-state {
    padding: 40px !important;
    text-align: center;
    color: #999;
    font-style: italic;
}

.lottery-pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (max-width: 768px) {
    .lottery-pagination-wrapper {
        flex-direction: column;
        gap: 10px;
    }
}