/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-elementor-child
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

:root {
    /* Core Colors from your theme */
    --background-primary: #F8F8F8;
    --background-secondary: #0A0A2E;
    --background-card: rgba(255, 255, 255, 0.03);
    --accent-primary: #93003f;
    --accent-gradient: linear-gradient(135deg, #93003f 0%, #F3BAFD 100%);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Shadows & Effects */
    --card-glow: 0 4px 24px -6px rgba(147, 0, 63, 0.12);
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    
    /* Layout */
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --container-padding: 32px;

    /* Custom Button Override Styles */
    --lty-button-bg:  !important;
    --lty-button-color: #000000 !important;
    --lty-button-shadow: 0 0 10px rgba(0, 233, 62, 0.4) !important;
    --lty-button-hover-shadow: 0 0 15px rgba(0, 233, 62, 0.6) !important;
}

/* Main Container */
.lottery-details-container {
    background: #F8F8F8;
    padding: 32px;
    border-radius: 24px;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 233, 62, 0.08);
}

/* Header Section */
.lottery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 233, 62, 0.1);
}

.lottery-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.download-pdf-button {
    background: ;
    color: #F8F8F8;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 233, 62, 0.2);
}

.download-pdf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 233, 62, 0.3);
    background: #00ff44;
}

/* Status Badge */
.lottery-status {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 233, 62, 0.1);
    color: ;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
}

.lottery-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: ;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

/* Stats Grid */
.lottery-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 233, 62, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 233, 62, 0.2);
    box-shadow: 0 8px 24px rgba(0, 233, 62, 0.1);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.stat-date {
    color: #ffffff;
    font-size: 18px;
    margin: 0;
}

/* Progress Bar */
.tickets-progress {
    margin-top: 16px;
    background: rgba(0, 233, 62, 0.1);
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
}

.tickets-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, , #00ff44);
    border-radius: 8px;
    transition: width 0.3s ease;
}

/* Animation for status indicator */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .lottery-details-container {
        padding: 24px;
    }

    .lottery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .download-pdf-button {
        width: 100%;
    }

    .lottery-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lottery-details-container {
    animation: fadeIn 0.3s ease-out;
}

/* Entry List Table Styles Override */
.lty-entry-list-ticket-logs-wrapper table,
.lty-frontend-table.lty-winner-logs-table {
    width: 100%;
    border-collapse: collapse;
    background: #F8F8F8 !important;
    border: 1px solid #F2F2F2 !important;
    margin-bottom: 24px;
}

.lty-entry-list-ticket-logs-wrapper table th,
.lty-frontend-table.lty-winner-logs-table th {
    background: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
    border: none !important;
    padding: 16px !important;
    font-weight: 600;
    text-align: left;
}

.lty-entry-list-ticket-logs-wrapper table td,
.lty-frontend-table.lty-winner-logs-table td {
    padding: 12px 16px !important;
    border: none !important;
    border-bottom: #F2F2F2 !important;
    color: #ffffff !important;
}

.lty-entry-list-ticket-logs-wrapper table tr:nth-child(even),
.lty-frontend-table.lty-winner-logs-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03) !important;
}

.lty-entry-list-ticket-logs-wrapper table tr:hover,
.lty-frontend-table.lty-winner-logs-table tr:hover {
    background: ;
}

/* Entry List Header Styles */
.lty-entry-list-summary-content-wrapper {
    background: #F8F8F8 !important;
    color: #ffffff !important;
    padding: 24px !important;
    border-radius: 8px;
    margin-bottom: 24px;
}

.lty-entry-list-header-wrapper {
    border-bottom: 1px solid #F2F2F2 !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
}

.lty-entry-list-title {
    color: #ffffff !important;
    font-size: 24px !important;
    margin: 0 !important;
}

/* Winner Section Styles */
.lty-entry-list-winners-logs-content-wrapper h3 {
    color: #ffffff !important;
    font-size: 20px !important;
    margin-bottom: 16px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #F2F2F2 !important;
}

