@tailwind base;
@tailwind components;
@tailwind utilities;

/* Virtual Triage Priority Badges */
.priority-emergency {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: 2px solid #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    animation: pulse-red 2s infinite;
}

.priority-urgent {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: 2px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.priority-standard {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: 2px solid #3b82f6;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.priority-routine {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: 2px solid #6b7280;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.2);
}

/* Status badges */
.status-pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: 2px solid #f59e0b;
}

.status-in_review {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: 2px solid #8b5cf6;
}

.status-responded {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 2px solid #10b981;
}

.status-completed {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: 2px solid #6b7280;
}

/* Pulsing animation for emergency cases */
@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 16px rgba(220, 38, 38, 0.6);
        transform: scale(1.02);
    }
}

/* Priority icons */
.priority-emergency::before {
    content: "🚨";
    margin-right: 4px;
}

.priority-urgent::before {
    content: "⚠️";
    margin-right: 4px;
}

.priority-standard::before {
    content: "📋";
    margin-right: 4px;
}

.priority-routine::before {
    content: "📝";
    margin-right: 4px;
}

/* Enhanced card styling for different priorities */
.consultation-card[data-priority="emergency"] {
    border-left: 6px solid #dc2626;
    background: linear-gradient(135deg, #fef2f2, #ffffff);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.consultation-card[data-priority="urgent"] {
    border-left: 6px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #ffffff);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.consultation-card[data-priority="standard"] {
    border-left: 6px solid #3b82f6;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.consultation-card[data-priority="routine"] {
    border-left: 6px solid #6b7280;
    background: linear-gradient(135deg, #f9fafb, #ffffff);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.1);
}

/* Dashboard Stats Cards */
.stats-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stats-total::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.stats-pending::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.stats-emergency::before {
    background: linear-gradient(90deg, #dc2626, #b91c1c);
}

.stats-active::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1f2937, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-icon {
    font-size: 2rem;
    opacity: 0.7;
}

/* Filter buttons styling */
.filter-select {
    transition: all 0.2s ease;
    border-radius: 8px;
}

.filter-select:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
} 