/**
 * MasrDoctors Theme - Medical Directory Platform
 * A distinctive red theme with Arabic RTL-first design
 *
 * Color Palette:
 * - Primary Red: #cd0000 (MasrDoctors brand red)
 * - Secondary Red: #e53935 (Lighter accent)
 * - Deep Red: #8b0000 (Headers, CTAs)
 * - Light Red: #ffebee (Backgrounds)
 * - Accent Green: #00C896 (Success, Available)
 * - Warm Orange: #ff6b35 (Urgent highlights)
 * - Soft White: #FFFAFA (Card backgrounds)
 */

:root {
    /* Primary MasrDoctors Red */
    --md-primary: #cd0000;
    --md-primary-dark: #8b0000;
    --md-primary-light: #e53935;
    --md-primary-pale: #ef9a9a;
    --md-primary-ghost: #ffebee;

    /* Accent Colors */
    --md-accent-teal: #00C896;
    --md-accent-coral: #ff6b35;
    --md-accent-gold: #FFD166;
    --md-accent-purple: #7B68EE;
    --md-accent-red: #cd0000;

    /* Neutral Grays with blue undertone */
    --md-gray-900: #1A2332;
    --md-gray-800: #2D3748;
    --md-gray-700: #4A5568;
    --md-gray-600: #718096;
    --md-gray-500: #A0AEC0;
    --md-gray-400: #CBD5E0;
    --md-gray-300: #E2E8F0;
    --md-gray-200: #EDF2F7;
    --md-gray-100: #F7FAFC;
    --md-gray-50: #F8FDFF;

    /* Semantic Colors */
    --md-success: #00C896;
    --md-warning: #FFD166;
    --md-danger: #EF476F;
    --md-info: #00B4D8;

    /* Shadows */
    --md-shadow-sm: 0 1px 3px rgba(205, 0, 0, 0.08);
    --md-shadow-md: 0 4px 12px rgba(205, 0, 0, 0.12);
    --md-shadow-lg: 0 10px 40px rgba(205, 0, 0, 0.15);
    --md-shadow-xl: 0 20px 60px rgba(139, 0, 0, 0.2);

    /* Gradients */
    --md-gradient-primary: linear-gradient(135deg, #cd0000 0%, #8b0000 100%);
    --md-gradient-hero: linear-gradient(180deg, #ffebee 0%, #FFFFFF 100%);
    --md-gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FFFAFA 100%);

    /* Border Radius */
    --md-radius-sm: 0.5rem;
    --md-radius-md: 0.75rem;
    --md-radius-lg: 1rem;
    --md-radius-xl: 1.5rem;
    --md-radius-full: 9999px;

    /* Transitions */
    --md-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

/* Arabic-first font stack */
body {
    font-family: 'Cairo', 'Tajawal', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

[dir="rtl"] body {
    font-feature-settings: "ss01", "ss02";
}

/* Heading hierarchy with medical authority feel */
.md-heading-xl {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--md-gray-900);
}

.md-heading-lg {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--md-gray-900);
}

.md-heading-md {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--md-gray-800);
}

/* ============================================
   NAVBAR STYLES
   ============================================ */

.md-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(205, 0, 0, 0.1);
    box-shadow: var(--md-shadow-sm);
}

.md-navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.md-navbar-brand img {
    height: 2.75rem;
    width: auto;
}

.md-navbar-brand-text {
    font-size: 1.375rem;
    font-weight: 700;
    background: var(--md-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.md-nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--md-gray-700);
    transition: var(--md-transition);
    border-radius: var(--md-radius-md);
}

.md-nav-link:hover {
    color: var(--md-primary);
    background: var(--md-primary-ghost);
}

.md-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--md-primary);
    transition: var(--md-transition);
    transform: translateX(-50%);
}

.md-nav-link:hover::after,
.md-nav-link.active::after {
    width: 60%;
}

/* ============================================
   BUTTONS
   ============================================ */

.md-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--md-radius-md);
    transition: var(--md-transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.md-btn-primary {
    background: var(--md-gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(205, 0, 0, 0.35);
}

.md-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205, 0, 0, 0.45);
}

.md-btn-secondary {
    background: white;
    color: var(--md-primary);
    border: 2px solid var(--md-primary);
}

.md-btn-secondary:hover {
    background: var(--md-primary-ghost);
}

