/* =========================================================
   WebNurse Elementor Widgets — Stylesheet
   ========================================================= */

/* ── Eyebrow Badge ─────────────────────────────────────── */
.wne-eyebrow-wrap {
    display: flex;
    width: 100%;
}

.wne-eyebrow-wrap a {
    text-decoration: none;
}

.wne-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e6f5f3;
    color: #0a7c6e;
    padding: 6px 16px;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.4;
    transition: opacity 0.2s ease;
}

.wne-eyebrow-badge:hover {
    opacity: 0.85;
}

.wne-eyebrow-icon {
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* ── Service Card ──────────────────────────────────────── */
.wne-service-card {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid rgba(10, 124, 110, 0.15);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

/* Hover lift */
.wne-service-card.wne-sc-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(10, 124, 110, 0.1);
}

/* Top accent line */
.wne-sc-topline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0a7c6e, #12a090);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.wne-service-card.wne-sc-has-topline:hover .wne-sc-topline {
    transform: scaleX(1);
}

/* Link wrapper inside card */
.wne-sc-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Icon box */
.wne-sc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: #e6f5f3;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.wne-sc-icon i,
.wne-sc-icon svg {
    font-size: inherit;
    color: #0a7c6e;
    fill: #0a7c6e;
}

/* Title */
.wne-sc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d1f2d;
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1.3;
}

/* Description */
.wne-sc-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #5a7080;
    line-height: 1.65;
    margin: 0;
    padding: 0;
}

/* Tags container */
.wne-sc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

/* Individual tag */
.wne-sc-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    color: #0a7c6e;
    background-color: #e6f5f3;
    padding: 4px 11px;
    border-radius: 100px;
    text-decoration: none;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: 'DM Sans', sans-serif;
}

a.wne-sc-tag:hover {
    background-color: #0a7c6e;
    color: #ffffff;
}

/* Elementor editor preview tweaks */
.elementor-editor-active .wne-sc-topline {
    transform: scaleX(0.3);
    opacity: 0.4;
}

/* ── Workflow Steps ────────────────────────────────────── */
.wne-workflow {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.wne-wf-header {
    text-align: left;
}

.wne-wf-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0a7c6e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1.4;
}

.wne-wf-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0d1f2d;
    margin: 0 0 16px 0;
    padding: 0;
    line-height: 1.2;
}

.wne-wf-title-highlight {
    color: #0a7c6e;
    font-style: normal;
}

.wne-wf-title-highlight--italic {
    font-style: italic;
}

.wne-wf-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #5a7080;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    padding: 0;
}

.wne-wf-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wne-wf-step {
    position: relative;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.2rem;
    border-radius: 12px;
    background-color: transparent;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wne-wf-step:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.wne-wf-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #0a7c6e;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.wne-wf-marker i,
.wne-wf-marker svg {
    color: inherit;
    fill: currentColor;
}

.wne-wf-marker svg {
    width: 1em;
    height: 1em;
}

/* Verbindingslijn tussen stappen — alleen wanneer ingeschakeld */
.wne-workflow.wne-wf-has-connector .wne-wf-step:not(:last-child) .wne-wf-marker::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(1.5rem + 1.2rem);
    background-color: #0a7c6e;
    opacity: 0.25;
    z-index: 0;
}

.wne-wf-step-body {
    flex: 1 1 auto;
    min-width: 0;
}

.wne-wf-step-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0d1f2d;
    line-height: 1.3;
    margin: 0 0 0.3rem 0;
    padding: 0;
}

.wne-wf-step-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: #5a7080;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Editor preview — geef visuele hint dat een stap hoverbaar is */
.elementor-editor-active .wne-wf-step {
    cursor: default;
}

/* ── Teams Mockup ──────────────────────────────────────── */
.wne-tm {
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(13, 31, 45, 0.12);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #252525;
    line-height: 1.4;
}

/* Topbar */
.wne-tm-topbar {
    background-color: #6264a7;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wne-tm-logo {
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wne-tm-logo-icon { font-size: 1rem; line-height: 1; }

/* Body grid */
.wne-tm-body {
    display: grid;
    grid-template-columns: 200px 1fr;
}

.wne-tm-body.no-sidebar { grid-template-columns: 1fr; }

/* Sidebar */
.wne-tm-sidebar {
    background-color: #33344a;
    padding: 1rem 0;
}

.wne-tm-nav-item {
    padding: 0.55rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    color: #c8c8d0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wne-tm-nav-item.is-sub {
    padding-left: 1.5rem;
    font-size: 0.68rem;
}

.wne-tm-nav-item.is-active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Chat panel */
.wne-tm-chat {
    background-color: #ffffff;
    padding: 1rem;
}

.wne-tm-chat-header {
    font-size: 0.82rem;
    font-weight: 600;
    color: #252525;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eeeeee;
}

/* System notice */
.wne-tm-system {
    background-color: #e8f4fd;
    border: 1px solid #b3d9f7;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.7rem;
    color: #0078d4;
}

.wne-tm-system-icon { font-size: 0.9rem; line-height: 1; }

.wne-tm-flow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background-color: #fff4e8;
    color: #d68a00;
    border: 1px solid #f5c84b;
    border-radius: 6px;
    padding: 0.15rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    margin-right: 0.3rem;
}

/* Messages */
.wne-tm-msg {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.wne-tm-msg.is-self { flex-direction: row-reverse; }

.wne-tm-msg:last-child { margin-bottom: 0; }

.wne-tm-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
}

.wne-tm-avatar.av-a   { background-color: #0a7c6e; }
.wne-tm-avatar.av-b   { background-color: #6264a7; }
.wne-tm-avatar.av-sys { background-color: #0078d4; }

.wne-tm-bubble {
    background-color: #f5f5f5;
    border-radius: 0 8px 8px 8px;
    padding: 0.5rem 0.7rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    color: #333333;
    max-width: 200px;
    word-wrap: break-word;
}

.wne-tm-bubble.is-self {
    background-color: #e8f4fd;
    border-radius: 8px 0 8px 8px;
}

.wne-tm-bubble strong { font-weight: 700; }
.wne-tm-bubble em     { font-style: italic; color: #666666; }
.wne-tm-bubble a      { color: inherit; text-decoration: underline; }
