p {
    margin-bottom: 0;
}

html, body {
    font-family: Montserrat, Helvetica, Arial, sans-serif !important;
    background-image: repeating-radial-gradient( circle at 0 0, transparent 0, #f0f0f0 10px ), repeating-linear-gradient( #e0e0e055, #e0e0e055 );
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

/* Header card styling to visually separate from body */
.header-card {
    border-left: 4px solid #1b6ec2; /* primary accent */
    background-color: rgba(255,255,255,0.92);
    padding: 0.25rem;
}

.header-card .mud-card-header {
    padding-left: 1rem;
}

.mud-typography, .mud-select-input, .mud-button-label {
    font-family: Montserrat, Helvetica, Arial, sans-serif !important;
}

.mud-breadcrumbs {
    font-family: Montserrat, Helvetica, Arial, sans-serif !important;
}

input.mud-input-slot.mud-input-root.mud-input-root-outlined.mud-input-root-adorned-start {
    font-family: Montserrat, Helvetica, Arial, sans-serif !important;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

/* blazor-error-ui: styled to match the app (Blazor JS controls show/hide via style.display) */
#blazor-error-ui {
    background-color: #1e293b;
    border-top: 2px solid #5386b6;
    padding: 0.75rem 1.25rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    font-size: 0.875rem;
    color: #f1f5f9;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
}

#blazor-error-ui .reload {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss {
    color: #94a3b8;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 0.75rem;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* ═══════════════════════════════════════════════════
   MCP Terminal Animation (Landing page)
═══════════════════════════════════════════════════ */
.mcp-line {
    margin: 0 0 0.25rem 0;
    color: #c9d1d9;
}

.mcp-line-appear {
    animation: mcp-line-appear 0.3s ease-out forwards;
}

@keyframes mcp-line-appear {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Cursor blink */
.mcp-cursor {
    display: inline;
    animation: mcp-cursor-blink 0.7s steps(1) infinite;
    color: #7eb3d9;
    font-weight: bold;
}

@keyframes mcp-cursor-blink {
    0%, 50%  { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Colour tokens */
.tc-dim    { color: #8b949e; }
.tc-user   { color: #7ee787; }
.tc-tool   { color: #79c0ff; }
.tc-green  { color: #7ee787; }
.tc-purple { color: #d2a8ff; }
.tc-orange { color: #ffa657; }

/* Scenario dots */
.mcp-term-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    border: none; padding: 0; cursor: pointer;
    background-color: #8b949e;
    opacity: 0.5;
    transition: all 0.3s;
}
.mcp-term-dot:hover { opacity: 0.75; }

/* ── Marquee (auto-scrolling capability cards) ── */
/* grab cursor + horizontal-drag affordance on both marquee strips */
.features-marquee-wrap,
.mcp-marquee-wrap {
    cursor: grab;
    touch-action: pan-y; /* let the browser handle vertical page scroll; we handle horizontal */
}


@keyframes mcp-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.mcp-marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: mcp-marquee 35s linear infinite;
}

.mcp-marquee-wrap:hover .mcp-marquee-track {
    animation-play-state: paused;
}

/* ── Features marquee (Everything you need in ACC) ── */
.features-marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: mcp-marquee 55s linear infinite;
}

.features-marquee-wrap:hover .features-marquee-track {
    animation-play-state: paused;
}
