﻿/* ====== timer Global Framework ======
 * Core variables, utilities, and reusable components
 * Author: AtivoLabs
 * Version: 1.0.0
 */

/* === ROOT VARIABLES === */
:root {
    /* timer Brand Colors */
    --timer-primary: #9d3ef5;
    --timer-primary-dark: #812ee0;
    --timer-primary-light: #b366f7;
    --timer-teal: #4ecdc4;
    --timer-teal-dark: #3bb5b0;
    --timer-teal-light: #6dd5ce;
    --timer-orange: #ff6b35;
    --timer-orange-dark: #e55525;
    --timer-orange-light: #ff8c5a;
    --timer-orange-soft: #FFF4ED;
    --timer-indigo: #6366F1;
    --timer-indigo-dark: #4F46E5;
    --timer-indigo-light: #818CF8;
    /* Status Colors */
    --timer-success: #10b981;
    --timer-success-light: #34d399;
    --timer-warning: #f59e0b;
    --timer-warning-light: #fbbf24;
    --timer-error: #ef4444;
    --timer-error-light: #f87171;
    --timer-info: #3b82f6;
    --timer-info-light: #60a5fa;
    /* Neutral Colors */
    --timer-white: #ffffff;
    --timer-black: #000000;
    --timer-gray-50: #f8f9fa;
    --timer-gray-100: #f3f4f6;
    --timer-gray-200: #e5e7eb;
    --timer-gray-300: #d1d5db;
    --timer-gray-400: #9ca3af;
    --timer-gray-500: #6b7280;
    --timer-gray-600: #4b5563;
    --timer-gray-700: #374151;
    --timer-gray-800: #1f2937;
    --timer-gray-900: #111827;
    /* Gradients */
    --timer-gradient-primary: linear-gradient(135deg, var(--timer-primary), var(--timer-teal));
    --timer-gradient-warm: linear-gradient(135deg, var(--timer-orange), var(--timer-primary));
    --timer-gradient-cool: linear-gradient(135deg, var(--timer-teal), var(--timer-primary));
    --timer-gradient-subtle: linear-gradient(135deg, var(--timer-gray-50), var(--timer-white));
    /* Typography */
    --timer-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --timer-font-size-xs: 0.75rem;
    --timer-font-size-sm: 0.875rem;
    --timer-font-size-base: 1rem;
    --timer-font-size-lg: 1.125rem;
    --timer-font-size-xl: 1.25rem;
    --timer-font-size-2xl: 1.5rem;
    --timer-font-size-3xl: 1.875rem;
    --timer-font-size-4xl: 1.75rem;
    --timer-font-size-5xl: 3rem;
    --timer-font-weight-light: 300;
    --timer-font-weight-normal: 400;
    --timer-font-weight-medium: 500;
    --timer-font-weight-semibold: 600;
    --timer-font-weight-bold: 700;
    --timer-font-weight-extrabold: 800;
    --timer-line-height-tight: 1.25;
    --timer-line-height-normal: 1.5;
    --timer-line-height-relaxed: 1.75;
    /* Spacing */
    --timer-space-1: 0.25rem;
    --timer-space-2: 0.5rem;
    --timer-space-3: 0.75rem;
    --timer-space-4: 1rem;
    --timer-space-5: 1.25rem;
    --timer-space-6: 1.5rem;
    --timer-space-8: 2rem;
    --timer-space-10: 2.5rem;
    --timer-space-12: 3rem;
    --timer-space-16: 4rem;
    --timer-space-20: 5rem;
    --timer-space-24: 6rem;
    /* Layout dimensions */
    --timer-sidebar-width: 260px;
    --timer-sidebar-collapsed-width: 70px;
    --timer-topbar-height: 70px;
    /* Spacing scale */
    --timer-space-4: 1rem; /* 16px */
    --timer-space-6: 1.5rem; /* 24px */
    --timer-space-8: 2rem; /* 32px */
    --timer-space-10: 2.5rem; /* 40px */
    --timer-space-12: 3rem; /* 48px */
    --timer-space-16: 4rem; /* 64px */
    /* Border Radius */
    --timer-radius-none: 0;
    --timer-radius-sm: 0.375rem;
    --timer-radius-md: 0.5rem;
    --timer-radius-lg: 0.75rem;
    --timer-radius-xl: 1rem;
    --timer-radius-2xl: 1.5rem;
    --timer-radius-3xl: 2rem;
    --timer-radius-full: 9999px;
    /* Shadows */
    --timer-shadow-xs: 0 1px 2px 0 rgba(157, 62, 245, 0.05);
    --timer-shadow-sm: 0 4px 6px -1px rgba(157, 62, 245, 0.1), 0 2px 4px -1px rgba(157, 62, 245, 0.06);
    --timer-shadow-md: 0 6px 16px -3px rgba(157, 62, 245, 0.1), 0 4px 6px -2px rgba(157, 62, 245, 0.05);
    --timer-shadow-lg: 0 10px 25px -3px rgba(157, 62, 245, 0.1), 0 4px 6px -2px rgba(157, 62, 245, 0.05);
    --timer-shadow-xl: 0 20px 25px -5px rgba(157, 62, 245, 0.1), 0 10px 10px -5px rgba(157, 62, 245, 0.04);
    --timer-shadow-2xl: 0 25px 50px -12px rgba(157, 62, 245, 0.25);
    /* Transitions */
    --timer-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --timer-transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --timer-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --timer-transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Z-index Scale */
    --timer-z-dropdown: 1000;
    --timer-z-sticky: 1020;
    --timer-z-fixed: 1030;
    --timer-z-modal-backdrop: 1040;
    --timer-z-modal: 1050;
    --timer-z-popover: 1060;
    --timer-z-tooltip: 1070;
    --timer-z-toast: 1080;
    /* Component Dimensions */
    --timer-topbar-height: 70px;
    --timer-sidebar-width: 260px;
    --timer-button-height-sm: 36px;
    --timer-button-height-md: 44px;
    --timer-button-height-lg: 52px;
    --timer-input-height-sm: 36px;
    --timer-input-height-md: 44px;
    --timer-input-height-lg: 52px;
}

