/* ========================================
   AdDesk.AI - Professional Blue Theme
   Clean, Modern, Consistent Design System
   ======================================== */

:root {
    /* Blue Color System */
    --primary-50: #E3F2FD;
    --primary-100: #BBDEFB;
    --primary-200: #90CAF9;
    --primary-300: #64B5F6;
    --primary-400: #42A5F5;
    --primary-500: #2196F3;
    --primary-600: #1E88E5;
    --primary-700: #1976D2;
    --primary-800: #1565C0;
    --primary-900: #0D47A1;
    
    /* Neutral Grays */
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.03);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.10), 0 8px 10px rgba(0,0,0,0.04);
    
    /* Spacing Scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* ========================================
   Global Resets & Base Styles
   ======================================== */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--gray-900);
}

/* ========================================
   Modern Card Hover Effects
   ======================================== */

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hover-lift:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06) !important;
    border-color: #cbd5e1 !important;
}

/* ========================================
   MudBlazor Component Overrides
   ======================================== */

/* Modern Buttons */
.mud-button-root {
    border-radius: 10px !important;
    text-transform: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 10px 20px !important;
}

.mud-button-filled-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
    color: white !important;
}

.mud-button-filled-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #5568d3 0%, #653a8a 100%) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.mud-button-filled-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-filled-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
}

.mud-button-filled-error:hover:not(:disabled) {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4) !important;
    transform: translateY(-2px) !important;
}

.mud-button-outlined {
    border: 1.5px solid #e5e7eb !important;
    color: var(--gray-700) !important;
    background: white !important;
}

.mud-button-outlined:hover:not(:disabled) {
    border-color: #667eea !important;
    color: #667eea !important;
    background: #f5f3ff !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15) !important;
}

/* Modern Cards */
.mud-card {
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

.mud-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Modern Paper */
.mud-paper {
    border-radius: 12px !important;
    background: white !important;
}

/* Modern Chips */
.mud-chip {
    border-radius: 8px !important;
    font-weight: 500 !important;
    padding: 6px 12px !important;
}

.mud-chip.mud-chip-color-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.mud-chip.mud-chip-color-info {
    background: #dbeafe !important;
    color: #1e40af !important;
}

.mud-chip.mud-chip-color-success {
    background: #d1fae5 !important;
    color: #065f46 !important;
}

.mud-chip.mud-chip-color-warning {
    background: #fef3c7 !important;
    color: #92400e !important;
}

/* Modern Tabs */
.mud-tabs .mud-tab {
    text-transform: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    padding: 12px 24px !important;
}

.mud-tabs .mud-tab-active {
    color: #667eea !important;
}

.mud-tabs .mud-tab-slider {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%) !important;
    height: 3px !important;
    border-radius: 3px 3px 0 0 !important;
}

/* Modern Alerts */
.mud-alert {
    border-radius: 10px !important;
    border-left: 4px solid !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

.mud-alert-info {
    background: #f0f9ff !important;
    border-left-color: #3b82f6 !important;
}

.mud-alert-success {
    background: #f0fdf4 !important;
    border-left-color: #10b981 !important;
}

.mud-alert-warning {
    background: #fffbeb !important;
    border-left-color: #f59e0b !important;
}

.mud-alert-error {
    background: #fef2f2 !important;
    border-left-color: #ef4444 !important;
}

.mud-button-text {
    color: var(--primary-700) !important;
}

.mud-button-text:hover:not(:disabled) {
    background: var(--primary-50) !important;
}

/* Icon Buttons */
.mud-icon-button {
    border-radius: var(--radius-md) !important;
    transition: all 0.2s ease !important;
}

.mud-icon-button:hover {
    background: var(--primary-50) !important;
    color: var(--primary-700) !important;
}

/* Paper & Cards */
.mud-paper {
    border-radius: var(--radius-lg) !important;
    background: white !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid var(--gray-200) !important;
}

.mud-paper-outlined {
    border: 1px solid var(--gray-300) !important;
    box-shadow: none !important;
}

.mud-paper-elevation-2 {
    box-shadow: var(--shadow-md) !important;
}

.mud-paper-elevation-4 {
    box-shadow: var(--shadow-lg) !important;
}

/* Input Fields - Outlined Variant */
.mud-input-outlined {
    background: white !important;
    border-radius: var(--radius-md) !important;
}

.mud-input-outlined .mud-input-outlined-border {
    border-color: var(--gray-300) !important;
    border-width: 1.5px !important;
    border-radius: var(--radius-md) !important;
}

.mud-input-outlined:hover .mud-input-outlined-border {
    border-color: var(--primary-600) !important;
}

.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: var(--primary-700) !important;
    border-width: 2px !important;
}