/* Status Labels */
.lty_lottery_started_status span {
    background: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.lty_lottery_finished_status span {
    background: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
}

.lty_lottery_failed_status span {
    background: rgba(255, 99, 71, 0.1) !important;
    color: #ff6347 !important;
}

.lty_lottery_not_started_status span {
    background: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107 !important;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .lty-entry-list-ticket-logs-wrapper table,
    .lty-frontend-table.lty-winner-logs-table {
        display: block;
        overflow-x: auto;
    }

    .lty-entry-list-ticket-logs-wrapper td:before,
    .lty-frontend-table.lty-winner-logs-table td:before {
        color: rgba(255, 255, 255, 0.7) !important;
    }
}

/* PDF Download Button Style */
.lty-entry-list-pdf-download-button {
    background:  !important;
    color: #F8F8F8 !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-bottom: 24px !important;
}

.lty-entry-list-pdf-download-button:hover {
    background: #00ff44 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 233, 62, 0.2) !important;
}

/* Reset and enforce our color scheme */
body.woocommerce-page,
body.single-product,
#main,
#primary {
    background-color: #F8F8F8 !important;
    color: #ffffff !important;
}

/* Target all lottery-related containers */
div[class*="lty-"],
.lty-entry-list-ticket-logs-wrapper,
.lty-frontend-table,
.lty-winner-logs-table,
.lty-entry-list-summary-content-wrapper,
.lty-entry-list-winners-logs-content-wrapper {
    background-color: #F8F8F8 !important;
    color: #ffffff !important;
}

/* Table Styles with maximum specificity */
body .lty-entry-list-ticket-logs-wrapper table.lty-frontend-table,
body .lty-winner-logs-table,
body table[class*="lty-"] {
    background-color: #F8F8F8 !important;
    border: 1px solid #F2F2F2 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
    width: 100% !important;
}

/* Table Headers */
body .lty-entry-list-ticket-logs-wrapper table.lty-frontend-table th,
body .lty-winner-logs-table th,
body table[class*="lty-"] th {
    background-color: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
    padding: 16px !important;
    text-align: left !important;
    font-weight: 600 !important;
    border: none !important;
}

/* Table Cells */
body .lty-entry-list-ticket-logs-wrapper table.lty-frontend-table td,
body .lty-winner-logs-table td,
body table[class*="lty-"] td {
    background-color: transparent !important;
    color: #6B6B6B !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #F2F2F2 !important;
}

/* Table Row Hover */
body .lty-entry-list-ticket-logs-wrapper table.lty-frontend-table tr:hover,
body .lty-winner-logs-table tr:hover,
body table[class*="lty-"] tr:hover {
    
}

/* Buttons */
.lty-entry-list-pdf-download-button,
button[class*="lty-"],
a[class*="lty-button"] {
    background-color:  !important;
    color: #F8F8F8 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 233, 62, 0.2) !important;
}

/* Button Hover */
.lty-entry-list-pdf-download-button:hover,
button[class*="lty-"]:hover,
a[class*="lty-button"]:hover {
    background-color: #00ff44 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 233, 62, 0.3) !important;
}

/* Status Labels */
.lty_lottery_status span,
[class*="lty_lottery_"] span {
    padding: 8px 16px !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

.lty_lottery_started_status span {
    background-color: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
}

.lty_lottery_finished_status span {
    background-color: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
}

.lty_lottery_failed_status span {
    background-color: rgba(255, 99, 71, 0.1) !important;
    color: #ff6347 !important;
}

.lty_lottery_not_started_status span {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107 !important;
}

/* Headers and Titles */
.lty-entry-list-title,
h2[class*="lty-"],
h3[class*="lty-"] {
    color: #ffffff !important;
    border-bottom: 1px solid #F2F2F2 !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
}

/* Summary Sections */
.lty-entry-list-summary-content-wrapper {
    
    border-radius: 8px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
}

/* Main Container Styling */
#lottery-entries-list {
    background: var(--background-secondary) !important;
    padding: 32px !important;
    border-radius: var(--border-radius-lg) !important;
    box-shadow: var(--card-shadow) !important;
    border: 1px solid var(--border-color) !important;
}