/* === GLOBAL RESETS === */
* {
    box-sizing: border-box;
}

    *::before,
    *::after {
        box-sizing: border-box;
    }

body {
    margin: 0;
    padding: 0;
    font-family: var(--timer-font-family);
    font-size: var(--timer-font-size-base);
    line-height: var(--timer-line-height-normal);
    color: var(--timer-gray-900);
    background-color: var(--timer-gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.timer-page-wrapper {
    padding: 0 var(--timer-space-4);
}

/* === MAIN LAYOUT STRUCTURE === */
.timer-main-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* === PAGE TOP BAR COMPONENT === */
.timer-page-top-bar {
    background: linear-gradient(135deg, var(--timer-white) 0%, rgba(157, 62, 245, 0.02) 100%);
    border-radius: var(--timer-radius-2xl);
    box-shadow: var(--timer-shadow-sm);
    border: 1px solid var(--timer-gray-100);
    margin: 0 0 var(--timer-space-4); /* Only top and bottom margins */
    padding: var(--timer-space-6) var(--timer-space-8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--timer-space-4);
}

/* === PAGE TOP BAR COMPONENTS (Add to framework.css) === */
.timer-page-header {
    flex: 1;
}

.timer-page-title {
    display: flex;
    align-items: center;
    gap: var(--timer-space-3);
    font-size: var(--timer-font-size-3xl);
    font-weight: var(--timer-font-weight-bold);
    color: var(--timer-gray-900);
    margin: 0 0 var(--timer-space-2) 0;
}

    .timer-page-title i {
        color: var(--timer-primary);
        font-size: var(--timer-font-size-2xl);
    }

.timer-page-subtitle {
    font-size: var(--timer-font-size-base);
    color: var(--timer-gray-600);
    margin: 0;
}

.timer-page-actions {
    display: flex;
    gap: var(--timer-space-3);
}

/* === STATS GRID (Add to framework.css) === */
.timer-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--timer-space-6);
    margin-bottom: var(--timer-space-10);
}

.timer-stat-card {
    background: var(--timer-white);
    border-radius: var(--timer-radius-2xl);
    padding: var(--timer-space-6);
    box-shadow: var(--timer-shadow-sm);
    border: 1px solid var(--timer-gray-200);
    display: flex;
    align-items: center;
    gap: var(--timer-space-4);
    transition: all var(--timer-transition-normal);
    position: relative;
    overflow: hidden;
}

    .timer-stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--timer-gradient-primary);
        opacity: 0;
        transition: opacity var(--timer-transition-normal);
    }

    .timer-stat-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--timer-shadow-md);
    }

        .timer-stat-card:hover::before {
            opacity: 1;
        }

.timer-stat-primary .timer-stat-icon {
    background: rgba(157, 62, 245, 0.1);
    color: var(--timer-primary);
}

.timer-stat-teal .timer-stat-icon {
    background: rgba(78, 205, 196, 0.1);
    color: var(--timer-teal);
}

.timer-stat-orange .timer-stat-icon {
    background: rgba(255, 107, 53, 0.1);
    color: var(--timer-orange);
}

.timer-stat-indigo .timer-stat-icon {
    background: rgba(99, 102, 241, 0.1);
    color: var(--timer-indigo);
}

.timer-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--timer-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--timer-font-size-2xl);
}

.timer-stat-content {
    flex: 1;
}

.timer-stat-value {
    font-size: var(--timer-font-size-4xl);
    font-weight: var(--timer-font-weight-bold);
    color: var(--timer-gray-900);
    line-height: 1;
    margin-bottom: var(--timer-space-1);
}

.timer-stat-value-small {
    font-size: var(--timer-font-size-2xl);
}

.timer-stat-label {
    font-size: var(--timer-font-size-sm);
    color: var(--timer-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === BUTTON ICON STYLES (Add to framework.css) === */
.timer-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--timer-radius-lg);
    border: 1px solid var(--timer-gray-200);
    background: var(--timer-white);
    color: var(--timer-gray-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--timer-transition-fast);
}

    .timer-btn-icon:hover {
        background: var(--timer-gray-50);
        color: var(--timer-gray-800);
        transform: scale(1.05);
    }

    .timer-btn-icon:active {
        transform: scale(0.95);
    }

.timer-btn-icon-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--timer-error);
    border-color: rgba(239, 68, 68, 0.2);
}

/* === EMPTY STATE (Add to framework.css) === */
.timer-empty-state {
    text-align: center;
    padding: var(--timer-space-16) var(--timer-space-6);
    animation: timerFadeIn var(--timer-transition-normal);
}

.timer-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--timer-space-6);
    background: var(--timer-gray-100);
    border-radius: var(--timer-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--timer-font-size-5xl);
    color: var(--timer-gray-400);
}

.timer-empty-title {
    font-size: var(--timer-font-size-2xl);
    font-weight: var(--timer-font-weight-semibold);
    color: var(--timer-gray-900);
    margin: 0 0 var(--timer-space-3) 0;
}

