/* MEKSOFT cookie banner and cookie icon (see consent.js). Scoped to .mcb. */
.mcb, .mcb *, .mcb *::before, .mcb *::after { box-sizing: border-box; }
.mcb {
    --mcb-primary: #0A1B65;
    --mcb-primary-hover: #1B2E86;
    --mcb-accent: #FD7E14;
    --mcb-text: #3B4256;
    --mcb-line: #E8EBF4;
    --mcb-soft: #F4F6FC;
    font-family: "Inter", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--mcb-text);
    font-size: 14.5px;
    line-height: 1.55;
}
.mcb[hidden], .mcb [hidden] { display: none !important; }

/* Banner */
.mcb-banner {
    position: fixed; z-index: 99990; left: 24px; bottom: 24px; width: min(520px, calc(100vw - 32px));
    padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--mcb-line);
    box-shadow: 0 24px 60px rgba(10, 27, 101, .22);
}
.mcb .mcb-title { margin: 0 0 8px; padding-right: 40px; color: var(--mcb-primary); font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; }
.mcb .mcb-text { margin: 0 0 12px; }
.mcb .mcb-status {
    margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--mcb-soft);
    color: var(--mcb-primary); font-size: 13.5px; font-weight: 600;
}
.mcb-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 18px; font-size: 13.5px; }
.mcb .mcb-links a { color: var(--mcb-primary); text-decoration: underline; text-underline-offset: 3px; }
.mcb .mcb-links a:hover { color: var(--mcb-accent); }

/* Buttons: "reject" and "accept" deliberately identical */
.mcb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mcb .mcb-btn,
.mcb .mcb-btn:hover,
.mcb .mcb-btn:focus {
    appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin: 0; padding: 12px 18px;
    border: 1.5px solid var(--mcb-primary); border-radius: 999px; background-image: none; box-shadow: none; cursor: pointer;
    font: 600 15px/1.2 "Inter", system-ui, sans-serif; letter-spacing: normal; text-transform: none; text-align: center;
}
.mcb .mcb-btn-primary { background: var(--mcb-primary); color: #fff; }
.mcb .mcb-btn-primary:hover { background: var(--mcb-primary-hover); border-color: var(--mcb-primary-hover); color: #fff; }

/* Close button, only shown when the banner was reopened after a choice */
.mcb .mcb-close,
.mcb .mcb-close:hover,
.mcb .mcb-close:focus {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 10px;
    display: grid; place-items: center; background: transparent; background-image: none; color: var(--mcb-primary); cursor: pointer; box-shadow: none;
}
.mcb .mcb-close:hover { background: var(--mcb-soft); }
.mcb-close svg { width: 20px; height: 20px; }

/* Cookie icon after a choice was made: reopens the banner */
.mcb .mcb-revisit,
.mcb .mcb-revisit:hover,
.mcb .mcb-revisit:focus {
    position: fixed; z-index: 99980; left: 20px; bottom: 20px; width: 48px; height: 48px; margin: 0; padding: 0;
    display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--mcb-primary); color: #fff; background-image: none; box-shadow: 0 8px 22px rgba(10, 27, 101, .30);
    transition: background-color .15s ease, transform .15s ease;
}
.mcb .mcb-revisit:hover { background: var(--mcb-accent); transform: scale(1.06); }
.mcb-revisit svg { width: 26px; height: 26px; }

.mcb .mcb-btn:focus-visible, .mcb .mcb-close:focus-visible, .mcb .mcb-revisit:focus-visible { outline: 2px solid var(--mcb-accent); outline-offset: 3px; }

@media (max-width: 600px) {
    .mcb-banner { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 20px; }
    .mcb .mcb-revisit, .mcb .mcb-revisit:hover, .mcb .mcb-revisit:focus { left: 14px; bottom: 14px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .mcb * { transition: none !important; } }