/* Summary Section Enhancement */
.lty-entry-list-summary-content-wrapper {
    background: var(--background-card) !important;
    border-radius: var(--border-radius-md) !important;
    padding: 24px !important;
    margin-bottom: 32px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--card-glow) !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 24px !important;
}

.lty-entry-list-summary-item {
    padding: 16px !important;
    background: rgba(147, 0, 63, 0.05) !important;
    border-radius: var(--border-radius-sm) !important;
    border: 1px solid rgba(147, 0, 63, 0.1) !important;
}

.lty-entry-list-summary-label {
    font-size: 14px !important;
    color: var(--text-secondary) !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.lty-entry-list-summary-value {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    background: var(--accent-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Table Enhancement */
.lty-entry-list-ticket-logs-wrapper table,
.lty-frontend-table.lty-winner-logs-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: var(--background-card) !important;
    border-radius: var(--border-radius-md) !important;
    overflow: hidden !important;
    border: 1px solid var(--border-color) !important;
    margin-bottom: 32px !important;
}

/* Table Headers */
.lty-entry-list-ticket-logs-wrapper table th,
.lty-frontend-table.lty-winner-logs-table th {
    background: var(--background-secondary) !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    padding: 16px 24px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    border-bottom: 1px solid var(--border-color) !important;
}

/* Table Cells */
.lty-entry-list-ticket-logs-wrapper table td,
.lty-frontend-table.lty-winner-logs-table td {
    padding: 16px 24px !important;
    color: var(--text-secondary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    font-size: 14px !important;
}

/* Table Rows */
.lty-entry-list-ticket-logs-wrapper table tr:hover,
.lty-frontend-table.lty-winner-logs-table tr:hover {
    background: rgba(147, 0, 63, 0.05) !important;
}

/* Status Labels */
.lty_lottery_status span,
[class*="lty_lottery_"] span {
    padding: 8px 16px !important;
    border-radius: 30px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.lty_lottery_started_status span {
    background: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
}

.lty_lottery_started_status span::before {
    content: "●" !important;
    font-size: 10px !important;
}

.lty_lottery_finished_status span {
    background: rgba(147, 0, 63, 0.1) !important;
    color: #F3BAFD !important;
}

/* Download Button */
.lty-entry-list-pdf-download-button {
    background: var(--accent-gradient) !important;
    color: var(--text-primary) !important;
    padding: 12px 24px !important;
    border-radius: var(--border-radius-sm) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: var(--card-glow) !important;
}

.lty-entry-list-pdf-download-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(147, 0, 63, 0.2) !important;
}

.lty-entry-list-pdf-download-button::before {
    content: "↓" !important;
    font-size: 18px !important;
}

/* Section Headers */
.lty-entry-list-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid var(--border-color) !important;
}

/* Pagination Enhancement */
.lty-pagination {
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
    margin-top: 32px !important;
}

.lty-pagination a,
.lty-pagination span {
    padding: 8px 16px !important;
    border-radius: var(--border-radius-sm) !important;
    background: var(--background-card) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease !important;
}

.lty-pagination a:hover,
.lty-pagination span.current {
    background: var(--accent-gradient) !important;
    color: var(--text-primary) !important;
    border-color: transparent !important;
}

/* Responsive Enhancements */
@media screen and (max-width: 768px) {
    #lottery-entries-list {
        padding: 16px !important;
    }

    .lty-entry-list-summary-content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .lty-entry-list-ticket-logs-wrapper {
        overflow-x: auto !important;
        margin: 0 -16px !important;
        padding: 0 16px !important;
    }

    .lty-entry-list-title {
        font-size: 24px !important;
    }

    .lty-entry-list-summary-value {
        font-size: 20px !important;
    }
}

/* Empty State Enhancement */
.lty-no-entries-message {
    text-align: center !important;
    padding: 48px 24px !important;
    background: var(--background-card) !important;
    border-radius: var(--border-radius-md) !important;
    border: 1px solid var(--border-color) !important;
}

.lty-no-entries-message::before {
    content: "📋" !important;
    font-size: 48px !important;
    display: block !important;
    margin-bottom: 16px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lottery-details-container {
        padding: 24px;
    }

    .lottery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .download-pdf-button {
        width: 100%;
    }

    .lottery-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lottery-details-container {
    animation: fadeIn 0.3s ease-out;
}

/* Entry List Table Styles Override */
.lty-entry-list-ticket-logs-wrapper table,
.lty-frontend-table.lty-winner-logs-table {
    width: 100%;
    border-collapse: collapse;
    background: #F8F8F8 !important;
    border: 1px solid #F2F2F2 !important;
    margin-bottom: 24px;
}

.lty-entry-list-ticket-logs-wrapper table th,
.lty-frontend-table.lty-winner-logs-table th {
    background: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
    border: none !important;
    padding: 16px !important;
    font-weight: 600;
    text-align: left;
}

.lty-entry-list-ticket-logs-wrapper table td,
.lty-frontend-table.lty-winner-logs-table td {
    padding: 12px 16px !important;
    border: none !important;
    border-bottom: 1px solid #F2F2F2 !important;
    color: #ffffff !important;
}

.lty-entry-list-ticket-logs-wrapper table tr:nth-child(even),
.lty-frontend-table.lty-winner-logs-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03) !important;
}