.timer-empty-description {
    font-size: var(--timer-font-size-base);
    color: var(--timer-gray-600);
    margin: 0 0 var(--timer-space-8) 0;
}

/* === TABS (Add to framework.css) === */
.timer-tabs {
    display: flex;
    border-bottom: 1px solid var(--timer-gray-200);
    margin-bottom: var(--timer-space-6);
    gap: var(--timer-space-1);
}

.timer-tab {
    padding: var(--timer-space-3) var(--timer-space-6);
    border: none;
    background: none;
    color: var(--timer-gray-600);
    font-size: var(--timer-font-size-base);
    font-weight: var(--timer-font-weight-medium);
    cursor: pointer;
    position: relative;
    transition: all var(--timer-transition-fast);
    display: flex;
    align-items: center;
    gap: var(--timer-space-2);
}

    .timer-tab:hover {
        color: var(--timer-gray-800);
    }

    .timer-tab.active {
        color: var(--timer-primary);
    }

        .timer-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--timer-primary);
        }

.timer-tab-content {
    min-height: 300px;
}

.timer-tab-panel {
    display: none;
    animation: timerFadeIn var(--timer-transition-fast);
}

    .timer-tab-panel.active {
        display: block;
    }

.timer-page-top-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--timer-space-6);
}

.timer-page-top-main {
    flex: 1;
    min-width: 0;
}

.timer-page-top-title {
    font-size: var(--timer-font-size-3xl);
    font-weight: var(--timer-font-weight-bold);
    color: var(--timer-gray-900);
    margin: 0 0 var(--timer-space-2) 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: var(--timer-space-3);
}

.timer-page-top-subtitle {
    font-size: var(--timer-font-size-lg);
    color: var(--timer-gray-600);
    margin: 0;
    line-height: 1.5;
}

.timer-page-top-actions {
    display: flex;
    align-items: center;
    gap: var(--timer-space-3);
    flex-shrink: 0;
}

