/* AI Sports Betting Picks WordPress Plugin Styles */

.asbp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Loading States */
.asbp-loading {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    margin-bottom: 30px;
}

.asbp-loading-small {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

.asbp-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: asbp-spin 1s linear infinite;
    margin: 0 auto 15px;
}

.asbp-spinner-small {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid #666;
    margin-bottom: 10px;
}

@keyframes asbp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Titles */
.asbp-section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Pick of the Day Styles */
.asbp-pick-of-day-section {
    margin-bottom: 50px;
}

.asbp-pick-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.asbp-pick-of-day {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.asbp-generated-pick {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.asbp-pick-header {
    text-align: center;
    margin-bottom: 25px;
}

.asbp-game-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
}

.asbp-game-date {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.asbp-pick-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.asbp-pick-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.asbp-pick-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.asbp-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.asbp-recommendation {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
}

.asbp-odds {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
}

.asbp-sportsbook {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
}

.asbp-confidence-section {
    display: flex;
    flex-direction: column;
}

.asbp-confidence-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.asbp-confidence-percent {
    font-weight: bold;
    font-size: 18px;
}

.asbp-confidence-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 5px;
}

.asbp-confidence-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s ease-in-out;
}

.asbp-confidence-high {
    background: #27ae60;
}

.asbp-confidence-medium {
    background: #f39c12;
}

.asbp-confidence-low {
    background: #e74c3c;
}

.asbp-confidence-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.asbp-analysis-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.asbp-analysis-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.asbp-analysis-text {
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.asbp-featured-reason {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 8px;
    padding: 15px;
    margin: 0;
}

.asbp-featured-reason p {
    margin: 0;
    color: #ffd700;
    font-size: 14px;
}

/* Sports Selection */
.asbp-sports-section {
    margin-bottom: 40px;
}

.asbp-sports-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.asbp-sport-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #2c3e50;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.asbp-sport-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.asbp-sport-btn-active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Games Section */
.asbp-games-section {
    margin-bottom: 40px;
}

.asbp-games-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.asbp-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.asbp-game-card {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.asbp-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.asbp-game-info {
    margin-bottom: 15px;
}

.asbp-game-matchup {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.asbp-game-time {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.asbp-generate-pick-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.asbp-generate-pick-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.asbp-generate-pick-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Generated Pick Section */
.asbp-generated-pick-section {
    margin-bottom: 40px;
}

/* Error Handling */
.asbp-error {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #c33;
}

.asbp-error-small {
    padding: 10px;
    font-size: 14px;
}

.asbp-error-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.asbp-error-message {
    flex: 1;
}

.asbp-retry-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.asbp-retry-btn:hover {
    background: #c0392b;
}

.asbp-retry-btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.asbp-error-card {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #c33;
}

.asbp-no-games {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background: #f8f9fa;
    border-radius: 12px;
}

/* Pick of Day Widget Styles */
.asbp-pick-of-day-widget {
    max-width: 400px;
    margin: 0 auto;
}

.asbp-pod-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.asbp-pod-header {
    text-align: center;
    margin-bottom: 15px;
}

.asbp-pod-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.asbp-pod-game {
    text-align: center;
    margin-bottom: 15px;
}

.asbp-pod-matchup {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.asbp-pod-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.asbp-pod-pick {
    text-align: center;
    margin-bottom: 15px;
}

.asbp-pod-recommendation {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 8px;
    display: inline-block;
}

.asbp-pod-odds {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
}

.asbp-pod-sportsbook {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    margin-left: 5px;
}

.asbp-pod-confidence {
    margin-bottom: 15px;
}

.asbp-pod-confidence-label {
    text-align: center;
    margin-bottom: 5px;
    font-size: 14px;
}

.asbp-pod-confidence-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.asbp-pod-confidence-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease-in-out;
}

.asbp-pod-confidence-high {
    background: #27ae60;
}

.asbp-pod-confidence-medium {
    background: #f39c12;
}

.asbp-pod-confidence-low {
    background: #e74c3c;
}

.asbp-pod-analysis {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.asbp-pod-analysis p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .asbp-container {
        padding: 15px;
    }
    
    .asbp-pick-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .asbp-section-title {
        font-size: 24px;
    }
    
    .asbp-sports-buttons {
        gap: 10px;
    }
    
    .asbp-sport-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .asbp-games-grid {
        grid-template-columns: 1fr;
    }
    
    .asbp-game-title {
        font-size: 20px;
    }
    
    .asbp-error-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .asbp-pick-card {
        padding: 20px;
    }
    
    .asbp-sports-buttons {
        flex-direction: column;
    }
    
    .asbp-sport-btn {
        width: 100%;
    }
}