.md-btn-book {
    background: var(--md-accent-teal);
    color: white;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: var(--md-radius-lg);
    box-shadow: 0 4px 14px rgba(0, 200, 150, 0.35);
}

.md-btn-book:hover {
    background: #00a87d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 150, 0.45);
}

.md-btn-ghost {
    background: transparent;
    color: var(--md-gray-700);
    padding: 0.5rem 1rem;
}

.md-btn-ghost:hover {
    background: var(--md-gray-100);
    color: var(--md-primary);
}

/* ============================================
   SEARCH BAR
   ============================================ */

.md-search-container {
    background: white;
    border-radius: var(--md-radius-xl);
    box-shadow: var(--md-shadow-lg);
    padding: 1.5rem;
    margin: -3rem auto 2rem;
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

.md-search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--md-gray-200);
    border-radius: var(--md-radius-md);
    background: var(--md-gray-50);
    transition: var(--md-transition);
}

.md-search-input:focus {
    outline: none;
    border-color: var(--md-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(205, 0, 0, 0.1);
}

.md-search-select {
    appearance: none;
    padding: 1rem 2.5rem 1rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--md-gray-200);
    border-radius: var(--md-radius-md);
    background: var(--md-gray-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234A5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 0.75rem center;
    background-size: 1.25rem;
    cursor: pointer;
    transition: var(--md-transition);
}

[dir="rtl"] .md-search-select {
    background-position: left 0.75rem center;
    padding: 1rem 1rem 1rem 2.5rem;
}

.md-search-select:focus {
    outline: none;
    border-color: var(--md-primary);
    background-color: white;
}

.md-search-bar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--md-radius-xl);
    padding: 1rem;
    margin-top: 1.5rem;
}

.md-search-bar-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .md-search-bar-inner {
        flex-direction: row;
        align-items: center;
    }
}

/* ============================================
   SPECIALTY CARDS
   ============================================ */

.md-specialty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: var(--md-radius-lg);
    border: 2px solid transparent;
    box-shadow: var(--md-shadow-sm);
    transition: var(--md-transition);
    text-decoration: none;
    text-align: center;
}

.md-specialty-card:hover {
    border-color: var(--md-primary-pale);
    box-shadow: var(--md-shadow-md);
    transform: translateY(-4px);
}

.md-specialty-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--md-radius-lg);
    background: var(--md-primary-ghost);
    color: var(--md-primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    transition: var(--md-transition);
}

.md-specialty-card:hover .md-specialty-icon {
    background: var(--md-primary);
    color: white;
    transform: scale(1.1);
}

.md-specialty-name {
    font-weight: 600;
    color: var(--md-gray-800);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.md-specialty-count {
    font-size: 0.8125rem;
    color: var(--md-gray-500);
}

.md-specialty-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--md-radius-lg);
    background: var(--md-primary-ghost);
    color: var(--md-primary);
    transition: var(--md-transition);
    flex-shrink: 0;
}

.md-specialty-card:hover .md-specialty-card-icon {
    background: var(--md-primary);
    color: white;
    transform: scale(1.1);
}

/* ============================================
   DOCTOR CARDS
   ============================================ */

.md-doctor-card {
    background: white;
    border-radius: var(--md-radius-xl);
    box-shadow: var(--md-shadow-md);
    overflow: hidden;
    transition: var(--md-transition);
    border: 1px solid var(--md-gray-200);
}

.md-doctor-card:hover {
    box-shadow: var(--md-shadow-xl);
    transform: translateY(-6px);
    border-color: var(--md-primary-pale);
}

.md-doctor-card-image {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--md-primary-ghost);
    flex-shrink: 0;
    border: 3px solid var(--md-gray-100);
    transition: var(--md-transition);
}

.md-doctor-card:hover .md-doctor-card-image {
    border-color: var(--md-primary-pale);
}

.md-doctor-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--md-primary-ghost);
}

.md-doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--md-transition);
}

.md-doctor-card:hover .md-doctor-image {
    transform: scale(1.05);
}

.md-doctor-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--md-radius-full);
    background: var(--md-accent-teal);
    color: white;
}

[dir="rtl"] .md-doctor-badge {
    left: auto;
    right: 0.75rem;
}

.md-doctor-badge.unavailable {
    background: var(--md-gray-500);
}

.md-doctor-content {
    padding: 1.25rem;
}