.lty-entry-list-ticket-logs-wrapper table tr:hover,
.lty-frontend-table.lty-winner-logs-table tr:hover {
    background: ;
}

/* Entry List Header Styles */
.lty-entry-list-summary-content-wrapper {
    background: #F8F8F8 !important;
    color: #ffffff !important;
    padding: 24px !important;
    border-radius: 8px;
    margin-bottom: 24px;
}

.lty-entry-list-header-wrapper {
    border-bottom: 1px solid #F2F2F2 !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
}

.lty-entry-list-title {
    color: #ffffff !important;
    font-size: 24px !important;
    margin: 0 !important;
}

/* Winner Section Styles */
.lty-entry-list-winners-logs-content-wrapper h3 {
    color: #ffffff !important;
    font-size: 20px !important;
    margin-bottom: 16px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #F2F2F2 !important;
}

/* Status Labels */
.lty_lottery_started_status span {
    background: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.lty_lottery_finished_status span {
    background: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
}

.lty_lottery_failed_status span {
    background: rgba(255, 99, 71, 0.1) !important;
    color: #ff6347 !important;
}

.lty_lottery_not_started_status span {
    background: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107 !important;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .lty-entry-list-ticket-logs-wrapper table,
    .lty-frontend-table.lty-winner-logs-table {
        display: block;
        overflow-x: auto;
    }

    .lty-entry-list-ticket-logs-wrapper td:before,
    .lty-frontend-table.lty-winner-logs-table td:before {
        color: rgba(255, 255, 255, 0.7) !important;
    }
}

/* PDF Download Button Style */
.lty-entry-list-pdf-download-button {
    background:  !important;
    color: #F8F8F8 !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-bottom: 24px !important;
}

.lty-entry-list-pdf-download-button:hover {
    background: #00ff44 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 233, 62, 0.2) !important;
}

/* Reset and enforce our color scheme */
body.woocommerce-page,
body.single-product,
#main,
#primary {
    background-color: #F8F8F8 !important;
    color: #ffffff !important;
}

/* Target all lottery-related containers */
div[class*="lty-"],
.lty-entry-list-ticket-logs-wrapper,
.lty-frontend-table,
.lty-winner-logs-table,
.lty-entry-list-summary-content-wrapper,
.lty-entry-list-winners-logs-content-wrapper {
    background-color: #F8F8F8 !important;
    color: #ffffff !important;
}

/* Table Styles with maximum specificity */
body .lty-entry-list-ticket-logs-wrapper table.lty-frontend-table,
body .lty-winner-logs-table,
body table[class*="lty-"] {
    background-color: #F8F8F8 !important;
    border: 1px solid #F2F2F2 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
    width: 100% !important;
}

/* Table Headers */
body .lty-entry-list-ticket-logs-wrapper table.lty-frontend-table th,
body .lty-winner-logs-table th,
body table[class*="lty-"] th {
    background-color: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
    padding: 16px !important;
    text-align: left !important;
    font-weight: 600 !important;
    border: none !important;
}

