/* Custom CSS for AI Agent Dashboard */

:root {
    --sidebar-width: 250px;
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #059669;
    --info-color: #0ea5e9;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --light-bg: #ffffff;
    --card-bg: #ffffff;
    --page-bg: #f8fafc;
    --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-color: #e2e8f0;
    --text-primary: #1a202c;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --chat-bg: #ffffff;
    --chat-user-bg: #2563eb;
    --chat-assistant-bg: #f9fafb;
    --chat-border: #d1d5db;
    --scroll-thumb: #9ca3af;
    --scroll-track: #f3f4f6;
}

/* =============================================================================
   BASE STYLES
   ============================================================================= */

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--page-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

/* =============================================================================
   NAVBAR STYLES
   ============================================================================= */

.navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    min-height: 80px;
}

.navbar-brand {
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.1);
    font-weight: 600;
}

.user-dropdown {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.user-dropdown:hover {
    background: rgba(37, 99, 235, 0.08);
}

.user-avatar {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--card-shadow-hover);
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 200px;
}

.dropdown-header {
    padding: 0.75rem 1rem;
    background: var(--light-bg);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--light-bg);
    transform: translateX(4px);
}

.dropdown-item.text-danger:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--danger-color) !important;
}

/* =============================================================================
   LAYOUT STYLES
   ============================================================================= */

.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background-color: var(--page-bg);
    display: flex;
    flex-direction: column;
}

