/*
 * "Dynamics Link" - the portal's own professional theme (daisyUI 4).
 *
 * Built from the company logo: its deep teal-navy as the working colour (buttons,
 * active menu, tabs), its orange kept for accents only, on slate greys. Calmer than
 * the stock themes: tighter corners and no bouncing buttons.
 *
 * Colours are in OKLCH, which daisyUI 4 expects; each line notes the hex it came from.
 * Selected under Settings > Global Theme.
 */
[data-theme="dynamicslink"] {
    color-scheme: light;
    --p: 38.73% 0.0642 220.08;      /* primary #0F4C5C */
    --pc: 100.00% 0.0000 89.88;      /* primary-content #FFFFFF */
    --s: 37.17% 0.0392 257.29;      /* secondary #334155 */
    --sc: 100.00% 0.0000 89.88;      /* secondary-content #FFFFFF */
    --a: 56.81% 0.1399 51.60;       /* accent #B55A12 */
    --ac: 100.00% 0.0000 89.88;      /* accent-content #FFFFFF */
    --n: 27.95% 0.0368 260.03;      /* neutral #1E293B */
    --nc: 98.42% 0.0034 247.86;      /* neutral-content #F8FAFC */
    --b1: 100.00% 0.0000 89.88;      /* base-100 #FFFFFF */
    --b2: 96.95% 0.0045 258.32;      /* base-200 #F3F5F8 */
    --b3: 92.88% 0.0126 255.51;      /* base-300 #E2E8F0 */
    --bc: 27.95% 0.0368 260.03;      /* base-content #1E293B */
    --in: 50.00% 0.1193 242.75;      /* info #0369A1 */
    --inc: 100.00% 0.0000 89.88;      /* info-content #FFFFFF */
    --su: 52.73% 0.1371 150.07;      /* success #15803D */
    --suc: 100.00% 0.0000 89.88;      /* success-content #FFFFFF */
    --wa: 55.53% 0.1455 49.00;       /* warning #B45309 */
    --wac: 100.00% 0.0000 89.88;      /* warning-content #FFFFFF */
    --er: 50.54% 0.1905 27.52;       /* error #B91C1C */
    --erc: 100.00% 0.0000 89.88;      /* error-content #FFFFFF */

    --rounded-box: 0.625rem;
    --rounded-btn: 0.4rem;
    --rounded-badge: 0.4rem;
    --animation-btn: 0.15s;
    --animation-input: 0.15s;
    --btn-focus-scale: 1;
    --border-btn: 1px;
    --tab-border: 1px;
    --tab-radius: 0.4rem;
}

/* Quieter surfaces: hairline borders and soft shadows instead of heavy drop shadows. */
[data-theme="dynamicslink"] .card,
[data-theme="dynamicslink"] .stats { box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04); }
[data-theme="dynamicslink"] .btn { font-weight: 600; text-transform: none; letter-spacing: 0; }
[data-theme="dynamicslink"] .btn-primary,
[data-theme="dynamicslink"] .btn-secondary { box-shadow: none; }

/* Sidebar: the current page in brand navy, others on a subtle hover. */
[data-theme="dynamicslink"] .drawer-side .menu a.active,
[data-theme="dynamicslink"] .drawer-side .menu a.active:hover {
    background-color: oklch(var(--p)); color: oklch(var(--pc));
}
[data-theme="dynamicslink"] .drawer-side .menu a:not(.active):hover { background-color: oklch(var(--b2)); }

/* Focus rings in brand colour rather than the browser default. */
[data-theme="dynamicslink"] .input:focus,
[data-theme="dynamicslink"] .select:focus,
[data-theme="dynamicslink"] .textarea:focus {
    outline: 2px solid oklch(var(--p) / .25); outline-offset: 0; border-color: oklch(var(--p));
}

/* Internal notes: a soft amber note rather than a solid warning-coloured bubble. */
[data-theme="dynamicslink"] .chat-bubble.chat-bubble-warning {
    background-color: #FEF3C7; color: #78350F; border: 1px solid #FCD34D;
}
[data-theme="dynamicslink"] .chat-bubble.chat-bubble-warning .prose,
[data-theme="dynamicslink"] .chat-bubble.chat-bubble-warning .prose * { color: #78350F; }
[data-theme="dynamicslink"] .chat-bubble.chat-bubble-warning::before { background-color: #FEF3C7; }