.timer-page-title-icon {
    background: var(--timer-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9em;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .timer-page-top-bar {
        flex-direction: column;
        align-items: stretch;
        padding: var(--timer-space-4) var(--timer-space-6);
        gap: var(--timer-space-4);
    }

    .timer-page-header {
        margin-bottom: 0; /* Remove margin since gap handles spacing */
    }

    .timer-page-top-content {
        flex-direction: column;
        align-items: stretch;
        gap: var(--timer-space-4);
    }

    .timer-page-top-title {
        font-size: var(--timer-font-size-2xl);
    }

    .timer-page-top-actions {
        justify-content: space-between;
        width: 100%;
    }

    .timer-page-actions {
        justify-content: stretch;
    }

        .timer-page-actions .timer-btn {
            flex: 1;
            justify-content: center;
        }
}

.timer-content-area {
    flex: 1;
    margin-left: var(--timer-sidebar-width, 260px);
    /* Increased top padding from topbar */
    /*top: calc(var(--timer-topbar-height) + var(--timer-space-5) + var(--timer-space-3));*/
    margin-top: calc(var(--timer-topbar-height) + var(--timer-space-5) + var(--timer-space-4));
    /* Increased horizontal padding */
    padding-left: var(--timer-space-12, 3rem);
    padding-right: var(--timer-space-12, 3rem);
    padding-bottom: var(--timer-space-12, 3rem);
    transition: margin-left var(--timer-transition-normal);
    min-height: 100vh;
    background: var(--timer-gray-50);
}

/* Add inner wrapper for max-width control */
.timer-content-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* When sidebar is collapsed */
.timer-sidebar-collapsed .timer-content-area {
    margin-left: var(--timer-sidebar-collapsed-width, 70px);
}

/* === MOBILE MARGIN & PROPER PADDING FIX === */
/* Remove unwanted margin-top and set appropriate mobile padding */

/* Mobile devices (max-width: 768px) */
@media screen and (max-width: 768px) {
    .timer-content-area {
        margin-top: 0 !important; /* Remove the 106px margin */
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        padding: 60px 16px 24px 16px !important; /* top right bottom left */
        /* 60px top for topbar, 16px sides for mobile */
    }

    /* Extra specificity if needed */
    body .timer-content-area,
    .timer-dashboard .timer-content-area,
    div.timer-content-area {
        margin-top: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Small mobile devices (≤480px) */
@media screen and (max-width: 480px) {
    .timer-content-area {
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        padding: 60px 12px 20px 12px !important; /* Even less padding on very small screens */
    }
}

/* Extra small devices (≤360px) */
@media screen and (max-width: 360px) {
    .timer-content-area {
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        padding: 60px 8px 16px 8px !important; /* Minimal padding for tiny screens */
    }
}

/* === UTILITY CLASSES === */

/* Display */
.timer-hidden {
    display: none !important;
}

.timer-block {
    display: block !important;
}

.timer-inline {
    display: inline !important;
}

.timer-inline-block {
    display: inline-block !important;
}

.timer-flex {
    display: flex !important;
}

.timer-inline-flex {
    display: inline-flex !important;
}

.timer-grid {
    display: grid !important;
}

/* Flexbox */
.timer-flex-row {
    flex-direction: row !important;
}

.timer-flex-col {
    flex-direction: column !important;
}

.timer-flex-wrap {
    flex-wrap: wrap !important;
}

.timer-flex-nowrap {
    flex-wrap: nowrap !important;
}

.timer-items-start {
    align-items: flex-start !important;
}

.timer-items-center {
    align-items: center !important;
}

.timer-items-end {
    align-items: flex-end !important;
}

.timer-justify-start {
    justify-content: flex-start !important;
}

.timer-justify-center {
    justify-content: center !important;
}

.timer-justify-end {
    justify-content: flex-end !important;
}

.timer-justify-between {
    justify-content: space-between !important;
}

.timer-justify-around {
    justify-content: space-around !important;
}

/* Spacing */
.timer-p-0 {
    padding: 0 !important;
}

.timer-p-1 {
    padding: var(--timer-space-1) !important;
}

.timer-p-2 {
    padding: var(--timer-space-2) !important;
}

.timer-p-3 {
    padding: var(--timer-space-3) !important;
}

.timer-p-4 {
    padding: var(--timer-space-4) !important;
}

.timer-p-5 {
    padding: var(--timer-space-5) !important;
}

.timer-p-6 {
    padding: var(--timer-space-6) !important;
}

.timer-p-8 {
    padding: var(--timer-space-8) !important;
}

.timer-m-0 {
    margin: 0 !important;
}

.timer-m-1 {
    margin: var(--timer-space-1) !important;
}

.timer-m-2 {
    margin: var(--timer-space-2) !important;
}

.timer-m-3 {
    margin: var(--timer-space-3) !important;
}

.timer-m-4 {
    margin: var(--timer-space-4) !important;
}

.timer-m-5 {
    margin: var(--timer-space-5) !important;
}

.timer-m-6 {
    margin: var(--timer-space-6) !important;
}

.timer-m-8 {
    margin: var(--timer-space-8) !important;
}

/* Colors */
.timer-text-primary {
    color: var(--timer-primary) !important;
}

.timer-text-teal {
    color: var(--timer-teal) !important;
}

.timer-text-orange {
    color: var(--timer-orange) !important;
}

.timer-text-success {
    color: var(--timer-success) !important;
}

.timer-text-warning {
    color: var(--timer-warning) !important;
}

.timer-text-error {
    color: var(--timer-error) !important;
}

.timer-text-gray-400 {
    color: var(--timer-gray-400) !important;
}

.timer-text-gray-500 {
    color: var(--timer-gray-500) !important;
}

.timer-text-gray-600 {
    color: var(--timer-gray-600) !important;
}

.timer-text-gray-700 {
    color: var(--timer-gray-700) !important;
}

.timer-text-gray-800 {
    color: var(--timer-gray-800) !important;
}

.timer-text-gray-900 {
    color: var(--timer-gray-900) !important;
}

.timer-bg-primary {
    background-color: var(--timer-primary) !important;
}

.timer-bg-teal {
    background-color: var(--timer-teal) !important;
}

.timer-bg-orange {
    background-color: var(--timer-orange) !important;
}

.timer-bg-white {
    background-color: var(--timer-white) !important;
}

.timer-bg-gray-50 {
    background-color: var(--timer-gray-50) !important;
}

.timer-bg-gray-100 {
    background-color: var(--timer-gray-100) !important;
}

.timer-bg-gray-200 {
    background-color: var(--timer-gray-200) !important;
}

/* Typography */
.timer-text-xs {
    font-size: var(--timer-font-size-xs) !important;
}

.timer-text-sm {
    font-size: var(--timer-font-size-sm) !important;
}

.timer-text-base {
    font-size: var(--timer-font-size-base) !important;
}

.timer-text-lg {
    font-size: var(--timer-font-size-lg) !important;
}

.timer-text-xl {
    font-size: var(--timer-font-size-xl) !important;
}

.timer-text-2xl {
    font-size: var(--timer-font-size-2xl) !important;
}

.timer-text-3xl {
    font-size: var(--timer-font-size-3xl) !important;
}

.timer-text-4xl {
    font-size: var(--timer-font-size-4xl) !important;
}

.timer-font-light {
    font-weight: var(--timer-font-weight-light) !important;
}

.timer-font-normal {
    font-weight: var(--timer-font-weight-normal) !important;
}

.timer-font-medium {
    font-weight: var(--timer-font-weight-medium) !important;
}

.timer-font-semibold {
    font-weight: var(--timer-font-weight-semibold) !important;
}

.timer-font-bold {
    font-weight: var(--timer-font-weight-bold) !important;
}

.timer-font-extrabold {
    font-weight: var(--timer-font-weight-extrabold) !important;
}

.timer-text-center {
    text-align: center !important;
}

.timer-text-left {
    text-align: left !important;
}

.timer-text-right {
    text-align: right !important;
}

/* === COMPONENT CLASSES === */

/* Buttons */
.timer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--timer-space-2);
    padding: 0 var(--timer-space-6);
    height: var(--timer-button-height-md);
    border: none;
    border-radius: var(--timer-radius-lg);
    font-family: var(--timer-font-family);
    font-size: var(--timer-font-size-base);
    font-weight: var(--timer-font-weight-medium);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--timer-transition-normal);
    position: relative;
    overflow: hidden;
}

    .timer-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: none;
    }

.timer-btn-primary {
    background: var(--timer-gradient-primary);
    color: var(--timer-white);
    box-shadow: var(--timer-shadow-sm);
}

    .timer-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--timer-shadow-lg);
    }

.timer-btn-secondary {
    background: var(--timer-gray-100);
    color: var(--timer-gray-700);
    border: 1px solid var(--timer-gray-200);
}

    .timer-btn-secondary:hover {
        background: var(--timer-gray-200);
        color: var(--timer-gray-800);
    }

.timer-btn-ghost {
    background: transparent;
    color: var(--timer-gray-600);
}

    .timer-btn-ghost:hover {
        background: var(--timer-gray-100);
        color: var(--timer-gray-800);
    }