.main-content > .container-fluid {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container-fluid.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* =============================================================================
   DASHBOARD HEADER
   ============================================================================= */

.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.page-title-wrapper {
    margin-bottom: 0;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 0;
    font-weight: 400;
}

.header-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.header-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

/* =============================================================================
   STATS CARDS
   ============================================================================= */

.stats-grid {
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.stats-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.stats-card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stats-card-primary .stats-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.stats-card-success .stats-icon {
    background: linear-gradient(135deg, #10b981, var(--success-color));
}

.stats-card-info .stats-icon {
    background: linear-gradient(135deg, #06b6d4, var(--info-color));
}

.stats-card-warning .stats-icon {
    background: linear-gradient(135deg, #f59e0b, var(--warning-color));
}

.stats-content {
    flex: 1;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stats-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stats-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--success-color);
}

.trend-icon {
    display: flex;
    align-items: center;
}

/* =============================================================================
   CARD STYLES
   ============================================================================= */

.card {
    border: none;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.15s ease-in-out;
    border-radius: 0.75rem;
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.card:hover {
    box-shadow: var(--card-shadow-hover);
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.card-header {
    background-color: var(--page-bg);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-body {
    background-color: var(--card-bg);
    color: var(--text-primary);
    padding: 1.5rem;
}

.card-header-content {
    flex: 1;
}

.card-header-actions .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.dashboard-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.dashboard-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-card-body {
    padding: 1.5rem;
}

/* =============================================================================
   AVATAR STYLES
   ============================================================================= */

.avatar-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    font-weight: 600;
}

.agent-avatar .avatar-circle,
.chat-avatar .avatar-circle,
.provider-avatar .avatar-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    font-weight: 600;
}

.avatar-sm {
    width: 2rem;
    height: 2rem;
}

.avatar-lg {
    width: 3rem;
    height: 3rem;
}

/* Provider-specific avatar styles */
.avatar-circle.provider-openai,
.avatar-lg.provider-openai {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.avatar-circle.provider-gemini,
.avatar-circle.provider-google,
.avatar-circle.provider-vertex,
.avatar-circle.provider-vertex-ai,
.avatar-lg.provider-gemini,
.avatar-lg.provider-google,
.avatar-lg.provider-vertex,
.avatar-lg.provider-vertex-ai {
    background: linear-gradient(135deg, #4285f4, #1a73e8) !important;
}

.avatar-lg.provider-anthropic {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
}

/* =============================================================================
   PROVIDER BADGE STYLES
   ============================================================================= */

.provider-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.provider-badge.provider-openai {
    background: linear-gradient(135deg, #10b981, #059669);
}

.provider-badge.provider-gemini,
.provider-badge.provider-google,
.provider-badge.provider-vertex,
.provider-badge.provider-vertex-ai {
    background: linear-gradient(135deg, #4285f4, #1a73e8) !important;
    color: white !important;
}

.provider-badge.provider-anthropic {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

/* Default provider badge for any unmatched providers */
.provider-badge.provider-default,
.provider-badge:not(.provider-openai):not(.provider-gemini):not(.provider-google):not(.provider-vertex):not(.provider-vertex-ai):not(.provider-anthropic) {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: white !important;
}

/* Legacy provider styles */
.provider-openai {
    background-color: var(--success-color) !important;
}

.provider-gemini,
.provider-google,
.provider-vertex,
.provider-vertex-ai {
    background: linear-gradient(135deg, #4285f4, #1a73e8) !important;
}

/* Ensure all Vertex providers get Google colors regardless of naming */
[class*="provider-vertex"] {
    background: linear-gradient(135deg, #4285f4, #1a73e8) !important;
    color: white !important;
}

/* =============================================================================
   AGENT STYLES
   ============================================================================= */

.agents-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.agent-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background: #fafbfc;
}

.agent-item:hover {
    background: white;
    box-shadow: var(--card-shadow);
    transform: translateY(-1px);
}

.agent-content {
    flex: 1;
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.agent-name {
    margin-bottom: 0;
    font-weight: 600;
}

.agent-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.agent-name a:hover {
    color: var(--primary-color);
}

.agent-model {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--border-color);
    border-radius: 0.375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.agent-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.agent-actions .btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* =============================================================================
   CHAT STYLES
   ============================================================================= */

.chats-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.chat-item:hover {
    background: var(--page-bg);
    box-shadow: var(--card-shadow);
    transform: translateY(-1px);
}

.chat-content {
    flex: 1;
}

.chat-title {
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.chat-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.chat-title a:hover {
    color: var(--primary-color);
}

.chat-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    font-weight: 500;
}

.chat-container {
    height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--card-shadow-hover);
    background: var(--chat-bg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    background-color: var(--chat-bg);
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) var(--scroll-track);
    min-height: 0;
    max-height: calc(100vh - 300px);
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--scroll-track);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.message {
    margin-bottom: 1.5rem;
    max-width: 75%;
    animation: fadeIn 0.3s ease-in;
}

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

.message.user {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.message.assistant {
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.message-content {
    padding: 1rem 1.25rem;
    border-radius: 1.25rem;
    word-wrap: break-word;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

.message.user .message-content {
    background: linear-gradient(135deg, var(--chat-user-bg), #1e40af);
    color: white;
    border-bottom-right-radius: 0.5rem;
    margin-left: 1rem;
}

.message.assistant .message-content {
    background-color: var(--chat-assistant-bg);
    color: var(--text-primary);
    border: 1px solid var(--chat-border);
    border-bottom-left-radius: 0.5rem;
    margin-right: 1rem;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

.message.user .message-time {
    text-align: right;
    margin-right: 0.5rem;
}

.message.assistant .message-time {
    text-align: left;
    margin-left: 0.5rem;
}

.message.typing {
    opacity: 0.8;
    animation: fade-in 0.3s ease-in-out;
}

.chat-input {
    border-top: 1px solid var(--chat-border);
    background-color: var(--chat-bg);
    padding: 1.5rem;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    margin-top: auto;
}

.chat-input textarea {
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    resize: none;
    outline: none;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    background: var(--light-bg);
    color: var(--text-primary);
    width: 100%;
}

.chat-input textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

.chat-input .btn {
    border-radius: 1rem;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.chat-input .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

/* =============================================================================
   PROVIDER STYLES
   ============================================================================= */

.providers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.provider-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    background: #fafbfc;
    transition: all 0.3s ease;
}

.provider-item:hover {
    background: white;
    box-shadow: var(--card-shadow);
}

.provider-content {
    flex: 1;
}

.provider-name {
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.provider-description {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* =============================================================================
   STATUS BADGE STYLES
   ============================================================================= */

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-badge.status-active {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.status-badge.status-inactive {
    background: rgba(107, 114, 128, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(107, 114, 128, 0.2);
}

/* =============================================================================
   BUTTON STYLES
   ============================================================================= */

.btn {
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn:disabled {
    opacity: 0.6;
    transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1e40af);
}

.btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.btn-outline-secondary:hover {
    background: var(--page-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* =============================================================================
   EMPTY STATES
   ============================================================================= */

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.empty-state-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.empty-state-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.empty-state-small {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-secondary);
}

.empty-state-small i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--text-muted);
}

/* =============================================================================
   AUTHENTICATION STYLES
   ============================================================================= */

.auth-container {
    min-height: 100vh;
}

.auth-form {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

/* =============================================================================
   CONFIGURATION STYLES
   ============================================================================= */

.config-section {
    background-color: var(--light-bg);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.config-section h6 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* =============================================================================
   TYPING INDICATOR STYLES
   ============================================================================= */

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-style: italic;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes typing-bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =============================================================================
   RATING SYSTEM STYLES
   ============================================================================= */

.rating-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.rating-stars {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 0.25rem;
}

.rating-star {
    font-size: 1.1rem;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    line-height: 1;
    padding: 0.125rem;
}

.rating-star:hover {
    color: #fbbf24;
    transform: scale(1.1);
}

.rating-star.filled {
    color: #f59e0b;
}

.rating-star.hover {
    color: #fbbf24;
}

.rating-value {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    min-height: 1rem;
}

/* =============================================================================
   NOTIFICATION STYLES
   ============================================================================= */

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    color: white;
    font-weight: 500;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background-color: var(--success-color);
}

.notification-error {
    background-color: var(--danger-color);
}

.notification-info {
    background-color: var(--info-color);
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

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

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

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

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 768px) {
    .rating-stars {
        gap: 0.05rem;
    }
    
    .rating-star {
        font-size: 0.9rem;
        padding: 0.05rem;
    }
    
    .rating-value {
        font-size: 0.7rem;
    }
    
    .stats-grid {
        margin-top: -2rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .message {
        max-width: 90%;
    }
}