/* Sayısal Loto Widget - Frontend Styles */

.sayisal-loto-widget {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.sayisal-loto-widget h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

/* Tahmin Bölümü */
.loto-prediction-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.loto-prediction-section h3 {
    color: white;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    margin-top: 0;
}

.loto-prediction-section p {
    margin: 15px 0;
    font-size: 16px;
    opacity: 0.95;
}

/* Butonlar */
.loto-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.loto-btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.loto-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.loto-btn-secondary {
    background: #3498db;
    color: white;
}

.loto-btn-secondary:hover {
    background: #2980b9;
}

.loto-btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.loto-btn-outline:hover {
    background: #3498db;
    color: white;
}

/* Tahminler Container */
#predictions-container {
    margin-top: 20px;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.prediction-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.prediction-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.prediction-box.featured {
    border: 3px solid #f39c12;
    position: relative;
}

.prediction-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #f39c12;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.prediction-box h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 18px;
}

.prediction-desc {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
}

.number-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.number-list.small {
    gap: 8px;
}

.number-list.small .pred-number {
    width: 38px;
    height: 38px;
    font-size: 14px;
}

.pred-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    color: white;
    transition: transform 0.2s ease;
}

.pred-number:hover {
    transform: scale(1.1);
}

.pred-number.featured {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.4);
}

.pred-number.statistical {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4);
}

.pred-number.random {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    box-shadow: 0 4px 10px rgba(155, 89, 182, 0.4);
}

.pred-number.hot {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
}

.pred-number.cold {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    box-shadow: 0 4px 10px rgba(26, 188, 156, 0.4);
}

.prediction-extra {
    margin-top: 15px;
    padding: 12px;
    background: #ecf0f1;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.prediction-extra span {
    margin: 0 10px;
}

.prediction-box.info {
    background: #f8f9fa;
}

.prediction-note {
    margin-top: 20px;
    padding: 20px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
}

.prediction-note p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

/* Filtreleme Bölümü */
.loto-filter-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.loto-filter-section h3 {
    margin-top: 0;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.filter-field {
    display: flex;
    flex-direction: column;
}

.filter-field label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.filter-field input {
    padding: 10px 15px;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.filter-field input:focus {
    outline: none;
    border-color: #3498db;
}

.filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Sonuçlar Bölümü */
.loto-results-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.loto-results-section h3 {
    margin-top: 0;
}

#loading-indicator {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

#results-container {
    display: grid;
    gap: 20px;
}

.loto-result-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.loto-result-item:hover {
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.result-cekilis {
    font-size: 14px;
    color: #7f8c8d;
}

.result-date {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
}

.result-numbers {
    display: flex;
    gap: 12px;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.loto-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
    transition: transform 0.2s ease;
}

.loto-number:hover {
    transform: scale(1.1);
}

.result-extra {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e9ecef;
    font-size: 14px;
}

.result-extra span {
    color: #7f8c8d;
}

.result-extra strong {
    color: #e74c3c;
    font-size: 16px;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sayisal-loto-widget {
        padding: 15px;
    }
    
    .predictions-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .result-numbers {
        gap: 8px;
    }
    
    .loto-number {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .pred-number {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}