.mud-input-outlined .mud-input-slot {
    padding: 12px 16px !important;
}

.mud-input-outlined .mud-input-label {
    background: white !important;
    padding: 0 6px !important;
    color: var(--gray-600) !important;
    font-weight: 500 !important;
}

.mud-input-outlined.mud-input-focused .mud-input-label {
    color: var(--primary-700) !important;
}

/* Input Fields - Filled Variant */
.mud-input-filled {
    background: var(--gray-100) !important;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    border-bottom: 2px solid var(--gray-300) !important;
}

.mud-input-filled:before,
.mud-input-filled:after {
    border-bottom: none !important;
}

.mud-input-filled:hover {
    background: var(--gray-200) !important;
    border-bottom-color: var(--primary-600) !important;
}

.mud-input-filled.mud-input-focused {
    border-bottom-color: var(--primary-700) !important;
}

/* Select / Dropdown */
.mud-select {
    background: white !important;
}

.mud-select-outlined .mud-select-input {
    border-radius: var(--radius-md) !important;
}

/* Chips */
.mud-chip {
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    font-size: 0.813rem !important;
}

.mud-chip-filled.mud-chip-color-primary {
    background: var(--primary-100) !important;
    color: var(--primary-800) !important;
}

.mud-chip-filled.mud-chip-color-info {
    background: var(--primary-50) !important;
    color: var(--primary-700) !important;
}

/* Alerts */
.mud-alert {
    border-radius: var(--radius-md) !important;
    border: 1px solid !important;
}

.mud-alert-filled-info {
    background: var(--primary-50) !important;
    border-color: var(--primary-200) !important;
    color: var(--primary-900) !important;
}

.mud-alert-filled-success {
    background: #E8F5E9 !important;
    border-color: #A5D6A7 !important;
    color: #2E7D32 !important;
}

.mud-alert-filled-warning {
    background: #FFF3E0 !important;
    border-color: #FFCC80 !important;
    color: #E65100 !important;
}

.mud-alert-filled-error {
    background: #FFEBEE !important;
    border-color: #EF9A9A !important;
    color: #C62828 !important;
}

/* App Bar */
.mud-appbar {
    background: white !important;
    box-shadow: var(--shadow-sm) !important;
    border-bottom: 1px solid var(--gray-200) !important;
    backdrop-filter: blur(10px) !important;
}

.mud-appbar .mud-icon-button {
    color: var(--primary-700) !important;
}

.mud-appbar .mud-icon-button:hover {
    background: var(--primary-50) !important;
}

/* Navigation Links */
.mud-nav-link {
    border-radius: var(--radius-md) !important;
    margin: 4px 8px !important;
    transition: all 0.2s ease !important;
}

.mud-nav-link:hover {
    background: var(--primary-50) !important;
    color: var(--primary-700) !important;
}

.mud-nav-link-active {
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%) !important;
    color: var(--primary-800) !important;
    font-weight: 600 !important;
}

/* Tables */
.mud-table {
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    border: 1px solid var(--gray-200) !important;
}

.mud-table-head {
    background: var(--gray-50) !important;
}

.mud-table-cell {
    border-bottom: 1px solid var(--gray-200) !important;
}

.mud-table-row:hover {
    background: var(--primary-50) !important;
}

/* Dialog */
.mud-dialog {
    border-radius: var(--radius-lg) !important;
}

.mud-dialog-title {
    background: var(--gray-50) !important;
    border-bottom: 1px solid var(--gray-200) !important;
}

/* Dividers */
.mud-divider {
    background: var(--gray-200) !important;
}

/* Progress */
.mud-progress-linear {
    border-radius: var(--radius-full) !important;
    background: var(--gray-200) !important;
}

.mud-progress-linear-bar {
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--primary-500) 100%) !important;
}

.mud-progress-circular-circle {
    stroke: var(--primary-700) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-300);
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-500);
}

/* ========================================
   Utility Classes
   ======================================== */

.gradient-text {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* ========================================
   Custom Components
   ======================================== */

/* Device Cards */
.device-card,
.creative-card {
    transition: all 0.2s ease !important;
    border: 1px solid var(--gray-200) !important;
    background: white !important;
    border-radius: var(--radius-lg) !important;
}

.device-card:hover,
.creative-card:hover {
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-2px) !important;
    border-color: var(--primary-300) !important;
}

