/* 抽奖页面样式 */
.zib-lottery-page {
    padding: 20px 0;
}

.zib-lottery-prizes {
    margin: 30px 0;
}

.zib-prize-item {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.zib-prize-item:hover {
    border-color: #409eff;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.15);
    transform: translateY(-5px);
}

.zib-prize-icon {
    margin-bottom: 15px;
}

.zib-prize-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.zib-prize-stock,
.zib-prize-probability {
    font-size: 14px;
    margin: 5px 0;
}

/* 抽奖按钮 */
#zib-lottery-btn {
    min-width: 200px;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

#zib-lottery-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.3);
}

#zib-lottery-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 抽奖结果弹窗 */
.zib-lottery-result {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zib-lottery-result-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.zib-lottery-result-icon {
    margin-bottom: 20px;
}

.zib-lottery-result-text h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

/* 抽奖记录页面 */
.zib-lottery-records-page {
    padding: 20px 0;
}

.zib-lottery-records-page .table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.zib-lottery-records-page .table thead {
    background: #f5f7fa;
}

.zib-lottery-records-page .table th {
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e4e7ed;
}

.zib-lottery-records-page .table td {
    vertical-align: middle;
}

/* 最近中奖记录 */
#zib-recent-records .list-group-item {
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

#zib-recent-records .list-group-item:hover {
    background: #f9f9f9;
    border-color: #409eff;
}

/* 响应式 */
@media (max-width: 768px) {
    .zib-prize-item {
        margin-bottom: 15px;
    }
    
    .zib-lottery-result-content {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .zib-lottery-records-page .table {
        font-size: 14px;
    }
}

/* 颜色辅助类 */
.c-red {
    color: #f56c6c;
}

.c-yellow {
    color: #e6a23c;
}

.c-blue {
    color: #409eff;
}

.c-green {
    color: #67c23a;
}

.font-bold {
    font-weight: bold;
}

.muted-2-color {
    color: #909399;
}
