/* ==========================================================
   Roomcility demo
   Een Outlook venster met de echte planning assistent rechts.
   Op mobiel staat de afspraak compact boven het taakvenster.
   ========================================================== */

.rc-dm { --rc-dm-bg: var(--rc-bg); --rc-dm-ol: #0F6CBD; --rc-dm-h: 720px; background: var(--rc-dm-bg); color: var(--rc-ink); }
.rc-dm__wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.rc-dm__hand { margin: 0 0 8px; font-size: 30px; color: var(--rc-ink-2); transform: rotate(-4deg); }
.rc-dm__lead { max-width: 56ch; margin: 20px 0 0; font-size: 17px; line-height: 1.65; color: var(--rc-ink-2); }

/* ── Intro ── */
.rc-dm__intro { padding: 120px 0 40px; text-align: center; }
.rc-dm__intro .rc-dm__hand { font-size: 32px; }
.rc-dm__h1 { max-width: 16ch; margin: 0 auto; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.03; font-weight: 800; letter-spacing: -.035em; color: var(--rc-ink); text-wrap: balance; }
.rc-dm__intro .rc-dm__lead { margin: 22px auto 0; font-size: 17.5px; }

/* ── Outlook venster ── */
.rc-dm__ol { position: relative; max-width: 1180px; margin: 20px auto 0; border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(28, 36, 64, .08), 0 40px 90px rgba(27, 62, 156, .18); overflow: hidden; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: #242424; }
.rc-dm__top { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid #EDEBE9; font-size: 12.5px; color: #424242; }
.rc-dm__top b { font-weight: 600; }
.rc-dm__sp { flex: 1; }
.rc-dm__x { display: flex; gap: 16px; font-size: 13px; color: #616161; }
.rc-dm__rib { display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 10px; border-bottom: 1px solid #EDEBE9; background: #FAFAFA; overflow: hidden; }
.rc-dm__rb { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 5px; font-size: 12.5px; white-space: nowrap; color: #424242; }
.rc-dm__rb svg { width: 15px; height: 15px; }
.rc-dm__rb--send { background: var(--rc-dm-ol); color: #fff; font-weight: 600; transition: box-shadow .3s; }
.rc-dm__rb--send.is-ready { box-shadow: 0 0 0 4px rgba(15, 108, 189, .25); animation: rc-dm-pulse 1.6s ease-in-out infinite; }
.rc-dm__rb--on { background: #EBF3FC; color: var(--rc-dm-ol); font-weight: 600; outline: 1px solid #B4D6FA; }
.rc-dm .rc-dm__logo { width: 18px; height: 18px; object-fit: contain; }
.rc-dm__sep { width: 1px; height: 22px; margin: 0 4px; background: #E0E0E0; }
@keyframes rc-dm-pulse { 50% { box-shadow: 0 0 0 8px rgba(15, 108, 189, .12); } }

.rc-dm__body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; height: var(--rc-dm-h); }
.rc-dm__form { padding: 18px 22px; overflow: hidden; }
.rc-dm__f { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 6px 8px; border-bottom: 1px solid #EDEBE9; font-size: 13.5px; transition: background .6s; }
.rc-dm__f svg { flex-shrink: 0; width: 18px; height: 18px; color: #616161; }
.rc-dm__f--subj { font-size: 17px; font-weight: 600; }
.rc-dm__f.is-flash { background: #EBF3FC; }
.rc-dm__ph { color: #9E9E9E; }
.rc-dm__f--subj .rc-dm__ph { font-weight: 400; }
.rc-dm__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-dm__chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 3px; border-radius: 999px; background: #F5F5F5; font-size: 12.5px; animation: rc-dm-in .4s var(--rc-ease); }
.rc-dm__chip i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #E1EDFB; color: #1567CE; font-size: 9.5px; font-style: normal; font-weight: 700; }
.rc-dm__chip.is-room i { background: #DFF6DD; color: #107C10; }
@keyframes rc-dm-in { from { opacity: 0; transform: scale(.9); } }
.rc-dm__tg { position: relative; display: inline-block; width: 34px; height: 18px; margin-right: 8px; border-radius: 9px; background: #C7C7C7; vertical-align: middle; transition: background .3s; }
.rc-dm__tg::after { content: ""; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .3s; }
.rc-dm__tg.is-on { background: var(--rc-dm-ol); }
.rc-dm__tg.is-on::after { left: 19px; }
.rc-dm__bd { height: 240px; margin-top: 14px; padding: 14px; border: 1px solid #EDEBE9; border-radius: 6px; font-size: 13px; color: #9E9E9E; }
.rc-dm__pane { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid #EDEBE9; background: #fff; }
.rc-dm__pane-h { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-bottom: 1px solid #EDEBE9; font-size: 14px; color: #424242; }
.rc-dm__pane iframe { display: block; flex: 1; width: 100%; min-height: 0; border: 0; }

.rc-dm__act { display: flex; justify-content: center; margin-top: 22px; }
.rc-dm .rc-dm__act button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1.5px solid #C9D6EA; border-radius: 999px; background: #fff; font: 600 14px var(--rc-font); color: var(--rc-ink); cursor: pointer; transition: border-color .2s, color .2s; }
.rc-dm .rc-dm__act button:hover,
.rc-dm .rc-dm__act button:focus { border-color: var(--rc-accent); background: #fff; color: var(--rc-accent); }
.rc-dm__act .rc-svg { font-size: 17px; }

/* ── Tips ── */
.rc-dm__tips { padding: 70px 0 110px; }
.rc-dm__tips-h { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.rc-dm__tips-h h2 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; color: var(--rc-ink); }
.rc-dm__tips-h .rc-dm__hand { margin: 0; }
.rc-dm__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rc-dm__tip { position: relative; padding: 26px 24px; border-radius: 22px; background: #fff; box-shadow: var(--rc-shadow); }
.rc-dm__n { position: absolute; right: 20px; top: 14px; font-family: var(--rc-hand); font-size: 34px; font-weight: 600; color: #C9D6EA; }
.rc-dm__tip .rc-ic { margin-bottom: 16px; --rc-ic-size: 44px; }
.rc-dm__tip b { display: block; margin-bottom: 6px; font-size: 17px; letter-spacing: -.01em; }
.rc-dm__tip > span:last-child { font-size: 14.5px; line-height: 1.6; color: var(--rc-ink-2); }
.rc-dm__tip em { font-style: normal; font-weight: 700; color: var(--rc-ink); }

/* ── Tablet ── */
@media (max-width: 1100px) {
	.rc-dm__wrap { padding: 0 20px; }
	.rc-dm__intro { padding: 84px 0 24px; }
	.rc-dm__h1 { font-size: 38px; }
	.rc-dm__intro .rc-dm__lead { font-size: 16px; }
	.rc-dm__body { grid-template-columns: minmax(0, 1fr) 360px; }
	.rc-dm__grid { grid-template-columns: 1fr; gap: 12px; }
	.rc-dm__tips-h { flex-direction: column; gap: 6px; }
	.rc-dm__tips { padding: 56px 0 80px; }
}

/* ── Mobiel ── */
@media (max-width: 760px) {
	.rc-dm__ol { border-radius: 18px; }
	.rc-dm__top,
	.rc-dm__rib { display: none; }
	.rc-dm__body { display: block; height: auto; }
	.rc-dm__form { padding: 12px 14px 6px; border-bottom: 1px solid #EDEBE9; background: #FAFAFA; }
	.rc-dm__f { min-height: 36px; padding: 4px; font-size: 12.5px; }
	.rc-dm__f--subj { font-size: 15px; }
	.rc-dm__f--teams,
	.rc-dm__bd { display: none; }
	.rc-dm__pane { border-left: 0; }
	.rc-dm__pane iframe { flex: none; height: var(--rc-dm-h); }
}

/* ── Video ── */
.rc-dm__tips:has(+ .rc-dm__vid) { padding-bottom: 20px; }
.rc-dm__vid { padding: 70px 0 110px; scroll-margin-top: 90px; }
.rc-dm__vid-h { max-width: 640px; margin: 0 auto 30px; text-align: center; }
.rc-dm__vid-h .rc-dm__hand { transform-origin: 50% 50%; }
.rc-dm__vid-h h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--rc-ink); }
.rc-dm__vid-h .rc-dm__lead { margin: 16px auto 0; }
.rc-dm__frame { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; background: #0B1530; box-shadow: 0 2px 6px rgba(28, 36, 64, .08), 0 40px 90px rgba(27, 62, 156, .18); overflow: hidden; }
.rc-dm__frame iframe,
.rc-dm__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #0B1530; }
.rc-dm__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; background: linear-gradient(135deg, #3E9BE9, #1E5FC4 55%, #1B3E9C); font-size: 15px; text-align: center; color: rgba(255, 255, 255, .85); }
.rc-dm__play { position: relative; width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 12px rgba(255, 255, 255, .15); }
.rc-dm__play::after { content: ""; position: absolute; left: 31px; top: 25px; border-left: 22px solid var(--rc-accent); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
@media (max-width: 1100px) {
	.rc-dm__vid { padding: 50px 0 80px; }
	.rc-dm__frame { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.rc-dm__rb--send.is-ready { animation: none; }
}
