/* SimpleSorteo - Frontend Styles */
.lr-rifa-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.lr-rifa-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.lr-rifa-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.lr-rifa-header .lr-prize-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.lr-rifa-header .lr-prize-box {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
}

.lr-rifa-header .lr-prize-box strong {
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
}

.lr-rifa-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
}

.lr-stat-item {
    text-align: center;
}

.lr-stat-item .lr-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
}

.lr-stat-item .lr-stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

.lr-rifa-body {
    padding: 25px 30px;
    background: white;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.lr-selection-area {
    display: block;
    margin-bottom: 25px;
}

.lr-table-wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    width: 100%;
}

.lr-table-wrapper h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
    text-align: center;
}

.lr-subtitle {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.lr-range-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.lr-select-modern {
    padding: 8px 15px;
    font-size: 16px;
    border: 2px solid #007cba;
    border-radius: 6px;
    background: white;
    font-weight: bold;
    color: #007cba;
    cursor: pointer;
    outline: none;
}

.lr-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.lr-num-btn {
    width: 100%;
    aspect-ratio: 2/1;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
}

.lr-num-btn:hover:not(.taken):not(.selected) {
    background: #e2e8f0;
    border-color: #cbd5e0;
}

.lr-num-btn.taken {
    background: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    text-decoration: line-through;
}

.lr-num-btn.selected {
    background: #007cba;
    color: white;
    border-color: #007cba;
    transform: scale(1.05);
}

.lr-num-btn.in-cart {
    background: #ffc107;
    color: #333;
    border-color: #ffc107;
}

.lr-num-btn.user-owned {
    background: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

.lr-add-to-cart-section {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
}

.lr-add-to-cart-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lr-add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.lr-add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lr-price-display {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.lr-price-display span {
    color: #28a745;
}

.lr-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.lr-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.lr-legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.lr-user-tickets {
    margin-top: 20px;
    padding: 15px;
    background: #d1ecf1;
    border-radius: 8px;
    border: 1px solid #bee5eb;
}

.lr-user-tickets h4 {
    margin: 0 0 10px 0;
    color: #0c5460;
}

.lr-user-ticket-item {
    display: inline-block;
    background: #17a2b8;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    margin: 3px;
    font-weight: 600;
    font-size: 14px;
}

/* Toast notification */
.lr-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 9999;
    animation: lrToastIn 0.3s ease;
}

.lr-toast.success {
    background: #28a745;
}

.lr-toast.error {
    background: #dc3545;
}

@keyframes lrToastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner */
.lr-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: lr-spin 1s ease-in-out infinite;
}

@keyframes lr-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .lr-selection-area {
        grid-template-columns: 1fr;
    }
    
    .lr-vs-connector {
        padding-top: 0;
    }
    
    .lr-dynamic-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .lr-number-btn {
        font-size: 10px;
    }
    
    .lr-rifa-stats {
        grid-template-columns: 1fr;
    }
    
    .lr-rifa-header h2 {
        font-size: 22px;
    }
    
    .lr-number-panel .lr-selected-number {
        font-size: 36px;
    }
/* GoicoSOFT 2026. ID: 202606151945 */
 