/* Migro Brand CSS Variables and Global Styles */

:root {
    /* Brand Colors */
    --migro-primary: #FF6B6B;           /* Warm Coral/Salmon - Primary CTA, headings */
    --migro-secondary: #52b9b2;         /* Light Teal - Progress, secondary accents */
    --migro-accent: #A78BFA;            /* Soft Purple - Subtle accents */
    --migro-charcoal: #2D3748;          /* Text/Strong Neutral - Main text */
    --migro-cream: #FFF8F0;             /* Background/Soft Neutral - Primary background */
    
    /* Extended Brand Palette */
    --migro-bg-light: #fff8f8;          /* Light background variant */
    --migro-surface-light: #FFFFFF;     /* Card/surface backgrounds */
    --migro-text-primary: #181211;      /* Primary text color */
    --migro-text-secondary: #896861;    /* Secondary text color */
    --migro-border: rgba(236, 55, 19, 0.2); /* Border color */
    
    /* Typography */
    --migro-font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing System */
    --migro-spacing-xs: 0.25rem;   /* 4px */
    --migro-spacing-sm: 0.5rem;    /* 8px */
    --migro-spacing-md: 1rem;      /* 16px */
    --migro-spacing-lg: 1.5rem;    /* 24px */
    --migro-spacing-xl: 2rem;      /* 32px */
    --migro-spacing-2xl: 3rem;     /* 48px */
    --migro-spacing-3xl: 4rem;     /* 64px */
    
    /* Border Radius */
    --migro-radius-sm: 4px;
    --migro-radius-md: 8px;
    --migro-radius-lg: 12px;
    --migro-radius-xl: 16px;
    
    /* Shadows */
    --migro-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --migro-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --migro-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* Status Colors */
    --migro-success: #10B981;
    --migro-warning: #F59E0B;
    --migro-error: #EF4444;
    --migro-info: #3B82F6;
    
    /* Status Backgrounds */
    --migro-success-bg: #ECFDF5;
    --migro-warning-bg: #FFFBEB;
    --migro-error-bg: #FEF2F2;
    --migro-info-bg: #EFF6FF;
}

/* Global Typography */
body {
    font-family: var(--migro-font-family);
    color: var(--migro-text-primary);
    background-color: var(--migro-cream);
    line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--migro-charcoal);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Brand Button System */
.btn-migro-primary {
    background-color: var(--migro-primary);
    color: white;
    border: 2px solid var(--migro-primary);
    padding: var(--migro-spacing-sm) var(--migro-spacing-lg);
    border-radius: var(--migro-radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--migro-spacing-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--migro-font-family);
}

.btn-migro-primary:hover {
    background-color: #ff5252;
    border-color: #ff5252;
    transform: translateY(-1px);
    box-shadow: var(--migro-shadow-md);
}

.btn-migro-secondary {
    background-color: var(--migro-secondary);
    color: white;
    border: 2px solid var(--migro-secondary);
    padding: var(--migro-spacing-sm) var(--migro-spacing-lg);
    border-radius: var(--migro-radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--migro-spacing-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--migro-font-family);
}

.btn-migro-secondary:hover {
    background-color: #5dd5c7;
    border-color: #5dd5c7;
    transform: translateY(-1px);
    box-shadow: var(--migro-shadow-md);
}

.btn-migro-outline {
    background-color: transparent;
    color: var(--migro-primary);
    border: 2px solid var(--migro-primary);
    padding: var(--migro-spacing-sm) var(--migro-spacing-lg);
    border-radius: var(--migro-radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--migro-spacing-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--migro-font-family);
}

.btn-migro-outline:hover {
    background-color: var(--migro-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--migro-shadow-md);
}

/* Brand Cards */
.migro-card {
    background: var(--migro-surface-light);
    border-radius: var(--migro-radius-lg);
    padding: var(--migro-spacing-xl);
    box-shadow: var(--migro-shadow-sm);
    border: 1px solid rgba(45, 55, 72, 0.1);
    transition: all 0.3s ease;
}

.migro-card:hover {
    box-shadow: var(--migro-shadow-md);
    transform: translateY(-2px);
}

/* Status Badges */
.migro-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--migro-spacing-xs);
    padding: var(--migro-spacing-xs) var(--migro-spacing-sm);
    border-radius: var(--migro-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.migro-badge-success {
    background-color: var(--migro-success-bg);
    color: var(--migro-success);
}

.migro-badge-warning {
    background-color: var(--migro-warning-bg);
    color: var(--migro-warning);
}

.migro-badge-error {
    background-color: var(--migro-error-bg);
    color: var(--migro-error);
}

.migro-badge-info {
    background-color: var(--migro-info-bg);
    color: var(--migro-info);
}

.migro-badge-primary {
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--migro-primary);
}

.migro-badge-secondary {
    background-color: rgba(128, 232, 221, 0.2);
    color: #2d7a6e;
}

/* Form Elements */
.migro-input {
    width: 100%;
    padding: var(--migro-spacing-sm) var(--migro-spacing-md);
    border: 2px solid rgba(45, 55, 72, 0.2);
    border-radius: var(--migro-radius-md);
    font-size: 1rem;
    font-family: var(--migro-font-family);
    background-color: var(--migro-surface-light);
    color: var(--migro-text-primary);
    transition: all 0.3s ease;
}

.migro-input:focus {
    outline: none;
    border-color: var(--migro-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* Utility Classes */
.migro-text-primary { color: var(--migro-text-primary); }
.migro-text-secondary { color: var(--migro-text-secondary); }
.migro-text-coral { color: var(--migro-primary); }
.migro-text-blue { color: var(--migro-secondary); }
.migro-text-charcoal { color: var(--migro-charcoal); }

.migro-bg-cream { background-color: var(--migro-cream); }
.migro-bg-light { background-color: var(--migro-bg-light); }
.migro-bg-surface { background-color: var(--migro-surface-light); }

/* Icon Styling for Lucide Icons */
.migro-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
}

.migro-icon-sm {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

.migro-icon-lg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
}

.migro-icon-xl {
    width: 2rem;
    height: 2rem;
    stroke-width: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .migro-card {
        padding: var(--migro-spacing-lg);
    }
    
    .btn-migro-primary,
    .btn-migro-secondary,
    .btn-migro-outline {
        padding: var(--migro-spacing-md) var(--migro-spacing-lg);
        font-size: 0.9rem;
    }
}