.md-doctor-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--md-gray-900);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.md-doctor-specialty {
    color: var(--md-primary);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.md-doctor-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--md-gray-600);
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}

.md-doctor-location i {
    color: var(--md-primary-light);
}

.md-doctor-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.md-doctor-rating .star {
    color: var(--md-accent-gold);
}

.md-doctor-rating .star.empty {
    color: var(--md-gray-300);
}

.md-doctor-rating-value {
    font-weight: 600;
    color: var(--md-gray-800);
    margin-left: 0.5rem;
}

[dir="rtl"] .md-doctor-rating-value {
    margin-left: 0;
    margin-right: 0.5rem;
}

.md-doctor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--md-gray-200);
}

.md-doctor-fee {
    color: var(--md-gray-700);
    font-size: 0.875rem;
}

.md-doctor-fee strong {
    color: var(--md-primary-dark);
    font-size: 1.125rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.md-hero {
    position: relative;
    background: linear-gradient(135deg, var(--md-primary) 0%, var(--md-primary-dark) 100%);
    color: white;
    padding: 2rem 0 3rem;
    overflow: hidden;
}

.md-hero-light {
    background: var(--md-gradient-hero);
    color: var(--md-gray-900);
    padding: 4rem 0 6rem;
}

.md-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23cd0000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    pointer-events: none;
}

.md-hero-content,
.md-hero > .md-container {
    position: relative;
    z-index: 1;
}

.md-hero-title {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--md-gray-900);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.md-hero-title span {
    color: var(--md-primary);
}

.md-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--md-gray-500);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

.md-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.md-section-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--md-gray-900);
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.md-section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 4px;
    background: var(--md-gradient-primary);
    border-radius: var(--md-radius-full);
}

.md-section-subtitle {
    color: var(--md-gray-600);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.md-footer {
    background: var(--md-gray-900);
    color: white;
    padding: 4rem 0 2rem;
}

.md-footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e53935 0%, #ef9a9a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.md-footer-description {
    color: var(--md-gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.md-footer-social {
    display: flex;
    gap: 1rem;
}

.md-footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--md-radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--md-transition);
}

.md-footer-social a:hover {
    background: var(--md-primary);
    transform: translateY(-3px);
}

.md-footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.md-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.md-footer-links li {
    margin-bottom: 0.75rem;
}

.md-footer-links a {
    color: var(--md-gray-400);
    text-decoration: none;
    transition: var(--md-transition);
}

.md-footer-links a:hover {
    color: var(--md-primary-light);
    padding-inline-start: 0.5rem;
}

.md-footer-app-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.md-footer-app-badge {
    height: 2.75rem;
    transition: var(--md-transition);
}

.md-footer-app-badge:hover {
    transform: scale(1.05);
}

.md-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--md-gray-500);
    font-size: 0.875rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes md-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes md-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes md-slide-in-right {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

[dir="rtl"] @keyframes md-slide-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.md-animate-fade-up {
    animation: md-fade-in-up 0.6s ease-out forwards;
}

.md-animate-delay-1 { animation-delay: 0.1s; }
.md-animate-delay-2 { animation-delay: 0.2s; }
.md-animate-delay-3 { animation-delay: 0.3s; }
.md-animate-delay-4 { animation-delay: 0.4s; }
.md-animate-delay-5 { animation-delay: 0.5s; }

/* ============================================
   UTILITIES
   ============================================ */

.md-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .md-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .md-container {
        padding: 0 2rem;
    }
}