/* Footer */
#device-footer {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%) !important;
    box-shadow: var(--shadow-xl) !important;
    border-top: 2px solid var(--primary-800) !important;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.4s ease-out;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .mud-appbar {
        padding: 8px !important;
    }
    
    .mud-button-root {
        padding: 8px 16px !important;
    }
}


/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background-primary);
}

/* Rounded Buttons - iOS Style */
.mud-button-root {
    border-radius: 14px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.2s ease !important;
}

.mud-button-filled-primary {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%) !important;
    border: none !important;
}

.mud-button-filled-primary:hover {
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-1px);
}

.mud-button-outlined {
    background: white !important;
    border: 2px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

.mud-button-outlined:hover {
    background: var(--background-secondary) !important;
    border-color: var(--primary-color) !important;
}

.mud-button-text {
    background: transparent !important;
    box-shadow: none !important;
}

/* Icon Buttons */
.mud-icon-button {
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
}

.mud-icon-button:hover {
    background: rgba(25, 118, 210, 0.08) !important;
}

/* Paper/Cards */
.mud-paper {
    border-radius: 16px !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid var(--border-color) !important;
}

.mud-paper-elevation-2 {
    box-shadow: var(--shadow-md) !important;
}

.mud-paper-elevation-4 {
    box-shadow: var(--shadow-lg) !important;
}

/* Text Fields - Filled Variant */
.mud-input-filled {
    border-radius: 12px !important;
    background: white !important;
    border: 1px solid var(--border-color) !important;
}

.mud-input-filled:before,
.mud-input-filled:after {
    border-bottom: none !important;
}

.mud-input-filled.mud-input-adorned-end {
    padding-right: 12px !important;
}

.mud-input-slot {
    padding: 12px 16px !important;
}

/* Text Fields - Outlined Variant (for DatePickers, etc.) */
.mud-input-outlined {
    border-radius: 12px !important;
    background: white !important;
}

.mud-input-outlined .mud-input-outlined-border {
    border-color: var(--border-color) !important;
    border-width: 1px !important;
    border-radius: 12px !important;
}

.mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(25, 118, 210, 0.5) !important;
}

.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: var(--primary-color) !important;
    border-width: 2px !important;
}

.mud-input-outlined .mud-input-slot {
    padding: 12px 16px !important;
}

/* Fix label text overlay on outlined inputs */
.mud-input-outlined .mud-input-label,
.mud-input-outlined .mud-input-label-inputted,
.mud-input-outlined.mud-shrink .mud-input-label {
    background: white !important;
    padding: 0 6px !important;
    margin: 0 -2px !important;
    z-index: 1 !important;
}

/* Ensure label sits above the border line */
.mud-input-outlined legend {
    background: white !important;
    padding: 0 !important;
}

.mud-input-outlined fieldset {
    background: transparent !important;
}

/* Fix textarea specific styling */
.mud-input-outlined textarea {
    margin-top: 0 !important;
    padding-top: 12px !important;
}

.mud-input-outlined .mud-input-slot-multiline {
    padding: 12px 16px !important;
}

/* Date Picker Specific Styling */
.mud-picker-input-button {
    color: var(--primary-color) !important;
}

.mud-picker-input-button .mud-icon-button {
    border: none !important;
}

.mud-input-adornment .mud-icon-button {
    border: none !important;
}

.mud-picker-calendar-container {
    border-radius: 12px !important;
}

.mud-picker-calendar-header {
    background: var(--background-secondary) !important;
    border-radius: 12px 12px 0 0 !important;
}

.mud-picker-calendar-day.mud-selected {
    background: var(--primary-color) !important;
    border-radius: 8px !important;
}

.mud-picker-calendar-day:hover {
    background: rgba(25, 118, 210, 0.1) !important;
    border-radius: 8px !important;
}

/* Remove ugly default borders from input controls */
.mud-input-control {
    background: transparent !important;
}

.mud-input-control-input-container {
    background: transparent !important;
}

/* Fix for white boxes with borders on light backgrounds */
.mud-input-root {
    background: transparent !important;
}

.mud-input-root-outlined {
    background: white !important;
}

/* Chips/Tags */
.mud-chip {
    border-radius: 20px !important;
    padding: 6px 16px !important;
    font-weight: 500 !important;
}

