* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Sidebar */
    --sidebar-bg: #FFFFFF;
    --sidebar-text: #64748B;
    --sidebar-text-hover: #1A1A1A;
    --sidebar-active-bg: #F3F0FF;
    --sidebar-active-text: #5B21B6;
    --sidebar-section-title: #94A3B8;

    /* Main Content */
    --main-bg: #F8F9FA;
    --card-bg: #FFFFFF;

    /* Text */
    --text-primary: #1A1A1A;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;

    /* Symfony Brand Colors */
    --symfony-purple: #5B21B6;
    --symfony-purple-bg: #F3F0FF;

    /* Status Colors */
    --status-connected-bg: #ECFDF5;
    --status-connected-text: #059669;
    --status-connected-dot: #10B981;

    --status-disconnected-bg: #FEF2F2;
    --status-disconnected-text: #DC2626;
    --status-disconnected-dot: #EF4444;

    --status-connecting-bg: #FEF3C7;
    --status-connecting-text: #D97706;
    --status-connecting-dot: #F59E0B;

    /* Badges */
    --badge-blue-bg: #DBEAFE;
    --badge-blue-text: #1D4ED8;

    /* Job Card Colors */
    --job-success-bg: #F0F9F4;
    --job-error-bg: #FEE;
    --job-running-bg: #FFFFFF;
    --job-running-dot: #F59E0B;
    --job-queued-bg: #E8E8E8;

    /* Borders */
    --border-color: #E3E8EF;
    --border-color-light: #DDD;

    /* GitHub */
    --github-bg: #24292e;
    --github-bg-hover: #1a1e22;

    /* Logs */
    --log-bg: #24292e;
    --log-border: #3d444d;
    --log-text: #e6edf3;
    --log-time: #7d8590;
    --log-attrs: #7d8590;
    --log-level-debug: #79c0ff;
    --log-level-info: var(--status-connected-text);
    --log-level-warn: var(--status-connecting-text);
    --log-level-error: var(--status-disconnected-text);

    /* Font Family */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--main-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.app-layout {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 24px;
    text-align: center;
}

.sidebar-header h1 {
    font-size: 23px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sidebar-logo {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}

.sidebar-menu {
    flex: 1;
    padding: 16px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease, background-color 0.15s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    color: var(--sidebar-text-hover);
}

.sidebar-link.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active-text);
}

.sidebar-icon {
    margin-right: 12px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Icon size classes */
.icon-12 {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
}

.icon-inline {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    width: 14px;
    height: 14px;
}

.sidebar-section-title {
    padding: 24px 24px 8px 24px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sidebar-section-title);
}

.sidebar-section-header {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease, background-color 0.15s ease;
    border-left: 3px solid transparent;
    margin: 0 12px;
    cursor: default;
    pointer-events: none;
}

.sidebar-footer {
    padding: 24px;
}

/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
    background: var(--main-bg);
}

/* Shared animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Utility class for hiding elements */
.hidden {
    display: none !important;
}

/* Local Mode Banner */
.local-mode-banner {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 5px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    z-index: 1000;
    position: sticky;
    top: 0;
}

.local-mode-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.local-mode-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.local-mode-text {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
