/* SD Sales Review Styles */

#sd-sales-review-app {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 20px auto;
}

.sd-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    overflow: hidden;
    height: 100%;
}

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

.sd-card-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: #333;
}

.sd-card-body {
    padding: 20px;
}

.sd-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.sd-stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sd-event-selector {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.sd-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.sd-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Enhancements for Bootstrap clashes */
#sd-sales-review-app .table > :not(caption) > * > * {
    background-color: transparent; /* Fix for WP admin styles */
}

.sd-event-logo {
    max-height: 100px;
    width: auto;
    display: block;
    margin-bottom: 15px;
}
