.wxgiveaway-winners-container {
    background: #55ACEE;
    padding: 30px;
    border-radius: 15px;
    color: white;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.wxgiveaway-winners-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.wxgiveaway-winners-subtitle {
    text-align: center;
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.wxgiveaway-winners-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wxgiveaway-winner-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wxgiveaway-winner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.wxgiveaway-winner-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #ffd700, #ff9500);
}

.winner-medal {
    font-size: 40px;
    min-width: 60px;
    text-align: center;
}

.winner-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.winner-info {
    flex-grow: 1;
}

.winner-name {
    margin: 0 0 12px 0;
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
}

.winner-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.winner-ticket-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.winner-ticket, .winner-order {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ticket-number {
    background: #f7fafc;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.winner-time-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #4a5568;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

.winner-datetime {
    display: flex;
    align-items: center;
}

.datetime-full {
    display: flex;
    align-items: center;
    gap: 5px;
}

.datetime-value {
    display: flex;
    align-items: center;
    gap: 3px;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #edf2f7;
}

.time-separator {
    color: #718096;
    font-style: italic;
    margin: 0 3px;
}

.winner-relative-time {
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(45deg, #4299e1, #3182ce);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.relative-time-icon {
    font-size: 12px;
}

.wxgiveaway-total-winners {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed rgba(255,255,255,0.3);
    font-size: 16px;
}

.wxgiveaway-total-winners p {
    margin: 5px 0;
}

.wxgiveaway-no-winners {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.wxgiveaway-no-winners p {
    color: #6c757d;
    font-size: 18px;
    margin: 0;
}

/* Tooltip for datetime */
.datetime-value {
    cursor: help;
    position: relative;
}

.datetime-value:hover:after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 5px;
    z-index: 1000;
}

.datetime-value:hover:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2d3748;
    margin-bottom: -5px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .wxgiveaway-winner-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }

    .winner-ticket-row,
    .winner-time-row {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .winner-datetime,
    .datetime-full {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .wxgiveaway-winners-title {
        font-size: 24px;
    }

    .wxgiveaway-winners-container {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .winner-ticket, .winner-order, .datetime-full {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .winner-time-row {
        flex-direction: column;
        gap: 10px;
    }
}