/* Table Cells */
body .lty-entry-list-ticket-logs-wrapper table.lty-frontend-table td,
body .lty-winner-logs-table td,
body table[class*="lty-"] td {
    background-color: transparent !important;
    color: #6B6B6B !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #F2F2F2 !important;
}

/* Table Row Hover */
body .lty-entry-list-ticket-logs-wrapper table.lty-frontend-table tr:hover,
body .lty-winner-logs-table tr:hover,
body table[class*="lty-"] tr:hover {
    
}

/* Buttons */
.lty-entry-list-pdf-download-button,
button[class*="lty-"],
a[class*="lty-button"] {
    background-color:  !important;
    color: #F8F8F8 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 233, 62, 0.2) !important;
}

/* Button Hover */
.lty-entry-list-pdf-download-button:hover,
button[class*="lty-"]:hover,
a[class*="lty-button"]:hover {
    background-color: #00ff44 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 233, 62, 0.3) !important;
}

/* Status Labels */
.lty_lottery_status span,
[class*="lty_lottery_"] span {
    padding: 8px 16px !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

.lty_lottery_started_status span {
    background-color: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
}

.lty_lottery_finished_status span {
    background-color: rgba(0, 233, 62, 0.1) !important;
    color:  !important;
}

.lty_lottery_failed_status span {
    background-color: rgba(255, 99, 71, 0.1) !important;
    color: #ff6347 !important;
}

.lty_lottery_not_started_status span {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107 !important;
}

/* Headers and Titles */
.lty-entry-list-title,
h2[class*="lty-"],
h3[class*="lty-"] {
    color: #ffffff !important;
    border-bottom: #F2F2F2 !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
}

/* Summary Sections */
.lty-entry-list-summary-content-wrapper {
    
    border-radius: 8px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
}

/* Add this to the end of your CSS to ensure it loads last */
#lottery-entries-list {
    background-color: #F8F8F8 !important;
    padding: 24px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

/* Lottery Table Styles */
.lty-frontend-table {
    width: 100%;
    margin-bottom: 1em;
    border-collapse: collapse;
    background: var(--background-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.lty-frontend-table th,
.lty-frontend-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.lty-frontend-table th {
    background: var(--background-secondary);
    color: var(--text-primary);
    font-weight: 600;
}

.lty-frontend-table td {
    color: var(--text-secondary);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .lty-frontend-table {
        display: block;
    }

    .lty-frontend-table thead {
        display: none;
    }

    .lty-frontend-table tr {
        display: block;
        margin-bottom: 1em;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-sm);
    }

    .lty-frontend-table td {
        display: block;
        text-align: right;
        padding: 8px 12px;
    }

    .lty-frontend-table td:before {
        content: attr(data-title);
        float: left;
        font-weight: 600;
        color: var(--text-primary);
    }
}

/* Pagination Styles */
.woocommerce-pagination,
.lty-pagination,
.nav-links,
.page-numbers {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 25px 0 !important;
    padding: 10px !important;
    gap: 5px !important;
}

.woocommerce-pagination ul {
    display: flex !important;
    justify-content: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 5px !important;
}

.woocommerce-pagination li {
    margin: 0 !important;
}

/* Non-active pagination links */
.woocommerce-pagination a,
.woocommerce-pagination .page-numbers:not(.current),
.lty-pagination a,
.nav-links a,
.page-numbers a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 12px !important;
    background-color: #F2F2F2 !important;
    color: #6B6B6B !important;
    border: 1px solid #F2F2F2 !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Active/current page */
.woocommerce-pagination .current,
.lty-pagination .current,
.nav-links .current,
.page-numbers .current {
    background: linear-gradient(273.39deg, #9E6F22 5.45%, #EEB24E 49.86%, #9E6F22 94.27%) !important;
    color: #FFFFFF !important;
    border: none !important;
    font-weight: 600 !important;
    min-width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 5px !important;
}

/* Hover effect */
.woocommerce-pagination a:hover,
.lty-pagination a:hover,
.nav-links a:hover,
.page-numbers a:hover {
    background-color: #F2F2F2 !important;
    color: #6B6B6B !important;
    border-color: #F2F2F2 !important;
    transform: translateY(-2px) !important;
}

/* Previous/Next buttons */
.woocommerce-pagination .prev,
.woocommerce-pagination .next,
.lty-pagination .prev,
.lty-pagination .next,
.nav-links .prev,
.nav-links .next {
    background-color: #F2F2F2 !important;
    color: #6B6B6B !important;
    border: 1px solid #F2F2F2 !important;
    min-width: 90px !important;
}

/* Dots */
.woocommerce-pagination .dots,
.lty-pagination .dots,
.nav-links .dots,
.page-numbers .dots {
    border: none !important;
    background: transparent !important;
    color: #6B6B6B !important;
    font-size: 18px !important;
    letter-spacing: 2px !important;
    padding: 0 8px !important;
}

@media (max-width: 767px) {
    .woocommerce-pagination a,
    .woocommerce-pagination .page-numbers,
    .lty-pagination a,
    .lty-pagination span,
    .nav-links a,
    .nav-links span,
    .page-numbers a,
    .page-numbers span {
        min-width: 35px !important;
        height: 35px !important;
        padding: 0 8px !important;
        font-size: 13px !important;
        margin: 2px !important;
    }

    .woocommerce-pagination .prev,
    .woocommerce-pagination .next,
    .lty-pagination .prev,
    .lty-pagination .next,
    .nav-links .prev,
    .nav-links .next {
        min-width: 80px !important;
        padding: 0 10px !important;
    }
}

/* Lottery Tickets Table Styles */
.lty-ticket-logs-table {
    width: 100%;
    margin-bottom: 2em;
}

.lty-ticket-logs-table.loading {
    position: relative;
}

.lty-ticket-logs-table.loading:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8) url('path-to-your-loading-gif.gif') center no-repeat;
}

/* Pagination Styles */
.lty-pagination {
    text-align: center;
    margin: 20px 0;
}

.lty-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.lty-pagination li {
    margin: 0;
}

.lty-pagination a,
.lty-pagination span.current {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
}

.lty-pagination span.current {
    background-color: #ebe9eb;
    color: #333;
}

.lty-pagination a:hover {
    background-color: #f7f7f7;
}

/* 
 * Custom Button Override Styles
 * Using ultra-high specificity selectors to ensure styles are applied
 */

/* Hover state with high specificity */
html[lang] body div.site-content button.lty-ticket-logs-search-btn:hover,
html[lang] body div.site-content button.lty-frontend-search-btn:hover,
html[lang] body div.site-content button.lty-custom-styled-button:hover,
html[lang] body div.site-content button[class*="lty-"][class*="search-btn"]:hover {
    background-color: #00c034 !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--lty-button-hover-shadow);
}

/* Active state */
html[lang] body div.site-content button.lty-ticket-logs-search-btn:active,
html[lang] body div.site-content button.lty-frontend-search-btn:active,
html[lang] body div.site-content button.lty-custom-styled-button:active,
html[lang] body div.site-content button[class*="lty-"][class*="search-btn"]:active {
    background-color: #00b02f !important;
    transform: translateY(1px) !important;
}

/* Focus state */
html[lang] body div.site-content button.lty-ticket-logs-search-btn:focus,
html[lang] body div.site-content button.lty-frontend-search-btn:focus,
html[lang] body div.site-content button.lty-custom-styled-button:focus,
html[lang] body div.site-content button[class*="lty-"][class*="search-btn"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 233, 62, 0.8) !important;
}

/* Emergency override for when all else fails */
@keyframes forceButtonStyle {
    from { background-color:  !important; }
    to { background-color:  !important; }
}

/* Animation-based override as last resort */
html[lang] body button[class*="lty-"][class*="search-btn"],
html[lang] body input[type="submit"][class*="lty-"][class*="search-btn"] {
    animation: forceButtonStyle 1ms infinite !important;
    background-color:  !important;
    color: #000000 !important;
}