/* Schneider Electric Inspired Corporate Design System for Manfield Engineering */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --se-green: #00843d;
    --se-green-hover: #006b31;
    --se-green-light: #e6f4eb;
    --se-dark: #121212;
    --se-gray-dark: #2d3748;
    --se-gray-light: #f7f9fa;
    --se-border: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2b3648;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .se-font-heading {
    font-family: 'Outfit', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.se-font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Schneider Electric Green & Corporate Accents */
.bg-se-green {
    background-color: #00843d;
}
.bg-se-green:hover {
    background-color: #006b31;
}
.text-se-green {
    color: #00843d;
}
.border-se-green {
    border-color: #00843d;
}

.bg-se-dark {
    background-color: #0d131f;
}

.bg-se-surface {
    background-color: #f7f9fa;
}

/* Schneider-style Crisp Corporate Cards */
.se-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.se-card:hover {
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
    transform: translateY(-3px);
}

.se-card-featured {
    border-left: 4px solid #00843d;
}

/* Schneider Pill Buttons */
.se-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #00843d;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.se-btn-primary:hover {
    background-color: #006b31;
}

.se-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: #111827;
    border: 1.5px solid #111827;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}
.se-btn-outline:hover {
    background-color: #111827;
    color: #ffffff;
}

.se-btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}
.se-btn-outline-white:hover {
    background-color: #ffffff;
    color: #0d131f;
    border-color: #ffffff;
}

/* Tab Navigation (SE Style) */
.se-tab-btn {
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #4b5563;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.se-tab-btn:hover {
    color: #00843d;
}
.se-tab-btn.active {
    color: #00843d;
    border-bottom-color: #00843d;
}

/* Nav Link Hover Indicator */
.se-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    transition: color 0.15s ease;
    position: relative;
    padding: 6px 0;
}
.se-nav-link:hover {
    color: #00843d;
}

/* Live Status Dot */
.se-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #00843d;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(0, 132, 61, 0.7);
    animation: sePulse 2s infinite;
}
@keyframes sePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 132, 61, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 132, 61, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 132, 61, 0); }
}

/* Subtle corporate pattern */
.se-dot-pattern {
    background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 20px 20px;
}