.md-text-gradient {
    background: var(--md-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.md-bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cd0000' fill-opacity='0.05'%3E%3Ccircle cx='3' cy='3' r='1.5'/%3E%3Ccircle cx='13' cy='13' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* RTL Specific Adjustments */
[dir="rtl"] .md-doctor-footer {
    flex-direction: row-reverse;
}

[dir="rtl"] .md-footer-links a:hover {
    padding-inline-start: 0;
    padding-inline-end: 0.5rem;
}

/* ============================================
   BRAND COLOR UTILITY CLASSES
   Maps teal-* classes to MasrDoctors brand red
   so all portals use consistent site branding
   ============================================ */

/* Background - Brand Red */
.bg-teal-50  { background-color: #ffebee !important; }
.bg-teal-100 { background-color: #ffcdd2 !important; }
.bg-teal-200 { background-color: #ef9a9a !important; }
.bg-teal-500 { background-color: #cd0000 !important; }
.bg-teal-600 { background-color: #cd0000 !important; }
.bg-teal-700 { background-color: #b00000 !important; }
.bg-teal-800 { background-color: #8b0000 !important; }
.bg-teal-900 { background-color: #4a0000 !important; }

/* Text - Brand Red */
.text-teal-100 { color: #ffcdd2 !important; }
.text-teal-200 { color: #ef9a9a !important; }
.text-teal-300 { color: #e57373 !important; }
.text-teal-400 { color: #e53935 !important; }
.text-teal-500 { color: #cd0000 !important; }
.text-teal-600 { color: #cd0000 !important; }
.text-teal-700 { color: #b00000 !important; }
.text-teal-800 { color: #8b0000 !important; }

/* Border - Brand Red */
.border-teal-500 { border-color: #cd0000 !important; }
.border-teal-600 { border-color: #cd0000 !important; }

/* Gradient - Brand Red (from/to) */
.from-teal-500 { --tw-gradient-from: #cd0000; --tw-gradient-to: rgba(205,0,0,0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-teal-600 { --tw-gradient-from: #cd0000; --tw-gradient-to: rgba(205,0,0,0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-teal-800 { --tw-gradient-from: #8b0000; --tw-gradient-to: rgba(139,0,0,0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-teal-600 { --tw-gradient-to: #cd0000; }
.to-teal-700 { --tw-gradient-to: #b00000; }
.to-teal-800 { --tw-gradient-to: #8b0000; }
.to-teal-900 { --tw-gradient-to: #4a0000; }

/* Gradient Direction - Left */
.bg-gradient-to-l { background-image: linear-gradient(to left, var(--tw-gradient-stops)); }

/* Hover States - Brand Red */
.hover\:bg-teal-50:hover  { background-color: #ffebee !important; }
.hover\:bg-teal-100:hover { background-color: #ffcdd2 !important; }
.hover\:bg-teal-600:hover { background-color: #cd0000 !important; }
.hover\:bg-teal-700:hover { background-color: #b00000 !important; }
.hover\:bg-teal-800:hover { background-color: #8b0000 !important; }
.hover\:text-teal-600:hover { color: #cd0000 !important; }
.hover\:text-teal-700:hover { color: #b00000 !important; }
.hover\:text-white:hover { color: #fff !important; }

/* Focus States - Brand Red */
.focus\:ring-teal-500:focus { --tw-ring-color: #cd0000; }
.focus\:ring-teal-600:focus { --tw-ring-color: #cd0000; }
.focus\:border-teal-500:focus { border-color: #cd0000 !important; }

/* Dark Mode - Brand Red */
.dark .dark\:bg-teal-900 { background-color: #4a0000 !important; }
.dark .dark\:bg-teal-800 { background-color: #5a0000 !important; }
.dark .dark\:bg-teal-900\/20 { background-color: rgba(74,0,0,0.2) !important; }
.dark .dark\:bg-teal-900\/40 { background-color: rgba(74,0,0,0.4) !important; }
.dark .dark\:text-teal-300 { color: #e57373 !important; }
.dark .dark\:text-teal-400 { color: #e53935 !important; }
.dark .dark\:hover\:bg-teal-900\/40:hover { background-color: rgba(74,0,0,0.4) !important; }
.dark .dark\:hover\:text-teal-300:hover { color: #e57373 !important; }

/* White with opacity (for gradient overlays) */
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/20 { background-color: rgba(255,255,255,0.2); }
.hover\:bg-white\/20:hover { background-color: rgba(255,255,255,0.2); }
.hover\:bg-white\/30:hover { background-color: rgba(255,255,255,0.3); }

/* Green Gradient (lab results pages) */
.from-green-600 { --tw-gradient-from: #16a34a; --tw-gradient-to: rgba(22,163,74,0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-green-800 { --tw-gradient-from: #166534; --tw-gradient-to: rgba(22,101,52,0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-green-800 { --tw-gradient-to: #166534; }
.text-green-100 { color: #dcfce7; }

/* Purple Gradient (radiology pages) */
.from-purple-600 { --tw-gradient-from: #9333ea; --tw-gradient-to: rgba(147,51,234,0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-purple-800 { --tw-gradient-from: #6b21a8; --tw-gradient-to: rgba(107,33,168,0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-purple-800 { --tw-gradient-to: #6b21a8; }
.text-purple-100 { color: #f3e8ff; }