.timer-btn-sm {
    height: var(--timer-button-height-sm);
    padding: 0 var(--timer-space-4);
    font-size: var(--timer-font-size-sm);
}

.timer-btn-lg {
    height: var(--timer-button-height-lg);
    padding: 0 var(--timer-space-8);
    font-size: var(--timer-font-size-lg);
}

/* Cards */
.timer-card {
    background: var(--timer-white);
    border-radius: var(--timer-radius-2xl);
    box-shadow: var(--timer-shadow-sm);
    border: 1px solid var(--timer-gray-200);
    overflow: hidden;
    transition: all var(--timer-transition-normal);
}

    .timer-card:hover {
        box-shadow: var(--timer-shadow-md);
        transform: translateY(-2px);
    }

.timer-card-header {
    padding: var(--timer-space-6);
    border-bottom: 1px solid var(--timer-gray-200);
}

.timer-card-body {
    padding: var(--timer-space-6);
}

.timer-card-footer {
    padding: var(--timer-space-6);
    border-top: 1px solid var(--timer-gray-200);
    background: var(--timer-gray-50);
}

/* Forms */
.timer-input {
    width: 100%;
    height: var(--timer-input-height-md);
    padding: 0 var(--timer-space-4);
    border: 1px solid var(--timer-gray-300);
    border-radius: var(--timer-radius-lg);
    font-family: var(--timer-font-family);
    font-size: var(--timer-font-size-base);
    background: var(--timer-white);
    color: var(--timer-gray-900);
    transition: all var(--timer-transition-normal);
}

    .timer-input:focus {
        outline: none;
        border-color: var(--timer-primary);
        box-shadow: 0 0 0 3px rgba(157, 62, 245, 0.1);
    }

    .timer-input::placeholder {
        color: var(--timer-gray-400);
    }

/* Icons */
.timer-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--timer-radius-full);
    background: var(--timer-gray-100);
    border: none;
    color: var(--timer-gray-600);
    cursor: pointer;
    transition: all var(--timer-transition-fast);
}

    .timer-icon-btn:hover {
        background: var(--timer-gray-200);
        color: var(--timer-gray-800);
        transform: translateY(-1px);
    }

/* Badges */
.timer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--timer-space-1) var(--timer-space-2);
    border-radius: var(--timer-radius-full);
    font-size: var(--timer-font-size-xs);
    font-weight: var(--timer-font-weight-medium);
}

.timer-badge-primary {
    background: var(--timer-primary);
    color: var(--timer-white);
}

.timer-badge-success {
    background: var(--timer-success);
    color: var(--timer-white);
}

.timer-badge-warning {
    background: var(--timer-warning);
    color: var(--timer-white);
}

.timer-badge-error {
    background: var(--timer-error);
    color: var(--timer-white);
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 768px) {
    .timer-hidden-mobile {
        display: none !important;
    }

    .timer-block-mobile {
        display: block !important;
    }

    .timer-flex-mobile {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .timer-hidden-desktop {
        display: none !important;
    }

    .timer-block-desktop {
        display: block !important;
    }

    .timer-flex-desktop {
        display: flex !important;
    }
}

/* === ANIMATIONS === */
@keyframes timer-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes timer-slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes timer-scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.timer-animate-fadeIn {
    animation: timer-fadeIn var(--timer-transition-normal);
}

.timer-animate-slideUp {
    animation: timer-slideUp var(--timer-transition-normal);
}

.timer-animate-scaleIn {
    animation: timer-scaleIn var(--timer-transition-normal);
}


/* === NOTIFICATIONS SYSTEM === */
.timer-notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--timer-z-toast);
    pointer-events: none;
    max-width: 400px;
}

.timer-notification {
    pointer-events: auto;
    background: var(--timer-white);
    backdrop-filter: blur(20px);
    border-radius: var(--timer-radius-xl);
    box-shadow: var(--timer-shadow-lg);
    border: 1px solid var(--timer-gray-200);
    margin-bottom: var(--timer-space-3);
    overflow: hidden;
    transform: translateX(420px);
    opacity: 0;
    transition: all var(--timer-transition-normal) var(--timer-ease);
    position: relative;
}

.timer-notification-show {
    transform: translateX(0);
    opacity: 1;
}

.timer-notification-hide {
    transform: translateX(420px);
    opacity: 0;
}

.timer-notification-content {
    display: flex;
    align-items: flex-start;
    padding: var(--timer-space-4);
    gap: var(--timer-space-3);
}

.timer-notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--timer-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--timer-font-size-lg);
    color: var(--timer-white);
}

.timer-notification-success .timer-notification-icon {
    background: var(--timer-success);
}

.timer-notification-error .timer-notification-icon {
    background: var(--timer-error);
}

.timer-notification-warning .timer-notification-icon {
    background: var(--timer-warning);
}

.timer-notification-info .timer-notification-icon {
    background: var(--timer-primary);
}

.timer-notification-meeting .timer-notification-icon {
    background: var(--timer-teal);
}

.timer-notification-timer .timer-notification-icon {
    background: var(--timer-orange);
}

.timer-notification-body {
    flex: 1;
    min-width: 0;
}

.timer-notification-message {
    font-size: var(--timer-font-size-base);
    font-weight: var(--timer-font-weight-medium);
    color: var(--timer-gray-900);
    line-height: 1.4;
    margin-bottom: var(--timer-space-1);
}

.timer-notification-time {
    font-size: var(--timer-font-size-xs);
    color: var(--timer-gray-500);
    font-weight: var(--timer-font-weight-normal);
}

