/**
 * BirdieChaser Raffles - Frontend Styles
 */

/* Checkout Thank You Widget */
.bc-raffle-widget {
    background: #3D2E1E;
    border: 4px solid #251208;
    border-radius: 16px;
    padding: 40px 30px 30px;
    margin: 30px auto;
    text-align: center;
    max-width: 500px;
}

.bc-raffle-widget.bc-raffle-widget--not_qualified {
    background: #f8f8f8;
    padding: 25px;
}

.bc-raffle-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.8em;
    color: #E8D5B5;
    margin: 0 0 5px;
    font-weight: 400;
}

.bc-raffle-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1em;
    color: #E8D5B5;
    opacity: 0.8;
    margin: 0 0 25px;
}

.bc-raffle-trophy {
    margin-bottom: 25px;
}

.bc-raffle-trophy svg {
    width: 80px;
    height: 80px;
}

.bc-raffle-divider {
    height: 3px;
    background: #251208;
    margin: 0 0 25px;
}

.bc-raffle-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.bc-raffle-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #E8D5B5;
    font-size: 0.85em;
    text-decoration: none;
}

.bc-raffle-info-item svg {
    width: 24px;
    height: 24px;
    opacity: 0.9;
}

.bc-raffle-info-item span {
    white-space: nowrap;
}

a.bc-raffle-rules-link {
    color: #E8D5B5;
    text-decoration: none;
    transition: opacity 0.2s;
}

a.bc-raffle-rules-link:hover {
    opacity: 0.8;
}

.bc-raffle-pending-msg {
    color: #E8D5B5;
    opacity: 0.8;
    margin: 0;
}

.bc-raffle-not-qualified {
    background: rgba(0,0,0,0.05);
    padding: 20px;
    border-radius: 8px;
}

.bc-raffle-not-qualified p {
    margin: 0;
    color: #666;
}

/* Account Widget */
.bc-raffle-account-widget {
    background: #fbe7c4;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.bc-raffle-account-widget h3 {
    font-family: 'Libre Baskerville', Georgia, serif;
    margin: 0 0 20px;
    color: #2c2c2c;
}

.bc-raffle-section {
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.bc-raffle-section:last-child {
    margin-bottom: 0;
}

.bc-raffle-section h4 {
    margin: 0 0 10px;
    font-size: 1.1em;
    color: #2c2c2c;
}

.bc-raffle-section .bc-raffle-prize {
    font-size: 0.9em;
    margin-bottom: 15px;
    color: #666 !important;
}

.bc-raffle-status {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95em;
}

.bc-raffle-status--entered {
    background: #d4edda;
    color: #155724;
}

.bc-raffle-status--not-entered {
    background: #fff3cd;
    color: #856404;
}

.bc-raffle-note {
    font-size: 0.85em;
    color: #666;
    margin-top: 10px;
}

.bc-raffle-ends {
    font-size: 0.85em;
    color: #888;
    margin-top: 10px;
}

.bc-raffle-play-btn {
    display: inline-block;
    background: #2c2c2c;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 500;
    margin-top: 10px;
    transition: background 0.3s;
}

.bc-raffle-play-btn:hover {
    background: #444;
}

/* Shortcode Widget */
.bc-raffle-shortcode-widget {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.bc-raffle-status-card {
    background: #fbe7c4;
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 250px;
}

.bc-raffle-status-card h4 {
    margin: 0 0 15px;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.bc-status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
}

.bc-status-entered {
    background: #d4edda;
    color: #155724;
}

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

.bc-raffle-login-notice {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .bc-raffle-widget {
        padding: 30px 20px 25px;
        margin: 20px 0;
    }
    
    .bc-raffle-title {
        font-size: 1.4em;
    }
    
    .bc-raffle-trophy svg {
        width: 60px;
        height: 60px;
    }
    
    .bc-raffle-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .bc-raffle-info-item {
        flex: 0 0 40%;
    }
    
    .bc-raffle-shortcode-widget {
        flex-direction: column;
    }
}