/* All Winners Page Container */
.wxgiveaway-all-winners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Header Section */
.wxgiveaway-page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.header-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-title {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 300;
}

/* Stats Cards */
.wxgiveaway-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.stat-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Winners Grid */
.wxgiveaway-winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.winner-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
}

.winner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.winner-show-shortcode-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.winner-rank {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.rank-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.medal-gold {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.medal-silver {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
}

.medal-bronze {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.winner-avatar {
    width: 60px;
    height: 60px;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    border: 3px solid rgba(255,255,255,0.3);
}

.card-body {
    padding: 25px;
    flex: 1;
}

.winner-name {
    font-size: 1.4rem;
    margin: 0 0 20px 0;
    color: #333;
    font-weight: 600;
    text-align: center;
}

.winner-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.meta-icon {
    font-size: 18px;
    color: #667eea;
    width: 24px;
    text-align: center;
}

.meta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.meta-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.meta-value {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

.giveaway-name {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.giveaway-name:hover {
    color: #764ba2;
    text-decoration: underline;
}

.ticket-number {
    color: #f5576c;
}

.datetime-value {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.time-separator {
    color: #999;
}

.winner-timeline {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid #667eea;
}

.timeline-icon {
    font-size: 18px;
    color: #667eea;
}

.timeline-text {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.card-footer {
    padding: 15px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e8e8e8;
}

.winner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-icon {
    font-size: 16px;
}

/* Pagination */
.wxgiveaway-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.pagination-arrow {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-arrow:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: #667eea;
    color: white;
}

.page-number.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.page-dots {
    color: #999;
    padding: 0 5px;
}

/* Empty States */
.wxgiveaway-empty-state {
    text-align: center;
    padding: 60px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.wxgiveaway-empty-state h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.wxgiveaway-empty-state p {
    color: #666;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wxgiveaway-winners-grid {
        grid-template-columns: 1fr;
    }

    .wxgiveaway-stats-cards {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }

    .wxgiveaway-pagination {
        flex-direction: column;
        gap: 15px;
    }

    .pagination-numbers {
        order: 2;
    }

    .pagination-arrow {
        width: 100%;
        justify-content: center;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .meta-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .datetime-value {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wxgiveaway-page-header {
        padding: 20px 15px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .winner-card {
        margin: 0 10px;
    }

    .winner-show-shortcode-card-header {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .winner-avatar {
        order: -1;
    }
}