.timer-notification-close {
    background: none;
    border: none;
    color: var(--timer-gray-400);
    cursor: pointer;
    padding: var(--timer-space-1);
    border-radius: var(--timer-radius-sm);
    transition: all var(--timer-transition-fast) var(--timer-ease);
    flex-shrink: 0;
}

    .timer-notification-close:hover {
        background: rgba(0, 0, 0, 0.05);
        color: var(--timer-gray-600);
    }

.timer-notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Priority styling */
.timer-priority-high {
    border-left: 4px solid var(--timer-warning);
}

.timer-priority-urgent {
    border-left: 4px solid var(--timer-error);
    animation: timerPulse 2s infinite;
}

/* Mobile notifications */
@media (max-width: 768px) {
    .timer-notifications-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .timer-notification {
        transform: translateY(-100px);
    }

    .timer-notification-show {
        transform: translateY(0);
    }

    .timer-notification-hide {
        transform: translateY(-100px);
    }
}

/* === LOADING SPINNERS === */
.timer-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--timer-white);
    animation: timerSpinner 0.8s linear infinite;
}

.timer-spinner-dark {
    border-color: rgba(0, 0, 0, 0.1);
    border-top-color: var(--timer-primary);
}

.timer-spinner-large {
    width: 40px;
    height: 40px;
    border-width: 3px;
}

.timer-spinner-small {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

/* Spinner colors */
.timer-spinner-primary {
    border-color: rgba(157, 62, 245, 0.2);
    border-top-color: var(--timer-primary);
}

.timer-spinner-teal {
    border-color: rgba(78, 205, 196, 0.2);
    border-top-color: var(--timer-teal);
}

.timer-spinner-orange {
    border-color: rgba(255, 107, 53, 0.2);
    border-top-color: var(--timer-orange);
}

@keyframes timerSpinner {
    to {
        transform: rotate(360deg);
    }
}

/* Button loading states */
.timer-btn-loading {
    position: relative;
    pointer-events: none;
}

    .timer-btn-loading > * {
        opacity: 0;
    }

    .timer-btn-loading .timer-spinner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 1;
    }

    .timer-btn-loading span {
        opacity: 1;
        margin-left: 28px;
    }



/* === MODAL FOUNDATION === */
.timer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--timer-z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--timer-transition-normal);
}

.timer-modal-show {
    opacity: 1;
    visibility: visible;
}

.timer-modal-hide {
    opacity: 0;
    visibility: hidden;
}

.timer-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.timer-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: var(--timer-space-4);
    transform: scale(0.9);
    transition: transform var(--timer-transition-bounce);
}

.timer-modal-show .timer-modal-dialog {
    transform: scale(1);
}

.timer-modal-content {
    background: var(--timer-white);
    border-radius: var(--timer-radius-2xl);
    box-shadow: var(--timer-shadow-2xl);
    border: 1px solid var(--timer-gray-200);
    overflow: hidden;
}

/* Modal Sizes */
.timer-modal-small {
    max-width: 400px;
}

.timer-modal-medium {
    max-width: 600px;
}

.timer-modal-large {
    max-width: 800px;
}

.timer-modal-full {
    max-width: 95vw;
    max-height: 95vh;
}

/* Modal Components */
.timer-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--timer-space-6);
    border-bottom: 1px solid var(--timer-gray-200);
    background: var(--timer-gradient-subtle);
}

.timer-modal-title {
    margin: 0;
    font-size: var(--timer-font-size-xl);
    font-weight: var(--timer-font-weight-semibold);
    color: var(--timer-gray-900);
}

.timer-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: var(--timer-radius-full);
    color: var(--timer-gray-500);
    cursor: pointer;
    transition: all var(--timer-transition-fast);
}

    .timer-modal-close:hover {
        background: var(--timer-gray-100);
        color: var(--timer-gray-700);
        transform: scale(1.1);
    }

.timer-modal-body {
    padding: var(--timer-space-6);
    max-height: 70vh;
    overflow-y: auto;
}

.timer-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--timer-space-3);
    padding: var(--timer-space-6);
    border-top: 1px solid var(--timer-gray-200);
    background: var(--timer-gray-50);
}

/* === ENHANCED FORM COMPONENTS === */

/* Form Groups */
.timer-form-group {
    margin-bottom: var(--timer-space-6);
}

.timer-form-group-inline {
    display: flex;
    gap: var(--timer-space-4);
    margin-bottom: var(--timer-space-6);
}

    .timer-form-group-inline .timer-form-group {
        flex: 1;
        margin-bottom: 0;
    }

/* Form Labels */
.timer-form-label {
    display: block;
    margin-bottom: var(--timer-space-2);
    font-size: var(--timer-font-size-sm);
    font-weight: var(--timer-font-weight-medium);
    color: var(--timer-gray-700);
}

.timer-form-label-required::after {
    content: '*';
    color: var(--timer-error);
    margin-left: var(--timer-space-1);
}

/* Enhanced Inputs */
.timer-input-group {
    position: relative;
}

.timer-input-icon {
    position: absolute;
    left: var(--timer-space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--timer-gray-400);
    pointer-events: none;
    z-index: 1;
}

.timer-input-with-icon {
    padding-left: var(--timer-space-12);
}

