/* CloudBrum offering share window and Share buttons (Work with us, Consulting page). Same look as the glossary share window. */
.cbs-btn { display: inline-flex; align-items: center; gap: .4rem; border: 1.5px solid #d3c6f0; border-radius: 12px; padding: .5rem .95rem; background: #fff; color: #541ba3; font-weight: 800; font-size: .88rem; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.cbs-btn:hover { background: #f3edff; border-color: #b9a3ea; color: #541ba3; }
.cbs-btn:focus-visible { outline: 3px solid #ffb822; outline-offset: 2px; }
.cbs-btn.is-y { background: #ffb822; border-color: #ffb822; color: #2a1500; }
.cbs-btn.is-y:hover { background: #ffc94d; border-color: #ffc94d; color: #2a1500; }
.wf-actions .cbs-share { margin-left: auto; }
@media (max-width: 575.98px) { .wf-actions .cbs-share { margin-left: 0; } }
.cbs-modal .modal-content { border: 0; border-radius: 24px; overflow: hidden; }
.cbs-modal .modal-header { border: 0; padding: 1.1rem 1.4rem .3rem; background: #fff; display: flex; align-items: center; justify-content: space-between; }
.cbs-modal .modal-content .modal-header .modal-title { margin: 0; font-size: 1.15rem; font-weight: 800; color: #1e1b3a; }
.cbs-modal .modal-body { padding: .4rem 1.4rem 1.4rem; background: #fff; }
.cbs-modal .btn-close { position: relative; flex: 0 0 auto; width: 36px; height: 36px; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; background: #f3edff none !important; opacity: 1 !important; box-shadow: none !important; font-size: 0 !important; color: #541ba3; cursor: pointer; }
.cbs-modal .btn-close::before, .cbs-modal .btn-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: currentColor; }
.cbs-modal .btn-close::before { transform: rotate(45deg); } .cbs-modal .btn-close::after { transform: rotate(-45deg); }
.cbs-modal .btn-close:hover { background: #e6daff !important; }
.cbs-row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: .2rem 0 .8rem; }
.cbs-lab { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #65648a; margin-right: .2rem; }
.cbs-seg { display: inline-flex; border: 1px solid #d9cff3; border-radius: 12px; overflow: hidden; }
.cbs-seg button { border: 0; padding: .45rem .9rem; background: #fff; color: #5f5d7a; font-weight: 700; font-size: .83rem; cursor: pointer; }
.cbs-modal .cbs-seg button.on { background: #541ba3 !important; color: #fff !important; }
.cbs-themes { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.cbs-theme { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem .25rem .3rem; border-radius: 999px; border: 1.5px solid #e1d9f4; background: #fff; font-size: .78rem; font-weight: 700; color: #3d3b58; cursor: pointer; }
.cbs-theme i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #d9cff3; }
.cbs-theme.on { border-color: #541ba3; background: #f6f3ff; }
.cbs-stage { position: relative; background: #f4f1fb; border-radius: 16px; padding: .8rem; display: grid; place-items: center; }
.cbs-preview { display: block; max-width: 100%; max-height: 62vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(30,20,70,.18); }
.cbs-acts { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 .6rem; }
.cbs-social { display: flex; flex-wrap: wrap; gap: .4rem; }
.cbs-social a { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .32rem .7rem; border-radius: 999px; color: #fff; font-weight: 700; font-size: .78rem; line-height: 1; text-decoration: none; min-height: 34px; white-space: nowrap; }
.cbs-social a i { font-size: .95rem; }
.cbs-social .li { background: #0a66c2; } .cbs-social .x { background: #111; } .cbs-social .wa { background: #1fa855; } .cbs-social .fb { background: #1877f2; } .cbs-social .tg { background: #229ed9; } .cbs-social .rd { background: #ff4500; } .cbs-social .em { background: #6b6a85; }
.cbs-note { margin: .8rem 0 0; font-size: .8rem; color: #5f5d7a; overflow-wrap: anywhere; }
.cbs-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #1e1b3a; color: #fff; padding: .6rem 1rem; border-radius: 10px; font-size: .88rem; opacity: 0; pointer-events: none; transition: .2s; z-index: 100001; }
.cbs-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 575.98px) { .cbs-themes { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; max-width: 100%; } .cbs-theme { flex: 0 0 auto; } .cbs-modal .modal-body { padding: .4rem 1rem 1.1rem; } }
@media (prefers-reduced-motion: reduce) { .cbs-btn, .cbs-toast { transition: none; } }
@media print { .cbs-btn, .cbs-modal, .cbs-toast { display: none !important; } }