.mud-chip-filled {
    background: var(--background-secondary) !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

/* Checkboxes & Toggles */
.mud-checkbox {
    border-radius: 6px !important;
}

.mud-switch {
    border-radius: 20px !important;
}

/* Alerts */
.mud-alert {
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
}

/* Tables */
.mud-table {
    border-radius: 12px !important;
    overflow: hidden;
}

.mud-table-cell {
    border-bottom: 1px solid var(--border-color) !important;
}

/* Progress Bars */
.mud-progress-linear {
    border-radius: 10px !important;
}

.mud-progress-circular-circle {
    stroke: var(--primary-color) !important;
}

/* Dividers */
.mud-divider {
    background: var(--border-color) !important;
}

/* Drawer */
.mud-drawer {
    background: white !important;
    border-right: 1px solid var(--border-color) !important;
}

/* App Bar */
.mud-appbar {
    backdrop-filter: blur(10px) !important;
}

/* Navigation Menu */
.mud-nav-link {
    border-radius: 10px !important;
    margin: 4px 8px !important;
    padding: 10px 16px !important;
}

.mud-nav-link-active {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.1) 0%, rgba(21, 101, 192, 0.1) 100%) !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.mud-nav-link:hover {
    background: rgba(25, 118, 210, 0.05) !important;
}

/* Custom utility classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.gradient-text {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(25, 118, 210, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(25, 118, 210, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Campaign Schedule Section - Clean styling */
#schedule-section {
    background: white !important;
    border: 1px solid var(--border-color) !important;
    transition: box-shadow 0.3s ease !important;
}

#schedule-section:hover {
    border-color: rgba(25, 118, 210, 0.2) !important;
}

/* Alert boxes - softer appearance */
.mud-alert-info {
    background: rgba(0, 122, 255, 0.05) !important;
    border: 1px solid rgba(0, 122, 255, 0.2) !important;
    border-radius: 12px !important;
}

.mud-alert-warning {
    background: rgba(255, 149, 0, 0.05) !important;
    border: 1px solid rgba(255, 149, 0, 0.2) !important;
    border-radius: 12px !important;
}

.mud-alert-success {
    background: rgba(52, 199, 89, 0.05) !important;
    border: 1px solid rgba(52, 199, 89, 0.2) !important;
    border-radius: 12px !important;
}

.mud-alert-error {
    background: rgba(255, 59, 48, 0.05) !important;
    border: 1px solid rgba(255, 59, 48, 0.2) !important;
    border-radius: 12px !important;
}

/* Creative cards - cleaner appearance */
.device-card,
.creative-card {
    transition: all 0.2s ease !important;
    border: 1px solid var(--border-color) !important;
    background: white !important;
}

.device-card:hover,
.creative-card:hover {
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-2px);
    border-color: rgba(25, 118, 210, 0.3) !important;
}

/* MudDialog improvements */
.mud-dialog {
    border-radius: 16px !important;
}

.mud-dialog-title {
    background: var(--background-secondary) !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 20px 24px !important;
}

.mud-dialog-content {
    padding: 24px !important;
}

.mud-dialog-actions {
    padding: 16px 24px !important;
    border-top: 1px solid var(--border-color) !important;
}

/* Remove annoying white background artifacts */
.mud-popover-open,
.mud-picker-open {
    background: transparent !important;
}

/* Make menu popovers opaque */
.mud-popover.mud-popover-open .mud-list {
    background: white !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    border-radius: 10px !important;
}

/* ========================================
   Modern Badge & Status Indicators
   ======================================== */

.mud-badge {
    border-radius: 10px !important;
    font-weight: 600 !important;
    padding: 2px 8px !important;
}

/* ========================================
   Modern Dialogs
   ======================================== */

.mud-dialog {
    border-radius: 16px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.mud-dialog-title {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: var(--gray-900) !important;
}

/* ========================================
   Modern Input Fields
   ======================================== */

.mud-input-outlined {
    border-radius: 10px !important;
}

.mud-input-outlined .mud-input-outlined-border {
    border-color: #e5e7eb !important;
    border-width: 1.5px !important;
}

.mud-input-outlined:hover .mud-input-outlined-border {
    border-color: #cbd5e1 !important;
}

.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: #667eea !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* ========================================
   Modern Utility Classes
   ======================================== */

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.shadow-soft {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
}

.shadow-medium {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}

.shadow-strong {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

/* ========================================
   Animation Helpers
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Responsive Enhancements
   ======================================== */

@media (max-width: 960px) {
    .mud-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 600px) {
    .mud-dialog {
        margin: 16px !important;
        max-width: calc(100% - 32px) !important;
    }
}

.mud-picker-calendar-container {
    background: white !important;
    box-shadow: var(--shadow-lg) !important;
}