.timer-input-error {
    border-color: var(--timer-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.timer-input-success {
    border-color: var(--timer-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Textarea */
.timer-textarea {
    width: 100%;
    min-height: 100px;
    padding: var(--timer-space-4);
    border: 1px solid var(--timer-gray-300);
    border-radius: var(--timer-radius-lg);
    font-family: var(--timer-font-family);
    font-size: var(--timer-font-size-base);
    background: var(--timer-white);
    color: var(--timer-gray-900);
    transition: all var(--timer-transition-normal);
    resize: vertical;
}

    .timer-textarea:focus {
        outline: none;
        border-color: var(--timer-primary);
        box-shadow: 0 0 0 3px rgba(157, 62, 245, 0.1);
    }

/* Select Dropdowns */
.timer-select {
    width: 100%;
    height: var(--timer-input-height-md);
    padding: 0 var(--timer-space-4);
    border: 1px solid var(--timer-gray-300);
    border-radius: var(--timer-radius-lg);
    font-family: var(--timer-font-family);
    font-size: var(--timer-font-size-base);
    background: var(--timer-white);
    color: var(--timer-gray-900);
    cursor: pointer;
    transition: all var(--timer-transition-normal);
}

    .timer-select:focus {
        outline: none;
        border-color: var(--timer-primary);
        box-shadow: 0 0 0 3px rgba(157, 62, 245, 0.1);
    }

/* Checkbox and Radio */
.timer-checkbox-group,
.timer-radio-group {
    display: flex;
    align-items: center;
    gap: var(--timer-space-3);
    margin-bottom: var(--timer-space-4);
}

.timer-checkbox,
.timer-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--timer-gray-300);
    border-radius: var(--timer-radius-sm);
    cursor: pointer;
    transition: all var(--timer-transition-fast);
}

.timer-radio {
    border-radius: var(--timer-radius-full);
}

    .timer-checkbox:checked,
    .timer-radio:checked {
        background: var(--timer-primary);
        border-color: var(--timer-primary);
    }

.timer-checkbox-label,
.timer-radio-label {
    font-size: var(--timer-font-size-base);
    color: var(--timer-gray-700);
    cursor: pointer;
}

/* Form Validation Messages */
.timer-form-error {
    display: block;
    margin-top: var(--timer-space-2);
    font-size: var(--timer-font-size-sm);
    color: var(--timer-error);
}

.timer-form-help {
    display: block;
    margin-top: var(--timer-space-2);
    font-size: var(--timer-font-size-sm);
    color: var(--timer-gray-500);
}

/* === ENHANCED BUTTON STATES === */

/* Loading States */
.timer-btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

    .timer-btn-loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 16px;
        height: 16px;
        border: 2px solid currentColor;
        border-top-color: transparent;
        border-radius: 50%;
        animation: timerSpinner 0.8s linear infinite;
    }

    .timer-btn-loading span {
        opacity: 0;
    }

/* Success State */
.timer-btn-success {
    background: var(--timer-success) !important;
    color: var(--timer-white) !important;
}

    .timer-btn-success::after {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 18px;
        animation: timerFadeIn 0.3s ease-out;
    }

    .timer-btn-success span {
        opacity: 0;
    }

/* === COLOR PICKER COMPONENT === */
.timer-color-picker {
    display: flex;
    gap: var(--timer-space-3);
    flex-wrap: wrap;
}

.timer-color-option {
    width: 32px;
    height: 32px;
    border-radius: var(--timer-radius-full);
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--timer-transition-fast);
    position: relative;
}

    .timer-color-option:hover {
        transform: scale(1.1);
        box-shadow: var(--timer-shadow-md);
    }

    .timer-color-option.selected {
        border-color: var(--timer-white);
        box-shadow: 0 0 0 2px var(--timer-gray-400);
        transform: scale(1.1);
    }

    .timer-color-option::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 12px;
        height: 12px;
        background: var(--timer-white);
        border-radius: 50%;
        opacity: 0;
        transition: opacity var(--timer-transition-fast);
    }

    .timer-color-option.selected::after {
        opacity: 1;
    }

/* === TOGGLE SWITCHES === */
.timer-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.timer-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.timer-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--timer-gray-300);
    border-radius: 24px;
    transition: all var(--timer-transition-normal);
}

    .timer-toggle-slider::before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background: var(--timer-white);
        border-radius: 50%;
        transition: all var(--timer-transition-normal);
        box-shadow: var(--timer-shadow-sm);
    }

.timer-toggle-input:checked + .timer-toggle-slider {
    background: var(--timer-primary);
}

    .timer-toggle-input:checked + .timer-toggle-slider::before {
        transform: translateX(24px);
    }

/* === RESPONSIVE MODAL === */
@media (max-width: 768px) {
    .timer-modal-dialog {
        margin: var(--timer-space-2);
        max-width: calc(100vw - var(--timer-space-4));
    }

    .timer-modal-header,
    .timer-modal-body,
    .timer-modal-footer {
        padding: var(--timer-space-4);
    }

    .timer-modal-footer {
        flex-direction: column;
    }

        .timer-modal-footer .timer-btn {
            width: 100%;
        }

    .timer-form-group-inline {
        flex-direction: column;
    }
}

