/* =====================================================================
   360 HOTEL SOLUTIONS — channel-manager.css
   Page-specific styles for the Channel Manager page.
   Reuses the global theme (tokens, header, footer, .flow-step, .why,
   .marquee, .results, .final-cta). Responsive at the bottom.
   ===================================================================== */

/* ===== GENERIC SUB-PAGE SECTION ===== */
.cm-section{padding:90px 0;background:var(--white);}
.cm-section.tint-cyan{background:var(--tint-cyan);}
.cm-section.tint-purple{background:var(--tint-purple);}

/* ===== HERO — channel sync control panel ===== */
.cm-hero .hero-sub{max-width:520px;}
.cm-hero .hero-pills{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:460px;}

.cm-visual{position:relative;display:flex;align-items:center;justify-content:center;min-height:480px;padding:0 8px;}
.cm-panel{width:100%;max-width:520px;background:#0D1530;border-radius:20px;padding:13px;box-shadow:0 44px 90px -30px rgba(2,15,77,0.5);position:relative;z-index:2;}
.cm-bar{display:flex;gap:7px;padding:4px 8px 12px;}
.cm-bar span{width:10px;height:10px;border-radius:50%;display:block;}
.cm-bar .r{background:#FF5F57;} .cm-bar .y{background:#FEBC2E;} .cm-bar .g{background:#28C840;}
.cm-screen{background:var(--bg);border-radius:12px;padding:16px;}
.cm-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;}
.cm-title{font-size:14px;font-weight:800;color:var(--navy);}
.cm-live{font-size:10px;font-weight:700;color:#16a34a;background:rgba(22,163,74,0.12);padding:4px 10px;border-radius:100px;display:flex;align-items:center;gap:6px;}
.cm-live::before{content:'';width:7px;height:7px;border-radius:50%;background:#16a34a;}
.cm-room{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--gray);border-radius:10px;padding:11px 13px;margin-bottom:12px;}
.cm-room .nm{font-size:12.5px;font-weight:800;color:var(--navy);}
.cm-room .meta{font-size:10.5px;color:var(--muted);margin-top:2px;}
.cm-room .rate{font-size:16px;font-weight:800;color:var(--navy);}
.cm-room .rate small{display:block;font-size:8.5px;color:var(--muted-light);font-weight:600;text-align:right;}
.cm-channels{display:flex;flex-direction:column;gap:7px;}
.cm-ch{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid var(--gray);border-radius:9px;padding:9px 13px;}
.cm-ch-logo{height:15px;display:flex;align-items:center;margin-right:auto;}
.cm-ch-logo img{max-height:15px;max-width:64px;object-fit:contain;display:block;}
.cm-ch-rate{font-size:12.5px;font-weight:800;color:var(--navy);}
.cm-ch-status{font-size:9px;font-weight:700;color:#16a34a;background:rgba(22,163,74,0.12);padding:3px 8px;border-radius:5px;display:flex;align-items:center;gap:4px;white-space:nowrap;}
.cm-ch-status svg{width:9px;height:9px;}

/* floating stat badges */
.cm-badge{position:absolute;z-index:3;background:#fff;border-radius:14px;padding:10px 14px;box-shadow:0 16px 36px -12px rgba(2,15,77,0.26);display:flex;align-items:center;gap:9px;white-space:nowrap;opacity:0;animation:float-in .6s ease forwards;}
.cm-badge .i{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.cm-badge .i svg{width:15px;height:15px;}
.cm-badge .num{font-size:15px;font-weight:800;line-height:1;}
.cm-badge .lbl{font-size:10px;color:var(--muted);font-weight:600;margin-top:2px;}
.cm-badge.b1{top:11%;left:-10px;animation-delay:.5s;} .cm-badge.b1 .i{background:rgba(22,163,74,0.12);color:#16a34a;}
.cm-badge.b2{bottom:10%;right:-10px;animation-delay:.9s;} .cm-badge.b2 .i{background:rgba(14,99,255,0.1);color:var(--blue);}

/* ===== CONNECTED-CHANNELS MARQUEE STRIP ===== */
.cm-marquee-strip{padding:52px 0;background:var(--bg);overflow:hidden;}
.cm-marquee-strip .partners-sub{margin:0 0 22px;}

/* ===== NAVY BAND — update once → every channel (reuses .why) ===== */
.cm-sync{display:flex;flex-direction:column;align-items:center;gap:12px;}
.cm-sync-top{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);border-radius:14px;padding:15px 18px;text-align:center;width:100%;}
.cm-sync-top .l{font-size:11px;color:var(--muted-light);}
.cm-sync-top .v{font-size:21px;font-weight:800;color:#fff;margin-top:5px;}
.cm-sync-arrow{color:var(--cyan);display:flex;}
.cm-sync-arrow svg{width:22px;height:22px;}
.cm-sync-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%;}
.cm-sync-ch{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:11px;padding:10px 12px;display:flex;align-items:center;gap:9px;}
.cm-sync-ch-logo{height:22px;background:#fff;border-radius:5px;padding:4px 7px;display:flex;align-items:center;flex-shrink:0;}
.cm-sync-ch-logo img{max-height:14px;max-width:58px;object-fit:contain;display:block;}
.cm-sync-ch .rt{margin-left:auto;font-size:11.5px;font-weight:800;color:#fff;}
.cm-sync-ch .ck{color:#34d27a;display:flex;flex-shrink:0;}
.cm-sync-ch .ck svg{width:14px;height:14px;}
.cm-sync-foot{font-size:12px;color:var(--cyan);font-weight:700;margin-top:2px;}

/* ===== FEATURE GRID (reuses .flow-step card styling) ===== */
.cm-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media(max-width:920px){
  .cm-section{padding:56px 0;}
  .cm-visual{min-height:auto;padding:8px 0 0;}
  .cm-feature-grid{grid-template-columns:1fr 1fr;}
  .cm-badge.b1{left:-2px;} .cm-badge.b2{right:-2px;}
}

@media(max-width:640px){
  .cm-feature-grid{grid-template-columns:1fr;}
  .cm-badge{display:none;}
}
