/* /Layout/MainLayout.razor.rz.scp.css */
/* MainLayout: keep this file minimal.
   Layout skinning lives in Glass UI (glass.base / glass.mud). */

/* Optional: tighten the logo button hit-area without fighting Mud styles */
.aishaa-home-button[b-2kky8ty4fu] {
    border-radius: var(--radius-1);
}
/* /Layout/MinimalLayout.razor.rz.scp.css */
.page[b-sz5sh5ey2l] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-sz5sh5ey2l] {
    flex: 1;
}

.sidebar[b-sz5sh5ey2l] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-sz5sh5ey2l] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-sz5sh5ey2l]  a, .top-row[b-sz5sh5ey2l]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-sz5sh5ey2l]  a:hover, .top-row[b-sz5sh5ey2l]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-sz5sh5ey2l]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-sz5sh5ey2l] {
        justify-content: space-between;
    }

    .top-row[b-sz5sh5ey2l]  a, .top-row[b-sz5sh5ey2l]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-sz5sh5ey2l] {
        flex-direction: row;
    }

    .sidebar[b-sz5sh5ey2l] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-sz5sh5ey2l] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-sz5sh5ey2l]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-sz5sh5ey2l], article[b-sz5sh5ey2l] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/App/Settings/Intelligence/ClassificationRulesPage.razor.rz.scp.css */
/* ==========================================================================
   Classification Rules page (scoped)
   - Uses global .glass-selected utility for selected rows
   ========================================================================== */

.classification-left[b-5zzyrq0ddg] {
    background: var(--surface-2);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-surface);
    backdrop-filter: blur(calc(var(--glass-blur) - 6px));
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) - 6px));
    padding: 16px;
}

/* Header alignment */
.classification-left__header[b-5zzyrq0ddg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 12px;
}

.classification-left__title[b-5zzyrq0ddg] {
    font-weight: 850;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
}

/* Kill accidental per-button spacing on this page */
.classification-left__header .mud-button-root[b-5zzyrq0ddg] {
    margin: 0 !important;
}

/* List */
.classification-rules-list[b-5zzyrq0ddg] {
    margin-top: 4px;
}

/* Base row look */
.classification-rule-item[b-5zzyrq0ddg] {
    border-radius: 14px;
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 140ms ease, transform 120ms ease;
}

    .classification-rule-item:hover[b-5zzyrq0ddg] {
        background: color-mix(in srgb, var(--surface-3), transparent 10%);
        transform: translateY(-1px);
    }

    /* Selected = global utility */
    .classification-rule-item.is-selected[b-5zzyrq0ddg] {
        /* Apply the global style without needing pseudo-elements */
        background: color-mix(in srgb, var(--accent-primary), transparent 90%);
        border-left: 4px solid var(--accent-primary);
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-primary), transparent 78%);
        padding-left: 14px; /* compensate border */
        overflow: hidden;
    }

        /* Text emphasis for selected */
        .classification-rule-item.is-selected .classification-rule-title[b-5zzyrq0ddg] {
            font-weight: 850;
        }

/* Typography */
.classification-rule-title[b-5zzyrq0ddg] {
    color: var(--text-1);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.classification-rule-description[b-5zzyrq0ddg] {
    color: var(--text-2);
    font-weight: 650;
}

.classification-rule-agent[b-5zzyrq0ddg] {
    color: var(--text-2);
    font-style: italic;
    font-weight: 650;
    opacity: 0.9;
}

/* Right side */
.classification-right[b-5zzyrq0ddg] {
    min-width: 0;
}

.classification-empty[b-5zzyrq0ddg] {
    padding: 6px 0;
}

/* Divider */
.classification-divider[b-5zzyrq0ddg] {
    margin: 18px 0 16px 0;
}

.glass-divider.classification-divider[b-5zzyrq0ddg] {
    opacity: 0.85;
}

/* Action cards (used in ClassificationRuleActions) */
.classification-action-card[b-5zzyrq0ddg] {
    background: color-mix(in srgb, var(--surface-2), transparent 25%);
    border: 1px solid color-mix(in srgb, var(--border-1), transparent 20%);
    border-radius: var(--radius-2);
    box-shadow: none;
    backdrop-filter: blur(calc(var(--glass-blur) - 8px));
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) - 8px));
}

@media (max-width: 900px) {
    .classification-left[b-5zzyrq0ddg] {
        padding: 14px;
    }

    .classification-rule-item[b-5zzyrq0ddg] {
        padding: 9px 10px;
    }
}
/* /Pages/App/Tickets/TicketDetailsPage.razor.rz.scp.css */
.response-reasoning-tooltip-wrapper[b-l4o8tlbm8p] {
    position: absolute;
    top: 40px; /* precies naar wens aanpassen */
    right: 15px;
    display: inline-block;
}

.response-reasoning-tooltip-text[b-l4o8tlbm8p] {
    visibility: hidden;
    background-color: rgba(0,0,0,0.85);
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.8rem;
    position: absolute;
    bottom: 120%; /* Tooltip boven het icoontje plaatsen */
    right: 0;
    width: 500px; /* Vaste breedte */
    max-width: 600px; /* Maximum breedte */
    white-space: normal; /* Hiermee wordt tekst netjes verdeeld over meerdere regels */
    word-wrap: break-word; /* Zorgt dat lange woorden worden afgebroken */
    z-index: 1000;
}

.response-reasoning-tooltip-wrapper:hover .response-reasoning-tooltip-text[b-l4o8tlbm8p] {
    visibility: visible;
}

.response-reasoning-tooltip-text[b-l4o8tlbm8p]::after {
    content: "";
    position: absolute;
    top: 100%; /* pijltje onderaan de tooltip */
    right: 10px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0,0,0,0.85) transparent transparent transparent;
}

/* Top bar layout for ticket header (action bar + labels) */
.ticket-top-bar[b-l4o8tlbm8p] {
    margin-bottom: 16px;
    align-items: flex-start;
}

/* Right side (labels) on desktop: align to the right */
.ticket-top-bar-labels[b-l4o8tlbm8p] {
    display: flex;
    justify-content: flex-end;
}

/* Buttons row under the editor */
.ticket-actions-row[b-l4o8tlbm8p] {
    flex-wrap: wrap;
    gap: 8px;
}

/* Mobile tweaks */
@media (max-width: 960px) {
    .ticket-top-bar-labels[b-l4o8tlbm8p] {
        justify-content: flex-start;
        margin-top: 8px;
    }

    /* Hide retry on smaller screens if je dat wilt */
    .ticket-retry-button[b-l4o8tlbm8p] {
        display: none;
    }

    /* Send button full width on mobile */
    .primary-send-button[b-l4o8tlbm8p] {
        flex: 1 1 100%;
    }
}