/* === SPINNER ANIMATION === */
@keyframes timerSpinner {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* === RESPONSIVE FRAMEWORK STYLES === */
@media (max-width: 768px) {
    .timer-page-top-bar {
        flex-direction: column;
        align-items: stretch;
        padding: var(--timer-space-4) var(--timer-space-6);
        margin: var(--timer-space-2);
    }

    .timer-page-header {
        margin-bottom: var(--timer-space-4);
    }

    .timer-page-actions {
        justify-content: stretch;
    }

        .timer-page-actions .timer-btn {
            flex: 1;
            justify-content: center;
        }

    .timer-stats-grid {
        grid-template-columns: 1fr;
        gap: var(--timer-space-4);
        margin-bottom: var(--timer-space-6);
    }

    .timer-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .timer-tabs::-webkit-scrollbar {
            display: none;
        }

    .timer-tab {
        white-space: nowrap;
        font-size: var(--timer-font-size-sm);
        padding: var(--timer-space-3) var(--timer-space-4);
    }

        .timer-tab i {
            display: none;
        }
}

@media (max-width: 480px) {
    .timer-page-top-bar {
        padding: var(--timer-space-4);
        border-radius: var(--timer-radius-xl);
    }

    .timer-page-title {
        font-size: var(--timer-font-size-2xl);
    }

        .timer-page-title i {
            font-size: var(--timer-font-size-xl);
        }

    .timer-page-subtitle {
        font-size: var(--timer-font-size-sm);
    }

    .timer-stat-card {
        padding: var(--timer-space-4);
    }

    .timer-stat-icon {
        width: 48px;
        height: 48px;
        font-size: var(--timer-font-size-xl);
    }

    .timer-stat-value {
        font-size: var(--timer-font-size-3xl);
    }

    .timer-stat-label {
        font-size: 11px;
    }

    .timer-empty-state {
        padding: var(--timer-space-12) var(--timer-space-4);
    }

    .timer-btn-icon {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Safe area support for modern phones */
@supports (padding: max(0px)) {
    .timer-page-top-bar {
        padding-left: max(var(--timer-space-8), env(safe-area-inset-left));
        padding-right: max(var(--timer-space-8), env(safe-area-inset-right));
    }

    @media (max-width: 768px) {
        .timer-page-top-bar {
            padding-left: max(var(--timer-space-6), env(safe-area-inset-left));
            padding-right: max(var(--timer-space-6), env(safe-area-inset-right));
        }
    }

    @media (max-width: 480px) {
        .timer-page-top-bar {
            padding-left: max(var(--timer-space-4), env(safe-area-inset-left));
            padding-right: max(var(--timer-space-4), env(safe-area-inset-right));
        }
    }
}

/*// landing page*/

/* ====== ADD THESE TO framework.css ====== */

/* === BUTTON ENHANCEMENTS === */
.timer-btn {
    /* Existing styles... */
    display: inline-flex;
    align-items: center;
    gap: var(--timer-space-2);
}

/* Large button size */
.timer-btn-lg {
    padding: var(--timer-space-4) var(--timer-space-8);
    font-size: var(--timer-font-size-lg);
}

/* Small button size */
.timer-btn-sm {
    padding: var(--timer-space-2) var(--timer-space-4);
    font-size: var(--timer-font-size-sm);
}

/* Outline buttons */
.timer-btn-outline {
    background: transparent;
    border: 2px solid var(--timer-gray-300);
    color: var(--timer-gray-700);
}

    .timer-btn-outline:hover {
        background: var(--timer-gray-50);
        border-color: var(--timer-gray-400);
    }

.timer-btn-outline-primary {
    background: transparent;
    border: 2px solid var(--timer-primary);
    color: var(--timer-primary);
}

    .timer-btn-outline-primary:hover {
        background: var(--timer-primary);
        color: var(--timer-white);
    }

/* === SVG ICON FIX === */
.timer-integration-icon svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
}

/* === MISSING ICON DEFINITIONS === */
/* If Font Awesome icons are missing, ensure these are included */
.fas.fa-brain::before {
    content: "\f5dc";
}

.fas.fa-robot::before {
    content: "\f544";
}

.fas.fa-chart-line::before {
    content: "\f201";
}

.fas.fa-shield-alt::before {
    content: "\f3ed";
}

.fas.fa-webhook::before {
    content: "\e5d6";
}

.fab.fa-google::before {
    content: "\f1a0";
}

.fab.fa-microsoft::before {
    content: "\f3ca";
}

.fab.fa-slack::before {
    content: "\f198";
}

.fab.fa-stripe::before {
    content: "\f429";
}

/* === GRADIENT TEXT === */
.timer-gradient-text {
    background: var(--timer-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* === CONTAINER UTILITIES === */
.timer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--timer-space-4);
}

/* === Z-INDEX LAYERS === */
:root {
    --timer-z-base: 1;
    --timer-z-dropdown: 100;
    --timer-z-sticky: 200;
    --timer-z-fixed: 300;
    --timer-z-modal-backdrop: 400;
    --timer-z-modal: 500;
    --timer-z-notification: 600;
    --timer-z-tooltip: 700;
}

/* === SHADOW UTILITIES === */
:root {
    --timer-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --timer-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --timer-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --timer-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --timer-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --timer-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* === LINE HEIGHT UTILITIES === */
:root {
    --timer-line-height-none: 1;
    --timer-line-height-tight: 1.25;
    --timer-line-height-snug: 1.375;
    --timer-line-height-normal: 1.5;
    --timer-line-height-relaxed: 1.625;
    --timer-line-height-loose: 2;
}

/* === RADIUS UTILITIES === */
:root {
    --timer-radius-none: 0;
    --timer-radius-sm: 0.125rem;
    --timer-radius-md: 0.375rem;
    --timer-radius-lg: 0.5rem;
    --timer-radius-xl: 0.75rem;
    --timer-radius-2xl: 1rem;
    --timer-radius-3xl: 1.5rem;
    --timer-radius-full: 9999px;
}

/* ====== PILOT ASSISTANT INTEGRATION ====== */
/* Ensure Pilot respects framework motion preferences */
.timer-reduced-motion .timer-pilot-character,
.timer-reduced-motion .timer-pilot-message-box {
    animation: none !important;
    transition: none !important;
}

/* Pilot highlight integration with framework */
.timer-pilot-highlight {
    position: relative;
    z-index: calc(var(--timer-z-modal, 1000) - 1);
}