/* ReviewBoost Global Styles */

:root {
    --rb-primary: #4f46e5;
    --rb-primary-dark: #4338ca;
    --rb-success: #10b981;
    --rb-warning: #f59e0b;
    --rb-danger: #ef4444;
    --rb-gray-50: #f9fafb;
    --rb-gray-100: #f3f4f6;
    --rb-gray-200: #e5e7eb;
    --rb-gray-500: #6b7280;
    --rb-gray-700: #374151;
    --rb-gray-900: #111827;
}

body {
    background-color: var(--rb-gray-50);
    color: var(--rb-gray-900);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.navbar-dark.bg-primary {
    background-color: var(--rb-primary) !important;
}

.btn-primary {
    background-color: var(--rb-primary);
    border-color: var(--rb-primary);
}

.btn-primary:hover {
    background-color: var(--rb-primary-dark);
    border-color: var(--rb-primary-dark);
}

.text-primary {
    color: var(--rb-primary) !important;
}

/* Stat Cards */
.stat-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.15s ease;
}

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

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--rb-gray-500);
}

/* Campaign Cards */
.campaign-card {
    border: 1px solid var(--rb-gray-200);
    border-radius: 12px;
    transition: box-shadow 0.15s ease;
}

.campaign-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Review Stars */
.star-rating {
    display: inline-flex;
    gap: 4px;
}

.star-rating .star {
    font-size: 2rem;
    cursor: pointer;
    color: var(--rb-gray-200);
    transition: color 0.15s ease, transform 0.1s ease;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: var(--rb-warning);
    transform: scale(1.1);
}

/* Auth pages */
.auth-page .card {
    border: none;
    border-radius: 16px;
}

/* Badge styles */
.badge-status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.badge-positive {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-negative {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-neutral {
    background-color: #e5e7eb;
    color: #374151;
}

.badge-pending {
    background-color: #fef3c7;
    color: #92400e;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--rb-gray-500);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Table styles */
.table th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rb-gray-500);
    border-bottom-width: 1px;
}

/* Reward tier form */
.tier-row {
    background: var(--rb-gray-50);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}
