/* Adz Trading Bot - Public Dashboard Styles */

.atb-public-dashboard {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.atb-dashboard-header {
    text-align: center;
    margin-bottom: 30px;
}

.atb-dashboard-header h2 {
    color: #333;
    margin-bottom: 10px;
}

.atb-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.atb-metric-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.atb-metric-card:hover {
    transform: translateY(-2px);
}

.atb-metric-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.atb-metric-card .value {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.atb-metric-card.accent-green {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.atb-metric-card.accent-blue {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.atb-metric-card.accent-orange {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.atb-bot-status-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.atb-bot-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.atb-bot-status.status-running {
    background-color: #4caf50;
    color: white;
}

.atb-bot-status.status-stopped {
    background-color: #f44336;
    color: white;
}

.atb-performance-summary {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.atb-performance-summary h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
}

.atb-performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.atb-performance-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.atb-performance-item .label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.atb-performance-item .value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.atb-refresh-controls {
    text-align: center;
    margin-top: 20px;
}

.atb-refresh-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.atb-refresh-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Status Shortcode Styles */
.atb-status-compact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
}

.atb-status-compact .status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.atb-status-compact .status-running {
    background-color: #4caf50;
}

.atb-status-compact .status-stopped {
    background-color: #f44336;
}

/* Performance Shortcode Styles */
.atb-performance-widget {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
}

.atb-performance-widget h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .atb-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .atb-performance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .atb-metric-card .value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .atb-performance-grid {
        grid-template-columns: 1fr;
    }
    
    .atb-metric-card {
        padding: 20px;
    }
    
    .atb-metric-card .value {
        font-size: 20px;
    }
}

/* Utility Classes */
.positive {
    color: #4caf50 !important;
}

.negative {
    color: #f44336 !important;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.atb-metric-card,
.atb-bot-status-card,
.atb-performance-summary {
    animation: fadeIn 0.3s ease;
}
