
:root{
  --bg:#05080d;--panel:#0a1118;--panel2:#0e1720;--line:#1b2834;
  --text:#f5f7fa;--muted:#8393a5;--red:#ee1743;--red2:#b80c2d;
  --green:#16c784;--cyan:#14a5b4;--amber:#c98b28;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body{min-height:100vh}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}

/* ---------- LOGIN ---------- */
.login-page{
  min-height:100vh;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  background:
    radial-gradient(circle at 16% 15%,rgba(238,23,67,.22),transparent 28%),
    radial-gradient(circle at 72% 80%,rgba(120,0,28,.14),transparent 34%),
    #05080d;
}
.login-showcase{
  padding:64px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100vh;
  border-right:1px solid #14212c;
  position:relative;
  overflow:hidden;
}
.login-showcase:after{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 75% 25%,rgba(230,20,60,.22),transparent 20%),
    linear-gradient(115deg,transparent 0 54%,rgba(255,255,255,.015) 54% 55%,transparent 55% 100%);
  pointer-events:none;
}
.login-copy{position:relative;z-index:2;max-width:760px}
.rfz-title{font-weight:1000;font-style:italic;font-size:82px;letter-spacing:-.07em;line-height:.85}
.rfz-title em{font-style:normal;color:var(--red)}
.login-copy h1{font-size:44px;line-height:1.04;margin:28px 0 12px}
.login-copy p{color:#c7d1dc;font-size:18px;max-width:680px}
.login-features{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:34px}
.login-feature{background:rgba(14,23,32,.78);border:1px solid #20303d;border-radius:14px;padding:16px}
.login-feature b{display:block;margin:8px 0 2px}
.login-feature small{color:var(--muted)}
.login-foot{position:relative;z-index:2;font-size:11px;color:#7f90a2;letter-spacing:.12em;text-transform:uppercase}
.login-side{display:grid;place-items:center;padding:30px}
.login-card{
  width:min(420px,100%);
  background:linear-gradient(180deg,#0d151e,#091019);
  border:1px solid #233241;
  border-radius:20px;
  padding:32px;
  box-shadow:0 28px 80px rgba(0,0,0,.45);
}
.login-card h2{font-size:30px;margin:0 0 6px}
.login-card p{margin:0 0 22px;color:var(--muted)}
.login-logo{display:flex;align-items:center;gap:12px;margin-bottom:28px}
.login-logo img{max-width:130px;max-height:70px;object-fit:contain}
.logo-fallback{font-weight:1000;font-size:29px;letter-spacing:-.06em}
.logo-fallback em{font-style:normal;color:var(--red)}
.form{display:grid;gap:11px}
.form label{font-size:12px;font-weight:800;color:#dce4ec}
.form input,.form select{
  width:100%;background:#071019;color:#fff;border:1px solid #253645;border-radius:9px;
  padding:12px 13px;outline:none
}
.form input:focus,.form select:focus{border-color:#f1264e;box-shadow:0 0 0 3px rgba(241,38,78,.1)}
.btn-red{
  background:linear-gradient(180deg,#f21c48,#c50f35);color:#fff;border:1px solid #ff355c;
  border-radius:9px;padding:12px 16px;font-weight:800;box-shadow:0 9px 24px rgba(238,23,67,.18)
}
.alert-error,.alert-success{padding:11px 13px;border-radius:9px;margin:0 0 15px;font-size:13px}
.alert-error{background:#38151f;border:1px solid #6e263b}
.alert-success{background:#103225;border:1px solid #236345}

/* ---------- MAIN APP ---------- */
.app{display:grid;grid-template-columns:154px minmax(0,1fr);min-height:100vh}
.sidebar{
  background:linear-gradient(180deg,#071019,#071019 70%,#08121b);
  border-right:1px solid #182531;
  min-height:100vh;
  display:flex;flex-direction:column;
  position:sticky;top:0;height:100vh;
}
.brand-zone{height:118px;padding:16px 14px 12px;display:flex;align-items:center;justify-content:center}
.brand-zone img{max-width:115px;max-height:92px;object-fit:contain}
.brand-zone .logo-fallback{font-size:26px}
.side-nav{display:grid;gap:3px;padding:0 9px}
.side-nav a{
  min-height:45px;padding:0 12px;border-radius:8px;color:#d4dee8;
  display:flex;align-items:center;gap:10px;font-size:12px
}
.side-nav a.active,.side-nav a:hover{
  background:linear-gradient(90deg,#e91943,#cb1236);
  box-shadow:0 8px 20px rgba(233,25,67,.2)
}
.side-nav .ico{width:19px;text-align:center;font-size:15px}
.side-title{padding:26px 17px 7px;color:#78899a;font-size:9px;letter-spacing:.08em}
.storage-mini{margin:auto 12px 12px;background:#0b141d;border:1px solid #1c2a36;border-radius:9px;padding:12px;font-size:10px}
.storage-mini .row{display:flex;justify-content:space-between}
.mini-progress{height:6px;background:#182532;border-radius:999px;overflow:hidden;margin:10px 0}
.mini-progress i{display:block;height:100%;background:var(--red);border-radius:999px}
.storage-mini strong{font-size:10px}

/* topbar */
.workspace{min-width:0}
.topbar{
  height:48px;background:#071019;border-bottom:1px solid #14212c;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 18px;position:sticky;top:0;z-index:25
}
.searchbar{
  width:min(390px,42vw);height:31px;background:#0c1620;border:1px solid #172733;
  border-radius:7px;display:flex;align-items:center;gap:8px;padding:0 10px;color:#718395
}
.searchbar input{width:100%;border:0;outline:0;background:transparent;color:#fff;font-size:10px}
.searchbar kbd{font-size:9px;color:#9dabb9;background:#111d27;padding:3px 6px;border-radius:4px;border:1px solid #253443}
.top-actions{display:flex;align-items:center;gap:14px}
.add-main{background:linear-gradient(180deg,#e91a43,#c20f34);padding:8px 14px;border-radius:7px;font-size:11px;font-weight:800}
.notif{position:relative;font-size:15px}.notif b{position:absolute;right:-8px;top:-8px;background:#e91a43;border-radius:50%;width:15px;height:15px;font-size:8px;display:grid;place-items:center}
.user-menu{position:relative;display:flex;align-items:center;gap:8px;font-size:10px}
.user-avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#b81233;font-weight:900}
.user-info strong,.user-info small{display:block}.user-info small{color:var(--muted);margin-top:1px}
.user-dropdown{
  position:absolute;right:0;top:38px;width:172px;background:#0c1620;border:1px solid #273746;border-radius:8px;
  padding:6px;box-shadow:0 22px 48px rgba(0,0,0,.4);display:none
}
.user-menu:hover .user-dropdown{display:block}
.user-dropdown a{display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;font-size:10px}
.user-dropdown a:hover{background:#14212b}.user-dropdown a.danger{color:#ff3a5e}

/* hero */
.hero{
  height:168px;position:relative;overflow:hidden;border-bottom:1px solid #172430;
  background:
    linear-gradient(90deg,rgba(9,7,10,.98) 0%,rgba(18,7,11,.76) 48%,rgba(18,6,10,.54)),
    radial-gradient(circle at 76% 32%,rgba(244,23,64,.42),transparent 18%),
    radial-gradient(circle at 84% 70%,rgba(110,0,30,.28),transparent 25%),
    linear-gradient(125deg,#161017,#3b101c 55%,#16080e);
}
.hero:before{
  content:"";position:absolute;right:18%;top:18px;width:95px;height:150px;border-radius:48px 48px 20px 20px;
  background:linear-gradient(180deg,#121820,#090c11);box-shadow:0 0 0 8px rgba(255,255,255,.02),0 0 35px rgba(239,20,62,.23);
  transform:rotate(2deg)
}
.hero:after{
  content:"RFZ";position:absolute;right:20.3%;top:92px;color:#d51b3f;font-size:24px;font-weight:1000;font-style:italic;transform:rotate(2deg)
}
.hero-copy{position:relative;z-index:3;padding:26px 23px}
.hero-eyebrow{font-size:10px;color:#ff3156;font-weight:900;letter-spacing:.2em}
.hero h1{font-size:49px;line-height:.88;margin:7px 0 7px;font-style:italic;letter-spacing:-.05em}
.hero p{font-size:14px;color:#d7dce3;margin:0 0 17px}
.hero-tags{display:flex;gap:18px;font-size:10px}.hero-tags b{color:#ff3156}
.hero-slogan{position:absolute;right:3%;bottom:19px;font-family:cursive;font-size:20px;color:#fff;transform:rotate(-4deg);text-align:center;line-height:1.1;z-index:3}
.hero-slogan:after{content:"";display:block;height:3px;background:#ee1743;width:74px;margin:7px auto 0;transform:skew(-25deg)}

/* dashboard cards */
.dashboard{padding:10px 14px 0}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.stat{
  height:76px;background:linear-gradient(180deg,#0d1720,#0a131b);border:1px solid #1b2a36;border-radius:8px;
  padding:10px;display:flex;align-items:center;gap:10px
}
.stat-icon{width:38px;height:38px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(180deg,#db1b41,#9e1430);font-size:17px}
.stat-icon.teal{background:linear-gradient(180deg,#088a76,#056653)}
.stat-meta span,.stat-meta small{display:block;color:#8999aa;font-size:9px}.stat-meta strong{display:block;font-size:18px;margin:2px 0}
.stat-wave{margin-left:auto;color:#243645;font-size:28px;letter-spacing:-8px;opacity:.7}
.mid-grid{display:grid;grid-template-columns:1.55fr .92fr;gap:10px;margin-top:10px}
.bottom-grid{display:grid;grid-template-columns:1.1fr .95fr;gap:10px;margin-top:10px}
.panel{background:linear-gradient(180deg,#081119,#071019);border:1px solid #1a2935;border-radius:8px;overflow:hidden}
.panel-head{height:39px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid #14212b}
.panel-head h2{margin:0;font-size:12px}.panel-head a{font-size:9px;color:#ff3156}
.small-red{background:#dd163d;color:white!important;padding:6px 9px;border-radius:6px;font-weight:800}
.folder-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px}
.folder{
  min-height:53px;background:#0f1a24;border:1px solid #1d2d39;border-radius:7px;padding:8px;
  display:flex;align-items:center;gap:9px;transition:.2s
}
.folder:hover{border-color:#ed1743;transform:translateY(-1px)}
.folder-shape{width:35px;height:25px;border-radius:4px;background:linear-gradient(180deg,#ff4765,#e51e44);position:relative;flex:0 0 auto}
.folder-shape:before{content:"";position:absolute;left:4px;top:-5px;width:15px;height:7px;border-radius:3px 3px 0 0;background:#ff4765}
.folder strong,.folder small{display:block}.folder strong{font-size:10px}.folder small{font-size:8px;color:#8192a4;margin-top:3px}.folder .more{margin-left:auto;color:#76889a}
.list{padding:0 11px}
.list-row{min-height:37px;border-bottom:1px solid #14212b;display:flex;align-items:center;gap:9px}
.file-icon{width:28px;height:28px;border-radius:6px;background:#8c1731;display:grid;place-items:center;font-size:12px}
.file-icon.blue{background:#14536b}.file-icon.gold{background:#93641c}
.list-main{flex:1}.list-main strong,.list-main small{display:block}.list-main strong{font-size:9px}.list-main small{font-size:8px;color:#8191a2;margin-top:2px}
.list-row time{font-size:8px;color:#8292a3}
.activity-row{min-height:32px;border-bottom:1px solid #14212b;display:flex;align-items:center;gap:9px;font-size:9px}
.activity-row .grow{flex:1}.activity-row time{font-size:8px;color:#8393a4}
.quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px}
.quick a{height:32px;border:1px solid #1d2c38;background:#0e1822;border-radius:6px;display:flex;align-items:center;padding:0 10px;font-size:9px;gap:7px}
.quick a:hover{border-color:#ed1743}
.empty{padding:16px;color:#7f90a2;font-size:10px}
.footer{height:31px;border-top:1px solid #14212c;margin-top:10px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;color:#738496;font-size:8px}
.online{color:#24c785}

/* general admin pages */
.page-shell{min-height:100vh;background:#05080d}
.page-top{height:52px;border-bottom:1px solid #15232e;background:#071019;display:flex;align-items:center;justify-content:space-between;padding:0 18px}
.page-wrap{max-width:1080px;margin:0 auto;padding:24px 18px}
.page-title{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}
.page-title h1{margin:0;font-size:24px}.page-title p{margin:4px 0 0;color:var(--muted);font-size:12px}
.card{background:#0b141d;border:1px solid #1d2d39;border-radius:10px;padding:17px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.table{width:100%;border-collapse:collapse;font-size:11px}.table th,.table td{text-align:left;padding:10px;border-bottom:1px solid #172531}.table th{color:#8192a4;font-size:9px;text-transform:uppercase;letter-spacing:.06em}
.badge{display:inline-block;padding:4px 7px;border-radius:999px;background:#132230;color:#cbd5df;font-size:9px}.badge.red{background:#451523;color:#ff5b77}.badge.green{background:#103225;color:#50dc9d}
.inline-actions{display:flex;gap:6px}.mini-btn{border:1px solid #253746;background:#101b25;color:#fff;padding:6px 8px;border-radius:6px;font-size:9px}.mini-btn.red{border-color:#6d2538;color:#ff5472}
.logo-preview{max-width:230px;max-height:120px;object-fit:contain;border:1px solid #1d2c38;background:#071019;border-radius:8px;padding:10px}
.permission-grid{display:grid;grid-template-columns:220px repeat(4,1fr);gap:1px;background:#1b2935;border:1px solid #1b2935;border-radius:8px;overflow:hidden;margin-top:12px}
.permission-grid>div{background:#0c151e;padding:10px;font-size:10px}.permission-grid .head{font-weight:800;color:#a8b5c2;background:#101b25}
.checkline{display:flex;align-items:center;justify-content:center}.checkline input{width:17px;height:17px;accent-color:#ed1743}

/* responsive */
@media(max-width:1000px){
  .stats{grid-template-columns:repeat(2,1fr)}
  .mid-grid,.bottom-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .login-page{grid-template-columns:1fr}.login-showcase{display:none}
  .app{grid-template-columns:1fr}.sidebar{position:static;height:auto;min-height:auto}.brand-zone{height:auto}.storage-mini{display:none}
  .side-nav{grid-template-columns:repeat(2,1fr)}.side-title{grid-column:1/-1}
  .topbar{position:static}.searchbar{display:none}.hero{height:180px}.hero:before,.hero:after,.hero-slogan{display:none}
  .hero h1{font-size:42px}.stats{grid-template-columns:1fr}.folder-grid{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .permission-grid{grid-template-columns:150px repeat(4,1fr);overflow:auto}
}


/* ===== RFZ CLOUD V4.1 - FIX MENU PROFIL ===== */
.user-menu{
  position:relative;
}

.user-dropdown{
  display:block !important;
  top:calc(100% + 4px) !important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-4px);
  transition:opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.user-dropdown::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-12px;
  height:12px;
}

.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown,
.user-dropdown:hover{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}


/* ===== RFZ CLOUD V4.2 — PAGE DOSSIER / UPLOAD MULTIPLE ===== */
.folder-page-content{padding:18px}
.folder-page-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin-bottom:14px
}
.folder-page-head h1{margin:0;font-size:25px;letter-spacing:-.03em}
.folder-page-head p{margin:4px 0 0;color:var(--muted);font-size:11px}
.folder-back{
  display:inline-flex;align-items:center;gap:7px;
  background:#0e1822;border:1px solid #22333f;border-radius:7px;
  padding:8px 11px;font-size:10px
}
.folder-back:hover{border-color:var(--red)}
.upload-panel{
  background:linear-gradient(180deg,#0a141d,#081119);
  border:1px solid #1c2b37;border-radius:10px;padding:14px;margin-bottom:14px
}
.upload-panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.upload-panel-title h2{font-size:13px;margin:0}
.upload-panel-title span{font-size:9px;color:#8293a5}
.drop-zone{
  min-height:145px;border:1.5px dashed #354957;border-radius:10px;
  background:
    radial-gradient(circle at 50% 0%,rgba(238,23,67,.09),transparent 40%),
    #09131c;
  display:flex;align-items:center;justify-content:center;text-align:center;
  padding:20px;transition:.18s ease;position:relative
}
.drop-zone.dragover{border-color:#ef214a;background:#11151d;box-shadow:inset 0 0 0 1px rgba(239,33,74,.15)}
.drop-zone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.drop-icon{
  width:48px;height:48px;border-radius:11px;margin:0 auto 10px;
  background:linear-gradient(180deg,#eb1b45,#b90f31);display:grid;place-items:center;
  font-size:22px;box-shadow:0 10px 25px rgba(235,27,69,.2)
}
.drop-zone strong{display:block;font-size:13px}
.drop-zone p{font-size:10px;color:#8495a6;margin:5px 0 0}
.selected-files{
  margin-top:10px;border:1px solid #172631;border-radius:8px;overflow:hidden;display:none
}
.selected-files.show{display:block}
.selected-file{
  min-height:38px;padding:7px 10px;display:flex;align-items:center;gap:9px;
  border-bottom:1px solid #15232e;background:#0b151e
}
.selected-file:last-child{border-bottom:0}
.selected-file-icon{width:26px;height:26px;border-radius:6px;background:#431522;color:#ff5d79;display:grid;place-items:center}
.selected-file-main{flex:1;min-width:0}
.selected-file-main strong{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.selected-file-main small{font-size:8px;color:#7e90a2}
.upload-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px}
.upload-summary{font-size:9px;color:#8495a6}
.upload-submit{
  border:0;background:linear-gradient(180deg,#ef1c49,#c10f34);color:#fff;
  border-radius:7px;padding:9px 14px;font-size:10px;font-weight:900
}
.upload-submit:disabled{opacity:.5;cursor:not-allowed}
.files-panel{background:#081119;border:1px solid #1b2a36;border-radius:10px;overflow:hidden}
.files-table-head{
  min-height:42px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid #172530
}
.files-table-head h2{font-size:12px;margin:0}
.files-table{display:grid}
.rfz-file-row{
  display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(220px,.95fr) 100px;
  align-items:center;gap:12px;padding:9px 12px;border-bottom:1px solid #14222c
}
.rfz-file-row:last-child{border-bottom:0}
.rfz-file-info{display:flex;align-items:center;gap:10px;min-width:0}
.rfz-file-icon{width:34px;height:34px;border-radius:7px;background:linear-gradient(180deg,#5c1729,#32111b);color:#ff5270;display:grid;place-items:center;flex:0 0 auto}
.rfz-file-info strong{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rfz-file-info small{font-size:8px;color:#7f91a3;display:block;margin-top:3px}
.rfz-audio audio{width:100%;height:30px}
.rfz-file-actions{display:flex;justify-content:flex-end;gap:5px}
.file-action{
  border:1px solid #263845;background:#0e1923;color:#dce4ec;padding:6px 7px;
  border-radius:6px;font-size:9px
}
.file-action:hover{border-color:#ed1743}
.file-action.delete{color:#ff5472;border-color:#512130}
.file-action.delete:hover{background:#36131e}
.folder-empty{text-align:center;padding:34px;color:#8293a5;font-size:10px}
.folder-empty .empty-icon{font-size:30px;margin-bottom:8px;opacity:.6}
.upload-progress-wrap{display:none;margin-top:10px}
.upload-progress-wrap.show{display:block}
.upload-progress{height:7px;background:#172530;border-radius:999px;overflow:hidden}
.upload-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#d71239,#ff365d);border-radius:999px;transition:width .15s}
.upload-progress-text{font-size:9px;color:#8293a5;margin-top:5px}
@media(max-width:850px){
  .rfz-file-row{grid-template-columns:1fr}
  .rfz-file-actions{justify-content:flex-start}
  .folder-page-head{align-items:flex-start;flex-direction:column}
}


/* ===== RFZ CLOUD V4.5 — MÉTADONNÉES AUDIO ===== */
.rfz-cover-thumb{width:38px;height:38px;border-radius:7px;object-fit:cover;flex:0 0 auto;border:1px solid #273845;background:#111}
.rfz-details-modal{position:fixed;inset:0;z-index:3000;background:rgba(0,0,0,.76);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:18px;opacity:0;visibility:hidden;pointer-events:none;transition:.18s}
.rfz-details-modal.open{opacity:1;visibility:visible;pointer-events:auto}
.rfz-details-card{position:relative;width:min(760px,96vw);display:grid;grid-template-columns:260px 1fr;gap:22px;background:linear-gradient(180deg,#101a24,#081119);border:1px solid #293b48;border-radius:14px;padding:20px;box-shadow:0 35px 100px rgba(0,0,0,.62)}
.rfz-details-close{position:absolute;right:12px;top:12px;width:30px;height:30px;border:1px solid #30424e;border-radius:7px;background:#101b25;color:#fff;font-size:20px;cursor:pointer;z-index:2}
.rfz-details-cover-wrap{aspect-ratio:1;border-radius:12px;overflow:hidden;background:radial-gradient(circle at 50% 25%,#40202a,#111820 65%);border:1px solid #2a3944}
.rfz-details-cover{width:100%;height:100%;object-fit:cover;display:none}
.rfz-details-cover-empty{width:100%;height:100%;display:grid;place-items:center;font-size:72px;color:#ef3155}
.rfz-details-content{min-width:0;padding-top:6px}
.rfz-details-kicker{font-size:9px;font-weight:900;color:#ef3155;letter-spacing:.16em}
.rfz-details-content h2{font-size:27px;line-height:1.05;margin:7px 34px 4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rfz-details-artist{font-size:12px;color:#a5b4c2;margin-bottom:16px}
.rfz-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rfz-details-grid>div,.rfz-details-filename{background:#0d1720;border:1px solid #1f303c;border-radius:8px;padding:9px 10px}
.rfz-details-grid span,.rfz-details-filename span{display:block;font-size:8px;color:#75899a;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}
.rfz-details-grid strong,.rfz-details-filename strong{font-size:10px;color:#e9f0f5;word-break:break-word}
.rfz-details-filename{margin-top:8px}
@media(max-width:720px){
  .rfz-details-card{grid-template-columns:1fr}
  .rfz-details-cover-wrap{width:190px;max-width:70%;margin:auto}
  .rfz-details-content h2{white-space:normal}
  .rfz-details-grid{grid-template-columns:1fr}
}


/* ===== RFZ CLOUD V4.6 — RÉANALYSE DES TAGS ===== */
.folder-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.folder-rescan{
  border:1px solid #5b2332;
  background:linear-gradient(180deg,#33131d,#221017);
  color:#ff6d87;
  border-radius:7px;
  padding:8px 11px;
  font-size:10px;
  font-weight:800;
  cursor:pointer
}
.folder-rescan:hover{border-color:#ed1743;color:#fff}
@media(max-width:850px){.folder-head-actions{width:100%}.folder-head-actions form,.folder-head-actions .folder-back{width:100%}.folder-rescan{width:100%}}

/* ===== RFZ CLOUD V4.7 / V4.7.1 — MOT DE PASSE OUBLIÉ ===== */
.login-password-head,
.modern-password-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:4px;
  margin-bottom:7px;
}

.login-password-head label,
.modern-password-head label{
  margin:0 !important;
}

.forgot-link{display:none}

.forgot-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 11px;
  border-radius:999px;
  border:1px solid rgba(237,23,67,.38);
  background:linear-gradient(180deg,rgba(237,23,67,.14),rgba(237,23,67,.07));
  color:#ff5b7a;
  text-decoration:none;
  font-size:10px;
  font-weight:800;
  line-height:1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 0 0 1px rgba(255,255,255,.01);
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}

.forgot-pill:hover{
  transform:translateY(-1px);
  color:#fff;
  border-color:#ef1744;
  background:linear-gradient(180deg,#ef1744,#c70f34);
  box-shadow:0 8px 22px rgba(237,23,67,.24);
}

.forgot-pill:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(237,23,67,.22);
}

.forgot-icon{
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  font-size:11px;
  flex:0 0 auto;
}

.login-return{
  display:block;
  margin-top:16px;
  text-align:center;
  color:#91a4b4;
  font-size:10px;
  font-weight:700;
  text-decoration:none;
}
.login-return:hover{color:#fff}

.alert-success{
  padding:10px 12px;
  margin:12px 0;
  border:1px solid #245c45;
  background:#10271e;
  color:#8ce6bd;
  border-radius:8px;
  font-size:10px;
  line-height:1.5;
}

.reset-login-button{
  display:block;
  text-align:center;
  text-decoration:none;
  margin-top:14px;
}

@media(max-width:520px){
  .login-password-head,
  .modern-password-head{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .forgot-pill{align-self:flex-start}
}

/* ===== RFZ CLOUD V4.8 — NOTES ANIMATEURS ===== */
.notes-zone{margin-bottom:18px;padding:18px;border:1px solid #25313a;border-radius:13px;background:linear-gradient(135deg,#111a20,#0d1419)}
.notes-zone-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}
.notes-zone-head h2{margin:3px 0 0;font-size:18px}
.notes-kicker{font-size:9px;font-weight:900;letter-spacing:1.6px;color:#ef3155}
.notes-count,.notes-admin-badge{font-size:9px;font-weight:900;padding:6px 9px;border-radius:999px;border:1px solid #3a4852;color:#9eb0bd;background:#111920}
.notes-list{display:grid;gap:10px}
.note-card{position:relative;display:flex;overflow:hidden;border:1px solid #27343d;border-radius:11px;background:#111920}
.note-marker{width:4px;flex:0 0 4px;background:#3b8cff}
.note-card.level-important .note-marker{background:#f6b73c}
.note-card.level-urgent .note-marker{background:#ef1744}
.note-content{padding:14px 15px;width:100%}
.note-topline,.note-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.note-topline time{font-size:9px;color:#6f8594}
.note-level{display:inline-flex;align-items:center;width:max-content;font-size:8px;font-weight:900;letter-spacing:.8px;padding:4px 7px;border-radius:999px;color:#91c5ff;background:rgba(59,140,255,.12);border:1px solid rgba(59,140,255,.25)}
.level-important .note-level{color:#ffd580;background:rgba(246,183,60,.11);border-color:rgba(246,183,60,.27)}
.level-urgent .note-level{color:#ff7890;background:rgba(239,23,68,.11);border-color:rgba(239,23,68,.30)}
.note-content h3{margin:8px 0 5px;font-size:14px;color:#fff}
.note-content p{margin:0 0 12px;font-size:11px;line-height:1.65;color:#b8c7d0}
.note-bottom small{font-size:9px;color:#718694}
.note-read-btn{border:1px solid rgba(237,23,67,.35);background:rgba(237,23,67,.10);color:#ff5d79;border-radius:8px;padding:7px 10px;font-size:9px;font-weight:900;cursor:pointer;transition:.15s}
.note-read-btn:hover{background:#ed1743;border-color:#ed1743;color:#fff;transform:translateY(-1px)}

.admin-notes-shortcut{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;padding:14px 16px;border:1px solid #28353e;border-radius:11px;background:linear-gradient(135deg,#131d24,#0f161b)}
.admin-notes-shortcut div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.admin-notes-shortcut strong{font-size:12px;color:#fff}
.admin-notes-shortcut small{font-size:9px;color:#718694}
.admin-notes-shortcut a{color:#ff5573;text-decoration:none;font-size:10px;font-weight:900}

.page-title-top{display:flex;flex-direction:column;gap:2px}
.page-title-top strong{font-size:14px}
.page-title-top small{font-size:9px;color:#718694}

.notes-admin-page{padding-top:24px}
.notes-admin-grid{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(460px,1.22fr);gap:16px;align-items:start}
.note-editor{position:sticky;top:84px}
.note-form{display:grid;gap:9px}
.note-form label{font-size:9px;font-weight:900;color:#8ea1af;text-transform:uppercase;letter-spacing:.7px}
.note-form input[type=text],.note-form textarea,.note-form select{width:100%;box-sizing:border-box;border:1px solid #293740;border-radius:8px;background:#0d1419;color:#fff;padding:10px 11px;font:inherit;font-size:10px;outline:none}
.note-form textarea{resize:vertical;min-height:135px;line-height:1.6}
.note-form input:focus,.note-form textarea:focus,.note-form select:focus{border-color:#ed1743;box-shadow:0 0 0 3px rgba(237,23,67,.08)}
.note-form-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.note-form-two>div{display:grid;gap:7px}
.note-switch{display:flex!important;align-items:center;gap:8px!important;text-transform:none!important;letter-spacing:0!important;color:#aebec8!important;cursor:pointer;margin-top:4px}
.note-switch input{display:none}
.note-switch span{position:relative;width:34px;height:18px;border-radius:999px;background:#28333b;transition:.18s}
.note-switch span:after{content:"";position:absolute;width:12px;height:12px;left:3px;top:3px;border-radius:50%;background:#738593;transition:.18s}
.note-switch input:checked+span{background:#8d1730}
.note-switch input:checked+span:after{left:19px;background:#ff5b79}
.note-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:5px}
.notes-admin-list{display:grid;gap:9px}
.admin-note-row{display:flex;align-items:flex-start;gap:11px;padding:12px;border:1px solid #27343d;border-radius:10px;background:#10181e}
.admin-note-row.level-important{border-left:3px solid #f6b73c}
.admin-note-row.level-urgent{border-left:3px solid #ef1744}
.admin-note-row.level-info{border-left:3px solid #3b8cff}
.admin-note-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#18232b;flex:0 0 32px}
.admin-note-main{min-width:0;flex:1}
.admin-note-top{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.admin-note-top strong{font-size:11px;color:#fff}
.admin-note-main p{margin:6px 0;font-size:9px;line-height:1.5;color:#9fb0bc}
.admin-note-main small{font-size:8px;color:#6f8391}
.note-off{font-size:8px;font-weight:900;color:#82939f;background:#202a31;border-radius:999px;padding:3px 6px}
.admin-note-actions{display:flex;align-items:center;gap:6px}
.note-edit-btn,.note-delete-btn{border:1px solid #303e47;background:#151f26;color:#adbec9;border-radius:7px;padding:7px 8px;font-size:8px;font-weight:800;cursor:pointer}
.note-edit-btn:hover{border-color:#ed1743;color:#ff5a76}
.note-delete-btn:hover{border-color:#ed1743;background:#35131c;color:#ff5a76}

@media(max-width:1000px){
  .notes-admin-grid{grid-template-columns:1fr}
  .note-editor{position:static}
}
@media(max-width:650px){
  .notes-zone-head,.note-bottom,.admin-notes-shortcut{align-items:flex-start;flex-direction:column}
  .note-form-two{grid-template-columns:1fr}
  .admin-note-row{flex-wrap:wrap}
  .admin-note-actions{width:100%;justify-content:flex-end}
}


/* ===== RFZ CLOUD V4.9 — PLAYER AUDIO MODERNE ===== */
.rfz-library-tools{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin:14px 0 12px
}
.rfz-filter-pills{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.rfz-filter-pill{
  border:1px solid #253844;background:#0e1820;color:#aebfca;
  border-radius:999px;padding:9px 15px;font-size:9px;font-weight:800;cursor:pointer;
  transition:.16s
}
.rfz-filter-pill:hover{border-color:#425866;color:#fff}
.rfz-filter-pill.active{
  color:#fff;border-color:#ef1744;
  background:linear-gradient(180deg,#f31c4c,#cf1038);
  box-shadow:0 7px 20px rgba(239,23,68,.20)
}
.rfz-library-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rfz-sort-box,.rfz-file-search{
  height:36px;border:1px solid #253844;background:#0c161d;border-radius:8px;
  display:flex;align-items:center;gap:7px;padding:0 11px;color:#78909f
}
.rfz-sort-box span{font-size:8px;white-space:nowrap}
.rfz-sort-box select{
  border:0;background:transparent;color:#d9e2e8;font-size:9px;font-weight:700;outline:0
}
.rfz-file-search{min-width:235px}
.rfz-file-search input{
  flex:1;border:0;background:transparent;color:#fff;outline:0;font-size:9px
}
.rfz-file-search input::placeholder{color:#607784}

.rfz-player-panel{overflow:visible!important}
.rfz-player-head{align-items:center}
.rfz-player-head>div:first-child{display:flex;align-items:center;gap:10px}
.rfz-player-head>div:first-child span{font-size:8px;color:#758b99}
.rfz-player-hint{font-size:8px;color:#596f7d}

.rfz-track-list{
  position:relative;border:1px solid #23343f;border-radius:10px;overflow:visible;
  background:#0c151b
}
.rfz-track{
  position:relative;display:grid;
  grid-template-columns:40px 54px minmax(245px,1.25fr) minmax(500px,2fr) 48px;
  align-items:center;gap:10px;min-height:76px;padding:8px 10px;
  border-bottom:1px solid #1c2c35;background:linear-gradient(90deg,#0e181f,#0b141a);
  transition:background .15s,border-color .15s
}
.rfz-track:first-child{border-radius:10px 10px 0 0}
.rfz-track:last-child{border-bottom:0;border-radius:0 0 10px 10px}
.rfz-track:hover,.rfz-track.is-playing{background:linear-gradient(90deg,#111f28,#0d1820)}
.rfz-track.menu-open{z-index:40}

.rfz-track-number{
  width:32px;height:32px;display:grid;place-items:center;border:1px solid #29404f;
  border-radius:7px;background:#11202a;color:#8ea6b5;font-size:9px;font-weight:800
}
.rfz-track-cover{
  width:54px;height:54px;border-radius:8px;overflow:hidden;background:#1b2430;
  box-shadow:0 4px 16px rgba(0,0,0,.25)
}
.rfz-track-cover img{width:100%;height:100%;object-fit:cover;display:block}
.rfz-track-cover-empty{
  width:100%;height:100%;display:grid;place-items:center;
  background:linear-gradient(145deg,#3a101c,#7d1831);color:#ff5573;font-size:18px
}
.rfz-track-info{min-width:0;padding-right:8px}
.rfz-track-info strong{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#fff;font-size:10px;font-weight:850
}
.rfz-track-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:6px}
.rfz-track-meta span{font-size:7.5px;color:#77909f;white-space:nowrap}
.rfz-track-meta span:first-child{color:#a9bbc6}

.rfz-track-player{
  display:grid;grid-template-columns:40px 34px minmax(170px,1fr) 38px 28px 92px;
  align-items:center;gap:8px;min-width:0
}
.rfz-audio-el{display:none}
.rfz-play-btn{
  width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(145deg,#f41d4e,#cc0f38);color:#fff;cursor:pointer;
  box-shadow:0 8px 20px rgba(239,23,68,.22);transition:.16s
}
.rfz-play-btn:hover{transform:scale(1.05);box-shadow:0 10px 24px rgba(239,23,68,.32)}
.rfz-play-btn .play-symbol{font-size:12px;line-height:1;transform:translateX(1px)}
.rfz-track.is-playing .rfz-play-btn .play-symbol{font-size:9px;transform:none}
.rfz-time-current,.rfz-time-total{font-size:8px;color:#dbe5ea;font-variant-numeric:tabular-nums}
.rfz-waveform{
  position:relative;height:38px;display:flex;align-items:center;gap:2px;cursor:pointer;
  overflow:hidden;border-radius:6px;padding:0 2px
}
.rfz-waveform i{
  position:relative;z-index:2;display:block;flex:1;min-width:2px;
  height:var(--h);max-height:30px;border-radius:2px;background:#294555;opacity:.92;
  transition:background .08s,transform .08s
}
.rfz-waveform i.played{background:#ef1744}
.rfz-waveform:hover i{transform:scaleY(1.06)}
.rfz-wave-progress{position:absolute;left:0;top:0;bottom:0;width:0;pointer-events:none}
.rfz-mute-btn{
  border:0;background:transparent;color:#c9d5dc;font-size:13px;cursor:pointer;padding:2px
}
.rfz-volume{
  width:90px;accent-color:#ef1744;cursor:pointer
}

.rfz-track-actions{position:relative;display:flex;justify-content:flex-end}
.rfz-more-btn{
  width:34px;height:34px;border:1px solid #2b4250;border-radius:8px;
  background:#10202a;color:#d7e2e8;font-size:18px;line-height:1;cursor:pointer;
  transition:.15s
}
.rfz-more-btn:hover,.rfz-track.menu-open .rfz-more-btn{
  border-color:#ef1744;background:#24111a;color:#ff607c
}
.rfz-track-menu{
  display:none;position:absolute;right:0;top:41px;width:185px;z-index:100;
  padding:6px;border:1px solid #3a2530;border-radius:10px;
  background:rgba(16,21,28,.98);box-shadow:0 18px 45px rgba(0,0,0,.45);
  backdrop-filter:blur(12px)
}
.rfz-track-menu.open{display:block}
.rfz-track-menu form{margin:0}
.rfz-menu-item{
  width:100%;box-sizing:border-box;display:flex;align-items:center;gap:9px;
  border:0;background:transparent;color:#c4d0d7;text-decoration:none;
  border-radius:7px;padding:9px 10px;font-size:9px;font-weight:700;text-align:left;
  cursor:pointer;transition:.14s
}
.rfz-menu-item:hover{background:#16232b;color:#fff}
.rfz-menu-item span{width:17px;text-align:center;color:#8ea6b5}
.rfz-menu-item.danger{color:#ff5573}
.rfz-menu-item.danger:hover{background:#2b1119;color:#ff6b86}

.upload-panel{border-radius:10px!important}
.drop-zone{min-height:140px!important;border-style:dashed!important}
.drop-icon{
  width:46px!important;height:46px!important;border-radius:12px!important;
  background:linear-gradient(145deg,#f31d4d,#c90f36)!important;color:#fff!important;
  box-shadow:0 8px 20px rgba(239,23,68,.18)
}

/* Keep dropdowns and menus above the player */
.folder-page-content,.files-panel,.rfz-track-list{overflow:visible}
.topbar{z-index:500}
.user-menu{z-index:510}
.user-dropdown{z-index:520}

@media(max-width:1350px){
  .rfz-track{
    grid-template-columns:36px 50px minmax(210px,1fr) minmax(430px,1.7fr) 42px
  }
  .rfz-track-player{
    grid-template-columns:38px 31px minmax(150px,1fr) 34px 26px 72px
  }
  .rfz-volume{width:70px}
}
@media(max-width:1100px){
  .rfz-library-tools{align-items:flex-start;flex-direction:column}
  .rfz-library-right{width:100%}
  .rfz-file-search{flex:1}
  .rfz-track{
    grid-template-columns:38px 50px minmax(0,1fr) 42px;
    grid-template-areas:
      "num cover info actions"
      "num cover player player";
    padding:10px
  }
  .rfz-track-number{grid-area:num}
  .rfz-track-cover{grid-area:cover}
  .rfz-track-info{grid-area:info}
  .rfz-track-player{grid-area:player;margin-top:6px}
  .rfz-track-actions{grid-area:actions}
}
@media(max-width:720px){
  .rfz-track{grid-template-columns:44px minmax(0,1fr) 40px;grid-template-areas:"cover info actions" "player player player"}
  .rfz-track-number{display:none}
  .rfz-track-cover{grid-area:cover;width:44px;height:44px}
  .rfz-track-player{grid-template-columns:36px 30px minmax(90px,1fr) 32px 26px}
  .rfz-volume{display:none}
  .rfz-library-right{flex-direction:column;align-items:stretch}
  .rfz-sort-box,.rfz-file-search{width:100%;box-sizing:border-box}
  .rfz-track-meta span:nth-last-child(-n+2){display:none}
}

.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown,
.user-dropdown:hover{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important
}


/* ===== RFZ CLOUD V4.9.1 — CORRECTIF PLAYER + MENU ===== */
.rfz-track-player,
.rfz-track-actions,
.rfz-play-btn,
.rfz-more-btn,
.rfz-waveform,
.rfz-volume,
.rfz-mute-btn{
  pointer-events:auto !important;
}

.rfz-track-actions{
  position:relative !important;
  z-index:30;
}

.rfz-track.menu-open{
  z-index:999 !important;
  overflow:visible !important;
}

.rfz-track-menu{
  z-index:2000 !important;
}

.rfz-track-menu.open{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

.rfz-player-panel,
.rfz-track-list,
.files-panel,
.folder-page-content{
  overflow:visible !important;
}


/* ===== RFZ CLOUD V4.9.2 — MENU FICHIER EXACT + RENOMMER/DÉPLACER ===== */
.rfz-track-menu{
  width:180px !important;
  padding:7px !important;
  border:1px solid rgba(142,58,78,.40) !important;
  border-radius:11px !important;
  background:linear-gradient(180deg,rgba(18,24,31,.99),rgba(14,18,24,.99)) !important;
  box-shadow:0 22px 50px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.015) !important;
}
.rfz-menu-item{
  min-height:36px;
  font-size:9px !important;
  font-weight:700 !important;
  color:#c7d3da !important;
  border-radius:7px !important;
}
.rfz-menu-item span{
  color:#8fa5b2 !important;
  font-size:13px;
}
.rfz-menu-item:hover{
  background:#17232b !important;
  color:#fff !important;
}
.rfz-menu-item.danger{
  margin-top:3px;
  color:#ff345a !important;
}
.rfz-menu-item.danger span{color:#ff345a !important}
.rfz-menu-item.danger:hover{
  background:rgba(239,23,68,.12) !important;
  color:#ff5d79 !important;
}

.rfz-action-modal{
  position:fixed;inset:0;z-index:5000;
  display:flex;align-items:center;justify-content:center;
  padding:20px;background:rgba(2,7,11,.74);
  backdrop-filter:blur(8px);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:.16s ease;
}
.rfz-action-modal.open{
  opacity:1;visibility:visible;pointer-events:auto;
}
.rfz-action-card{
  position:relative;width:min(430px,100%);
  border:1px solid #2d3d47;border-radius:14px;
  background:linear-gradient(145deg,#121c23,#0c1419);
  box-shadow:0 30px 70px rgba(0,0,0,.5);
  padding:24px;
}
.rfz-action-close{
  position:absolute;right:13px;top:12px;
  width:31px;height:31px;border:1px solid #30404a;border-radius:8px;
  background:#111a20;color:#8fa3af;font-size:18px;cursor:pointer;
}
.rfz-action-close:hover{border-color:#ed1743;color:#fff}
.rfz-action-icon{
  width:42px;height:42px;display:grid;place-items:center;margin-bottom:14px;
  border-radius:10px;background:rgba(237,23,67,.12);
  border:1px solid rgba(237,23,67,.28);color:#ff5573;font-size:18px;
}
.rfz-action-kicker{
  font-size:8px;font-weight:900;letter-spacing:1.3px;color:#ef3155;
}
.rfz-action-card h2{margin:5px 0 7px;font-size:18px;color:#fff}
.rfz-action-card>p{margin:0 0 18px;font-size:10px;line-height:1.6;color:#8397a4}
.rfz-action-form{display:grid;gap:8px}
.rfz-action-form label{
  font-size:8px;font-weight:900;letter-spacing:.7px;text-transform:uppercase;color:#8fa2ae;
}
.rfz-action-form input,.rfz-action-form select{
  width:100%;box-sizing:border-box;border:1px solid #2a3c47;
  border-radius:9px;background:#091219;color:#fff;padding:11px 12px;
  font-size:10px;outline:none;
}
.rfz-action-form input:focus,.rfz-action-form select:focus{
  border-color:#ed1743;box-shadow:0 0 0 3px rgba(237,23,67,.08)
}
.rfz-action-buttons{
  display:flex;justify-content:flex-end;gap:8px;margin-top:10px;
}
.rfz-action-cancel,.rfz-action-primary{
  border-radius:8px;padding:9px 12px;font-size:9px;font-weight:900;cursor:pointer;
}
.rfz-action-cancel{
  border:1px solid #34454f;background:#111a20;color:#aab9c2;
}
.rfz-action-primary{
  border:1px solid #ef1744;background:linear-gradient(180deg,#f21c4b,#cd1037);color:#fff;
}


/* ===== RFZ CLOUD V4.9.3 — DATE + HEURE EN DIRECT ===== */
.rfz-live-datetime{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
  margin-right:10px;
}

.rfz-live-date,
.rfz-live-time{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:0 11px;
  border:1px solid #263945;
  border-radius:9px;
  background:linear-gradient(180deg,#0f1a22,#0b141a);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}

.rfz-live-date{
  color:#91a7b5;
  font-size:8.5px;
  font-weight:700;
  white-space:nowrap;
}

.rfz-live-time strong{
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.4px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.rfz-live-icon{
  font-size:11px;
  opacity:.9;
}

.rfz-live-time{
  border-color:rgba(237,23,67,.28);
  background:linear-gradient(180deg,rgba(237,23,67,.10),rgba(237,23,67,.04));
}

@media(max-width:1250px){
  .rfz-live-date{display:none}
}

@media(max-width:850px){
  .rfz-live-datetime{margin-left:0;margin-right:5px}
  .rfz-live-time{padding:0 8px}
}

@media(max-width:620px){
  .rfz-live-datetime{display:none}
}


/* ===== RFZ CLOUD V5.0 ===== */
.rfz-global-searchbar{margin:0}
.rfz-global-searchbar input{min-width:260px}
.notif{text-decoration:none}
.rfz-announcement-stack{display:grid;gap:8px;padding:14px 22px 0}
.rfz-announcement{display:flex;align-items:center;gap:12px;border:1px solid #27404e;border-left:4px solid #368cff;border-radius:10px;background:#0e1920;padding:11px 13px}
.rfz-announcement.level-important{border-left-color:#f1b63b}.rfz-announcement.level-urgent{border-left-color:#ef1744}
.rfz-announcement-icon{font-size:17px}.rfz-announcement-copy{display:grid;gap:3px;flex:1}.rfz-announcement-copy strong{font-size:10px;color:#fff}.rfz-announcement-copy span,.rfz-announcement small{font-size:8px;color:#91a6b3}

.rfz-schedule-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.rfz-schedule-fields label{display:grid;gap:6px;font-size:8px;color:#8fa4b1;font-weight:800}
.rfz-schedule-fields input{border:1px solid #2a3d49;border-radius:8px;background:#0b151c;color:#fff;padding:9px}
.rfz-schedule-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}.rfz-schedule-badges span{font-size:7px;border:1px solid #6d5621;background:#28200c;color:#ffd87b;border-radius:999px;padding:3px 6px}

.rfz-bulk-bar{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:12px 0;padding:9px 11px;border:1px solid #263b47;border-radius:9px;background:#0d171e}
.rfz-select-all{font-size:9px;color:#aebfc9}.rfz-bulk-bar strong{font-size:9px;color:#fff}.rfz-bulk-actions{display:flex;gap:7px;flex-wrap:wrap;margin-left:auto}
.rfz-bulk-actions button,.rfz-bulk-actions select{border:1px solid #2d4350;border-radius:7px;background:#101d25;color:#c9d6dd;padding:7px 9px;font-size:8px;font-weight:800}.rfz-bulk-actions .danger{color:#ff5c79;border-color:#5e2735}
.rfz-track{grid-template-columns:26px 40px 54px minmax(245px,1.25fr) minmax(500px,2fr) 48px!important}
.rfz-track-check{display:grid;place-items:center}.rfz-track-check input{accent-color:#ef1744}

.rfz-global-player{position:fixed;left:245px;right:18px;bottom:14px;z-index:4500;display:none;grid-template-columns:44px minmax(160px,280px) 38px 42px minmax(150px,1fr) 42px 30px;align-items:center;gap:9px;padding:9px 11px;border:1px solid #3d2a34;border-radius:12px;background:rgba(10,16,21,.96);backdrop-filter:blur(14px);box-shadow:0 22px 60px rgba(0,0,0,.45)}
.rfz-global-player.show{display:grid}.rfz-gp-cover{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;background-size:cover;background-position:center;background-color:#28111a;color:#ff5573}.rfz-gp-info{display:grid;min-width:0}.rfz-gp-info strong{font-size:9px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rfz-gp-info small{font-size:8px;color:#778c99;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rfz-gp-play{width:34px;height:34px;border:0;border-radius:50%;background:#ef1744;color:#fff;cursor:pointer}.rfz-global-player>span{font-size:8px;color:#b9c7cf}.rfz-global-player input{accent-color:#ef1744}.rfz-gp-close{border:0;background:transparent;color:#718691;font-size:18px;cursor:pointer}

.rfz-trash-list,.rfz-notification-list,.rfz-presence-list,.rfz-search-results{display:grid;gap:7px}
.rfz-trash-row,.rfz-presence-row{display:flex;align-items:center;gap:12px;border:1px solid #233641;border-radius:9px;background:#0e181f;padding:11px}
.rfz-trash-row>div:first-child,.rfz-presence-row>div:nth-child(2){display:grid;gap:4px;flex:1}.rfz-trash-row strong,.rfz-presence-row strong{font-size:9px;color:#fff}.rfz-trash-row small,.rfz-presence-row small{font-size:8px;color:#748a98}.rfz-trash-actions{display:flex;gap:7px}.rfz-trash-actions button{border:1px solid #315064;border-radius:7px;background:#10202a;color:#bdd0da;padding:7px 9px;font-size:8px}.rfz-trash-actions .danger{border-color:#642637;color:#ff5a76}
.rfz-notification-row{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:10px;text-decoration:none;border:1px solid #223540;border-radius:9px;background:#0d171e;padding:10px;color:#fff}.rfz-notification-row.unread{border-color:#733047;background:#181119}.rfz-notification-row div{display:grid;gap:3px}.rfz-notification-row strong{font-size:9px}.rfz-notification-row small,.rfz-notification-row time{font-size:8px;color:#758b98}
.rfz-search-hero{padding:8px 0 16px}.rfz-search-hero h1{margin:0;font-size:22px}.rfz-search-hero p,.rfz-search-summary{font-size:9px;color:#8095a2}.rfz-search-summary{margin-bottom:12px}.rfz-search-result{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;text-decoration:none;border-bottom:1px solid #1d2d36;padding:10px;color:#fff}.rfz-search-result div{display:grid;gap:3px}.rfz-search-result strong{font-size:9px}.rfz-search-result small,.rfz-search-result time{font-size:8px;color:#778d99}.rfz-simple-result{display:block;padding:9px;border-bottom:1px solid #20313a;color:#fff;text-decoration:none;font-size:9px}.rfz-simple-result small{color:#7b909d}
.rfz-presence-dot{width:9px;height:9px;border-radius:50%;background:#4e5d65}.rfz-presence-dot.online{background:#20d777;box-shadow:0 0 0 5px rgba(32,215,119,.08)}.rfz-presence-status{margin-left:auto;text-align:right;display:grid;gap:3px}

@media(max-width:900px){
 .app{display:block!important}.sidebar{position:relative!important;width:auto!important;min-height:auto!important;display:flex!important;overflow-x:auto!important;align-items:center!important;padding:8px!important;gap:8px}.brand-zone{min-width:115px!important;border:0!important}.side-title,.storage-mini{display:none!important}.side-nav{display:flex!important;gap:6px!important;min-width:max-content}.side-nav a{padding:8px 10px!important;border-radius:8px!important}.workspace{margin-left:0!important}.topbar{position:sticky!important;top:0!important;padding:8px!important;gap:7px!important;flex-wrap:wrap}.rfz-global-searchbar{order:3;width:100%!important}.rfz-global-searchbar input{min-width:0!important;width:100%}.rfz-live-date{display:none!important}.user-info{display:none!important}.folder-page-content,.dashboard{padding-left:10px!important;padding-right:10px!important}.rfz-track{grid-template-columns:26px 44px minmax(0,1fr) 38px!important;grid-template-areas:"check cover info actions" "player player player player"!important}.rfz-track-check{grid-area:check}.rfz-track-number{display:none!important}.rfz-track-cover{grid-area:cover}.rfz-track-info{grid-area:info}.rfz-track-player{grid-area:player}.rfz-track-actions{grid-area:actions}.rfz-bulk-actions{margin-left:0;width:100%}.rfz-global-player{left:8px;right:8px;bottom:8px;grid-template-columns:38px 1fr 36px 25px}.rfz-global-player .rfz-gp-cover{width:36px;height:36px}.rfz-global-player #rfz-gp-progress,.rfz-global-player #rfz-gp-current,.rfz-global-player #rfz-gp-total{display:none}.rfz-schedule-fields{grid-template-columns:1fr}
}
@media(max-width:560px){
 .hero{display:none!important}.top-actions .add-main{display:none}.rfz-live-datetime{display:flex!important}.rfz-live-time{min-height:31px!important}.rfz-track-player{grid-template-columns:36px 30px minmax(85px,1fr) 32px 26px!important}.rfz-volume{display:none!important}.rfz-announcement-stack{padding:8px 10px 0}.rfz-announcement{align-items:flex-start}.rfz-announcement small{display:none}.rfz-trash-row,.rfz-presence-row{align-items:flex-start;flex-direction:column}.rfz-trash-actions{width:100%;flex-wrap:wrap}.rfz-presence-status{margin-left:0;text-align:left}.rfz-bulk-bar{align-items:flex-start;flex-direction:column}.rfz-bulk-actions{display:grid;grid-template-columns:1fr 1fr}.rfz-library-right{width:100%}
}


/* ==========================================================
   RFZ CLOUD V5.1 — ADMIN MODERNE
   Bandeau d'information + Présence
   ========================================================== */

.rfz-v51-app{
  min-height:100vh;
  background:
    radial-gradient(circle at 78% 6%,rgba(211,16,57,.05),transparent 28%),
    linear-gradient(180deg,#071017 0%,#050b10 100%);
}

.rfz-v51-sidebar{
  background:linear-gradient(180deg,#08141d 0%,#071018 74%,#0a0d13 100%)!important;
  border-right:1px solid #1e3240!important;
}

.rfz-v51-brand{
  min-height:92px;
  padding:25px 23px 18px;
  border-bottom:1px solid #172a36;
}
.rfz-v51-brand img{max-width:145px;max-height:62px;object-fit:contain}
.rfz-v51-brand-word{
  color:#fff;
  font-size:27px;
  font-weight:1000;
  letter-spacing:-1px;
  line-height:1;
}
.rfz-v51-brand-word em{
  color:#ef1744;
  font-family:Georgia,serif;
  font-weight:700;
  font-style:italic;
}
.rfz-v51-brand small,
.rfz-v51-sidebar-footer small{
  display:block;
  margin-top:7px;
  font-size:6.5px;
  color:#d4dee4;
  font-weight:900;
  letter-spacing:.4px;
}

.rfz-v51-nav{padding:21px 10px}
.rfz-v51-nav a{
  min-height:44px;
  margin-bottom:4px;
  border-radius:8px!important;
  font-size:10px!important;
  color:#d4e0e7!important;
}
.rfz-v51-nav a .ico{
  width:21px!important;
  color:#aec2cf!important;
  font-size:15px!important;
}
.rfz-v51-nav a.active{
  background:linear-gradient(135deg,#f21b49,#d40d37)!important;
  box-shadow:0 11px 28px rgba(230,17,62,.22)!important;
  color:#fff!important;
}
.rfz-v51-nav .side-title{
  margin:23px 9px 8px;
  font-size:7px!important;
  color:#7990a0!important;
  letter-spacing:.65px;
}
.rfz-v51-sidebar-footer{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  min-height:128px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:19px 20px;
  overflow:hidden;
}
.rfz-v51-wave{
  position:absolute;
  left:-10%;
  right:-10%;
  bottom:42px;
  height:55px;
  background:
    radial-gradient(ellipse at 15% 55%,transparent 53%,rgba(236,17,61,.38) 54%,transparent 57%),
    radial-gradient(ellipse at 45% 55%,transparent 53%,rgba(236,17,61,.28) 54%,transparent 57%),
    radial-gradient(ellipse at 75% 55%,transparent 53%,rgba(236,17,61,.34) 54%,transparent 57%);
  filter:blur(.2px);
}
.rfz-v51-sidebar-footer strong{
  position:relative;
  color:#fff;
  font-size:18px;
  font-weight:1000;
}
.rfz-v51-sidebar-footer strong span{color:#ef1744}

.rfz-v51-workspace{background:transparent!important}

.rfz-v51-topbar{
  min-height:70px;
  padding:10px 22px!important;
  background:rgba(7,16,23,.96)!important;
  border-bottom:1px solid #1d303c!important;
  backdrop-filter:blur(18px);
  display:flex;
  align-items:center;
  gap:18px;
}
.rfz-v51-topbar .rfz-global-searchbar{
  width:min(420px,34vw);
  height:40px;
  border:1px solid #27404f;
  background:#0a1821;
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 12px;
}
.rfz-v51-topbar .rfz-global-searchbar input{
  flex:1;
  min-width:0;
  background:transparent;
  border:0;
  outline:0;
  color:#d8e4ea;
  font-size:9px;
}
.rfz-v51-topbar .rfz-global-searchbar kbd{
  border:1px solid #37505f;
  border-radius:5px;
  color:#a9bdc9;
  padding:4px 7px;
  font-size:7px;
  background:#0b1820;
}
.rfz-v51-topbar .rfz-live-datetime{
  margin:0 auto 0 0!important;
  gap:10px!important;
}
.rfz-v51-topbar .rfz-live-date,
.rfz-v51-topbar .rfz-live-time{
  border:0!important;
  background:transparent!important;
  padding:0!important;
  min-height:auto!important;
  color:#fff!important;
}
.rfz-v51-topbar .rfz-live-date{font-size:9px!important}
.rfz-v51-topbar .rfz-live-time strong{font-size:10px!important}
.rfz-top-divider{width:1px;height:22px;background:#425460}
.rfz-v51-topbar .top-actions{
  display:flex;
  align-items:center;
  gap:14px;
}
.rfz-v51-topbar .add-main{
  min-width:112px;
  height:40px;
  display:grid;
  place-items:center;
  text-decoration:none;
  border-radius:7px;
  background:linear-gradient(180deg,#f21a48,#d80e39);
  box-shadow:0 10px 24px rgba(238,16,61,.20);
  color:#fff;
  font-size:10px;
  font-weight:900;
}
.rfz-v51-topbar .notif{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-left:1px solid #263845;
  color:#fff;
  font-size:15px;
  text-decoration:none;
}
.rfz-v51-topbar .user-mini{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:155px;
}
.rfz-v51-topbar .user-mini .avatar{
  width:38px;height:38px;border-radius:50%;
  background:linear-gradient(145deg,#b90b31,#7c0a23);
  display:grid;place-items:center;
  color:#fff;font-size:13px;font-weight:900;
}
.rfz-v51-topbar .user-mini>div:last-child{display:grid;gap:2px}
.rfz-v51-topbar .user-mini strong{font-size:9px;color:#fff}
.rfz-v51-topbar .user-mini small{font-size:8px;color:#879ca9}

.rfz-v51-page{
  padding:20px 22px 35px;
}

.rfz-v51-page-head{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:13px;
  padding:0 4px;
}
.rfz-v51-page-head h1{
  margin:0;
  color:#fff;
  font-size:20px;
  letter-spacing:-.3px;
}
.rfz-v51-page-head h1 .rfz-v51-head-icon{color:#ef1744;margin-right:8px}
.rfz-v51-page-head p{
  margin:4px 0 0;
  color:#9ab0bd;
  font-size:9px;
}
.rfz-v51-info-pill{
  border:1px solid #2a4657;
  background:#0e2230;
  color:#c7dae4;
  border-radius:7px;
  padding:10px 13px;
  font-size:8px;
}

.rfz-v51-main-grid{
  display:grid;
  grid-template-columns:minmax(420px,.95fr) minmax(520px,1.15fr);
  gap:14px;
  align-items:start;
}
.rfz-v51-right-col{display:grid;gap:14px}

.rfz-v51-card{
  border:1px solid #223944;
  background:linear-gradient(180deg,#0a151d,#071017);
  border-radius:9px;
  overflow:hidden;
  box-shadow:0 12px 35px rgba(0,0,0,.15);
}
.rfz-v51-card-head{
  min-height:43px;
  padding:0 14px;
  display:flex;
  align-items:center;
  gap:9px;
  border-bottom:1px solid #243945;
  background:linear-gradient(90deg,rgba(236,20,64,.10),transparent 65%);
  color:#fff;
}
.rfz-v51-card-head>span:first-child{color:#ef1744;font-size:15px}
.rfz-v51-card-head strong{font-size:10px}
.rfz-v51-card-head small{
  margin-left:auto;
  color:#748c99;
  font-size:8px;
}
.rfz-v51-count{
  margin-left:auto;
  border:1px solid #263f4e;
  border-radius:6px;
  color:#a8bdc9!important;
  background:#0d1d26;
  padding:6px 8px;
  font-size:8px!important;
}

.rfz-v51-form{
  display:grid;
  gap:8px;
  padding:13px;
}
.rfz-v51-form>label,
.rfz-v51-form-2 label,
.rfz-v51-form-3 label{
  display:grid;
  gap:6px;
  color:#fff;
  font-size:8px;
  font-weight:900;
}
.rfz-v51-form input[type=text],
.rfz-v51-form input:not([type]),
.rfz-v51-form textarea,
.rfz-v51-form select,
.rfz-v51-form input[type=datetime-local]{
  width:100%;
  box-sizing:border-box;
  border:1px solid #2c4553;
  border-radius:7px;
  background:#0b1922;
  color:#d9e6ec;
  padding:10px 11px;
  font-size:9px;
  outline:0;
  transition:.15s ease;
}
.rfz-v51-form input:focus,
.rfz-v51-form textarea:focus,
.rfz-v51-form select:focus{
  border-color:#d52b4e;
  box-shadow:0 0 0 3px rgba(224,18,60,.07);
}
.rfz-v51-form textarea{
  min-height:100px;
  resize:vertical;
}
.rfz-v51-form-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.rfz-v51-form-3{
  display:grid;
  grid-template-columns:1fr 1fr .72fr;
  gap:10px;
  align-items:end;
}
.rfz-v51-field-label{
  display:block;
  margin-bottom:8px;
  color:#fff;
  font-size:8px;
  font-weight:900;
}
.rfz-v51-form i{color:#8398a5;font-style:normal;font-weight:500}
.rfz-v51-primary{
  height:39px;
  margin-top:2px;
  border:0;
  border-radius:6px;
  background:linear-gradient(180deg,#f21949,#dc0c3a);
  box-shadow:0 8px 22px rgba(235,14,57,.18);
  color:#fff;
  font-size:9px;
  font-weight:1000;
  cursor:pointer;
}
.rfz-v51-primary:hover{filter:brightness(1.08)}

.rfz-v51-switch{
  display:flex!important;
  grid-template-columns:none!important;
  align-items:center;
  gap:8px!important;
  min-height:39px;
}
.rfz-v51-switch input{display:none}
.rfz-v51-switch>span{
  width:36px;height:20px;border-radius:999px;
  background:#344750;
  position:relative;
  transition:.18s ease;
}
.rfz-v51-switch>span:before{
  content:"";
  width:15px;height:15px;border-radius:50%;
  background:#fff;
  position:absolute;left:3px;top:2.5px;
  transition:.18s ease;
}
.rfz-v51-switch input:checked+span{background:#ef1744}
.rfz-v51-switch input:checked+span:before{transform:translateX(15px)}
.rfz-v51-switch b{font-size:8px;color:#cbd8df}

.rfz-level-tabs{
  display:flex;
  gap:8px;
  margin-bottom:2px;
}
.rfz-level-tabs button{
  border:1px solid #29404b;
  border-radius:6px;
  background:#0f1c24;
  color:#a9bac4;
  padding:8px 12px;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
}
.rfz-level-tabs button.active.info{background:#1069a4;border-color:#1a81c8;color:#fff}
.rfz-level-tabs button.active.important{background:#57420d;border-color:#735716;color:#ffe088}
.rfz-level-tabs button.active.urgent{background:#671426;border-color:#a31b39;color:#ffb3c2}

.rfz-v51-preview{
  margin:12px;
  min-height:70px;
  display:grid;
  grid-template-columns:48px 1fr 28px;
  align-items:center;
  gap:12px;
  border-radius:8px;
  padding:11px 14px;
  color:#fff;
}
.rfz-v51-preview.info{background:linear-gradient(105deg,#1479c0,#105aa7)}
.rfz-v51-preview.important{background:linear-gradient(105deg,#665012,#8a6511)}
.rfz-v51-preview.urgent{background:linear-gradient(105deg,#a31336,#d30c3d)}
.rfz-v51-preview-icon{
  width:42px;height:42px;border-radius:9px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.12);
  font-size:20px;
}
.rfz-v51-preview>div:nth-child(2){display:grid;gap:4px}
.rfz-v51-preview strong{font-size:11px}
.rfz-v51-preview span{font-size:8px;color:#ecf7ff}
.rfz-v51-preview button{
  border:0;background:transparent;color:#fff;font-size:17px;cursor:pointer;
}

.rfz-v51-existing{min-height:300px}
.rfz-v51-banner-list{display:grid;gap:9px;padding:12px}
.rfz-v51-banner{
  display:grid;
  grid-template-columns:48px 1fr auto;
  gap:11px;
  align-items:center;
  min-height:86px;
  border:1px solid #2c3f49;
  border-left:4px solid #2b95d6;
  border-radius:7px;
  padding:10px 11px;
  background:linear-gradient(90deg,rgba(18,112,167,.12),rgba(8,17,23,.50));
}
.rfz-v51-banner.level-important{
  border-left-color:#dfad33;
  background:linear-gradient(90deg,rgba(146,108,20,.16),rgba(8,17,23,.50));
}
.rfz-v51-banner.level-urgent{
  border-left-color:#ff154b;
  background:linear-gradient(90deg,rgba(173,20,56,.18),rgba(8,17,23,.50));
}
.rfz-v51-banner-icon{
  width:43px;height:43px;border-radius:9px;
  display:grid;place-items:center;
  background:rgba(236,20,64,.09);
  font-size:18px;
}
.rfz-v51-banner-body{display:grid;gap:4px}
.rfz-v51-badge{
  width:max-content;
  border-radius:999px;
  padding:3px 7px;
  background:#187fbc;
  color:#fff;
  font-size:7px;
  font-weight:900;
}
.level-important .rfz-v51-badge{background:#b0871e}
.level-urgent .rfz-v51-badge{background:#d91d48}
.rfz-v51-banner-body>strong{color:#fff;font-size:10px}
.rfz-v51-banner-body p{margin:0;color:#bccbd3;font-size:8px}
.rfz-v51-banner-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:2px}
.rfz-v51-banner-meta span{font-size:7px;color:#91a6b2}
.rfz-v51-state{
  border-radius:999px;
  padding:2px 6px;
  font-weight:900;
}
.rfz-v51-state.on{color:#2be375;background:rgba(31,214,112,.08)}
.rfz-v51-state.off{color:#ff7890;background:rgba(255,72,103,.07)}
.rfz-v51-banner-actions{display:flex;gap:7px}
.rfz-v51-banner-actions form{margin:0}
.rfz-v51-banner-actions button,
.rfz-v51-user-actions button{
  width:34px;height:34px;
  border:1px solid #304755;
  border-radius:7px;
  background:#0d1a22;
  color:#a9bdc8;
  cursor:pointer;
}
.rfz-v51-banner-actions button.danger{border-color:#7c1531;color:#ff476d;background:#220d14}

.rfz-v51-empty{
  min-height:170px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:6px;
  color:#69808e;
  text-align:center;
}
.rfz-v51-empty>span{font-size:28px;opacity:.35}
.rfz-v51-empty strong{font-size:10px;color:#9aadb8}
.rfz-v51-empty small{font-size:8px}

/* Présence */
.rfz-v51-presence-big-dot{
  display:inline-block;
  width:13px;height:13px;border-radius:50%;
  background:#24dc72;
  box-shadow:0 0 0 7px rgba(35,221,113,.08),0 0 22px rgba(35,221,113,.22);
  margin-right:9px;
}
.rfz-v51-refresh{
  border:1px solid #2b4452;
  border-radius:7px;
  background:#0d1d26;
  color:#b8c9d2;
  padding:9px 12px;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
}
.rfz-v51-presence-stats{
  display:grid;
  grid-template-columns:repeat(3,150px);
  justify-content:end;
  gap:10px;
  margin:-65px 0 14px;
  position:relative;
}
.rfz-v51-presence-stats>div{
  height:53px;
  border:1px solid #253d4a;
  border-radius:7px;
  background:#0b1820;
  display:grid;
  place-items:center;
  align-content:center;
  gap:2px;
}
.rfz-v51-presence-stats strong{font-size:15px;color:#fff}
.rfz-v51-presence-stats span{font-size:7px;color:#92a8b4}
.rfz-v51-presence-stats .online{
  border-color:#146539;
  background:linear-gradient(180deg,#0b2c1c,#0a2017);
}
.rfz-v51-presence-stats .online strong{color:#29df78}
.rfz-v51-presence-stats .inactive{
  border-color:#5e1730;
  background:linear-gradient(180deg,#27101a,#1b0c12);
}
.rfz-v51-presence-card{margin-top:5px}
.rfz-v51-user-list{display:grid;padding:0}
.rfz-v51-user-row{
  min-height:67px;
  display:grid;
  grid-template-columns:20px 42px minmax(220px,1fr) minmax(250px,.85fr) 80px;
  align-items:center;
  gap:11px;
  padding:8px 13px;
  border-bottom:1px solid #20343f;
}
.rfz-v51-user-row:last-child{border-bottom:0}
.rfz-v51-user-row:hover{background:#0b171e}
.rfz-v51-status-dot{
  width:9px;height:9px;border-radius:50%;
  background:#7b8e99;
}
.rfz-v51-status-dot.online{
  background:#28dc75;
  box-shadow:0 0 0 5px rgba(40,220,117,.09);
}
.rfz-v51-user-avatar{
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#2e536a,#203849);
  color:#fff;font-size:13px;font-weight:900;
}
.rfz-v51-user-avatar.admin{background:linear-gradient(145deg,#c8143b,#7f1027)}
.rfz-v51-user-main{display:grid;gap:4px}
.rfz-v51-user-name-line{display:flex;align-items:center;gap:8px}
.rfz-v51-user-name-line strong{font-size:10px;color:#fff}
.rfz-v51-user-main small{font-size:8px;color:#859ba7}
.rfz-v51-role{
  border:1px solid #315164;
  border-radius:999px;
  padding:3px 7px;
  color:#c7d6dd;
  background:#102531;
  font-size:7px;
}
.rfz-v51-role.admin{
  border-color:#9c2741;
  color:#fff;
  background:#8d1430;
}
.rfz-v51-user-presence{
  display:grid;
  justify-items:end;
  gap:3px;
}
.rfz-v51-user-presence strong{
  color:#a2b4be;
  font-size:8px;
}
.rfz-v51-user-presence strong.online{color:#28dc75}
.rfz-v51-user-presence small{font-size:8px;color:#93a8b3}
.rfz-v51-user-presence em{font-size:7px;color:#5e7785;font-style:normal}
.rfz-v51-user-actions{display:flex;justify-content:flex-end;gap:7px}

/* Responsive */
@media(max-width:1250px){
  .rfz-v51-main-grid{grid-template-columns:1fr}
  .rfz-v51-presence-stats{margin:0 0 14px;justify-content:start}
}
@media(max-width:1000px){
  .rfz-v51-sidebar{position:relative!important;width:auto!important;min-height:auto!important}
  .rfz-v51-sidebar-footer{display:none}
  .rfz-v51-brand{display:none}
  .rfz-v51-nav{display:flex!important;overflow-x:auto!important;padding:8px!important}
  .rfz-v51-nav a{min-width:max-content}
  .rfz-v51-nav .side-title{display:none}
  .rfz-v51-workspace{margin-left:0!important}
  .rfz-v51-topbar{flex-wrap:wrap}
  .rfz-v51-topbar .rfz-global-searchbar{width:100%;order:3}
  .rfz-v51-page{padding:14px 10px 30px}
  .rfz-v51-user-row{grid-template-columns:18px 38px 1fr auto}
  .rfz-v51-user-presence{grid-column:3/5;justify-items:start}
  .rfz-v51-user-actions{grid-column:4;grid-row:1/2}
}
@media(max-width:680px){
  .rfz-v51-page-head{align-items:flex-start;flex-direction:column}
  .rfz-v51-info-pill{width:100%;box-sizing:border-box}
  .rfz-v51-form-2,.rfz-v51-form-3{grid-template-columns:1fr}
  .rfz-v51-topbar .rfz-live-date{display:none!important}
  .rfz-v51-topbar .user-mini>div:last-child{display:none}
  .rfz-v51-topbar .add-main{display:none}
  .rfz-v51-banner{grid-template-columns:40px 1fr}
  .rfz-v51-banner-actions{grid-column:2}
  .rfz-v51-presence-stats{grid-template-columns:repeat(3,1fr)}
  .rfz-v51-user-row{grid-template-columns:16px 36px 1fr}
  .rfz-v51-user-actions{display:none}
  .rfz-v51-user-presence{grid-column:3}
}


/* ==========================================================
   RFZ CLOUD V5.2 — PODCASTS ANIMATEURS
   ========================================================== */

.rfz-v52-app{
  min-height:100vh;
  background:
    radial-gradient(circle at 82% 0%,rgba(236,20,64,.06),transparent 28%),
    linear-gradient(180deg,#071017,#050b10);
}
.rfz-v52-page{padding:20px 22px 45px}
.rfz-v52-hero{
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:14px;
  padding:20px 22px;
  border:1px solid #213946;
  border-radius:11px;
  background:
    linear-gradient(120deg,rgba(237,23,68,.10),transparent 37%),
    linear-gradient(180deg,#0b1720,#081118);
}
.rfz-v52-kicker{
  display:block;
  margin-bottom:8px;
  color:#ef3156;
  font-size:8px;
  font-weight:1000;
  letter-spacing:1.3px;
}
.rfz-v52-hero h1{
  margin:0;
  color:#fff;
  font-size:27px;
  letter-spacing:-.7px;
}
.rfz-v52-hero p{
  max-width:650px;
  margin:7px 0 0;
  color:#8ea4b1;
  font-size:9px;
  line-height:1.65;
}
.rfz-v52-stats{display:grid;grid-template-columns:repeat(3,105px);gap:9px}
.rfz-v52-stats div{
  height:62px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:3px;
  border:1px solid #29414f;
  border-radius:8px;
  background:#0b1921;
}
.rfz-v52-stats strong{color:#fff;font-size:18px}
.rfz-v52-stats span{color:#8196a3;font-size:7px}

.rfz-v52-grid{
  display:grid;
  grid-template-columns:minmax(350px,.68fr) minmax(620px,1.32fr);
  gap:14px;
  align-items:start;
}
.rfz-v52-card{
  border:1px solid #213844;
  border-radius:10px;
  overflow:hidden;
  background:linear-gradient(180deg,#0a151c,#071017);
  box-shadow:0 18px 40px rgba(0,0,0,.14);
}
.rfz-v52-card-head{
  min-height:49px;
  padding:0 14px;
  border-bottom:1px solid #223a46;
  background:linear-gradient(90deg,rgba(236,20,64,.09),transparent 60%);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.rfz-v52-card-head>div{display:flex;align-items:center;gap:10px}
.rfz-v52-card-head>div>span{
  width:28px;height:28px;border-radius:7px;
  display:grid;place-items:center;
  border:1px solid rgba(239,23,68,.24);
  background:rgba(239,23,68,.08);
  color:#ff4266;
  font-size:14px;
}
.rfz-v52-card-head>div>div{display:grid;gap:2px}
.rfz-v52-card-head strong{font-size:10px;color:#fff}
.rfz-v52-card-head small{font-size:7px;color:#708693}

.rfz-v52-form{
  display:grid;
  gap:9px;
  padding:14px;
}
.rfz-v52-form label{display:grid;gap:6px}
.rfz-v52-form label>span{font-size:8px;font-weight:900;color:#d9e4e9}
.rfz-v52-form label>span i{font-style:normal;color:#708692;font-weight:500}
.rfz-v52-form input,
.rfz-v52-form textarea,
.rfz-v52-form select{
  box-sizing:border-box;
  width:100%;
  border:1px solid #29414f;
  border-radius:7px;
  background:#0a1821;
  color:#e3edf2;
  padding:10px 11px;
  font-size:9px;
  outline:none;
}
.rfz-v52-form textarea{min-height:92px;resize:vertical}
.rfz-v52-form input:focus,.rfz-v52-form textarea:focus,.rfz-v52-form select:focus{
  border-color:#d52c4f;
  box-shadow:0 0 0 3px rgba(237,23,68,.06);
}
.rfz-v52-form label small{font-size:7px;color:#657b88}
.rfz-v52-form-2{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.rfz-v52-primary{
  height:39px;
  border:0;
  border-radius:7px;
  background:linear-gradient(180deg,#f31c4c,#d50c38);
  box-shadow:0 10px 25px rgba(237,23,68,.16);
  color:#fff;
  font-size:9px;
  font-weight:1000;
  cursor:pointer;
}
.rfz-v52-primary:hover{filter:brightness(1.08)}

.rfz-v52-alert{
  margin-bottom:10px;
  padding:10px 12px;
  border-radius:7px;
  font-size:8px;
  font-weight:800;
}
.rfz-v52-alert.success{border:1px solid #1f7246;background:#0b281a;color:#48e18d}
.rfz-v52-alert.error{border:1px solid #7a2338;background:#291018;color:#ff718b}

.rfz-v52-filterbar{
  display:grid;
  grid-template-columns:minmax(220px,1fr) 180px 72px;
  gap:8px;
  padding:11px 12px;
  border-bottom:1px solid #1e323d;
}
.rfz-v52-search{
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid #29414e;
  border-radius:7px;
  background:#09171f;
  padding:0 9px;
}
.rfz-v52-search span{color:#7d93a0}
.rfz-v52-search input{
  width:100%;height:34px;border:0;background:transparent;outline:0;color:#dce7ec;font-size:8px;
}
.rfz-v52-filterbar select,.rfz-v52-filterbar button{
  border:1px solid #29414e;border-radius:7px;background:#0b1820;color:#becdd5;font-size:8px;padding:0 9px;
}
.rfz-v52-filterbar button{background:#132530;cursor:pointer;font-weight:900}

.rfz-v52-podcast-list{display:grid}
.rfz-v52-podcast{
  display:grid;
  grid-template-columns:74px minmax(260px,1.15fr) minmax(255px,.95fr) 105px;
  gap:12px;
  align-items:center;
  padding:12px;
  border-bottom:1px solid #1c303a;
  transition:.15s ease;
}
.rfz-v52-podcast:hover{background:#0a171e}
.rfz-v52-podcast:last-child{border-bottom:0}
.rfz-v52-cover{
  width:70px;height:70px;
  border-radius:9px;
  overflow:hidden;
  display:grid;place-items:center;
  background:
    radial-gradient(circle at 50% 40%,rgba(239,23,68,.25),transparent 50%),
    #101b21;
  border:1px solid #2a3d47;
  color:#ff456b;
  font-size:24px;
}
.rfz-v52-cover img{width:100%;height:100%;object-fit:cover}
.rfz-v52-podcast-main{min-width:0}
.rfz-v52-tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:5px}
.rfz-v52-tags span{
  border-radius:999px;padding:3px 6px;
  font-size:6.5px;font-weight:1000;
}
.rfz-v52-tags .show{background:#122b39;color:#9fd2ee;border:1px solid #224a5d}
.rfz-v52-tags .published{background:#0e2d1d;color:#3ee385;border:1px solid #1c6340}
.rfz-v52-tags .draft{background:#332a10;color:#f1cd66;border:1px solid #655321}
.rfz-v52-tags .new{background:#75152d;color:#ffb5c4;border:1px solid #a12142}
.rfz-v52-podcast-main h3{
  margin:0;
  color:#fff;
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.rfz-v52-podcast-main p{
  margin:5px 0 6px;
  max-width:580px;
  color:#8499a5;
  font-size:7.5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.rfz-v52-meta{display:flex;gap:8px;flex-wrap:wrap}
.rfz-v52-meta span{font-size:6.5px;color:#6f8592}

.rfz-v52-player{
  display:grid;
  grid-template-columns:34px 1fr 35px;
  align-items:center;
  gap:8px;
}
.rfz-v52-play{
  width:32px;height:32px;
  border:0;border-radius:50%;
  background:linear-gradient(180deg,#f71f4f,#d30b37);
  color:#fff;font-size:11px;cursor:pointer;
  box-shadow:0 5px 16px rgba(239,23,68,.19);
}
.rfz-v52-player>div{display:grid;gap:5px}
.rfz-v52-player strong{font-size:7px;color:#b9c8d0}
.rfz-v52-progress{width:100%;accent-color:#ef1744;height:3px}
.rfz-v52-time{font-size:7px;color:#708692;font-variant-numeric:tabular-nums}

.rfz-v52-actions{display:grid;gap:6px}
.rfz-v52-actions a,.rfz-v52-actions button{
  min-height:28px;
  box-sizing:border-box;
  border:1px solid #2e4552;
  border-radius:6px;
  background:#0e1b23;
  color:#aebfc8;
  padding:7px 8px;
  text-decoration:none;
  text-align:center;
  font-size:7px;
  font-weight:900;
  cursor:pointer;
}
.rfz-v52-actions a.download{border-color:#6f1830;color:#fff;background:#71152c}
.rfz-v52-actions form{margin:0}
.rfz-v52-actions button{width:100%;color:#ff5977;border-color:#5f2434}

.rfz-v52-empty{
  min-height:240px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:7px;
  color:#69808d;
}
.rfz-v52-empty>span{font-size:34px;opacity:.35}
.rfz-v52-empty strong{font-size:10px;color:#a2b2bb}
.rfz-v52-empty small{font-size:8px}

.rfz-v52-edit-body{margin:0;background:#060d12;color:#fff;min-height:100vh}
.rfz-v52-edit-wrap{width:min(700px,calc(100% - 30px));margin:35px auto}
.rfz-v52-back{display:inline-block;margin-bottom:12px;color:#9cb0bc;text-decoration:none;font-size:9px}
.rfz-v52-edit-card{max-width:700px}

@media(max-width:1300px){
  .rfz-v52-grid{grid-template-columns:1fr}
}
@media(max-width:950px){
  .rfz-v52-page{padding:14px 10px 35px}
  .rfz-v52-hero{align-items:flex-start;flex-direction:column}
  .rfz-v52-stats{width:100%;grid-template-columns:repeat(3,1fr)}
  .rfz-v52-podcast{grid-template-columns:65px 1fr 90px}
  .rfz-v52-player{grid-column:2/4}
  .rfz-v52-actions{grid-column:3;grid-row:1}
}
@media(max-width:650px){
  .rfz-v52-hero h1{font-size:21px}
  .rfz-v52-form-2{grid-template-columns:1fr}
  .rfz-v52-filterbar{grid-template-columns:1fr}
  .rfz-v52-podcast{grid-template-columns:54px 1fr}
  .rfz-v52-cover{width:52px;height:52px}
  .rfz-v52-player{grid-column:1/3}
  .rfz-v52-actions{grid-column:1/3;grid-row:auto;grid-template-columns:1fr 1fr 42px}
  .rfz-v52-podcast-main h3{white-space:normal}
  .rfz-v52-podcast-main p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}

/* RFZ CLOUD V5.3 */
.rfz53-body{margin:0;background:#050c11;color:#e8f0f4;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}
.rfz53-shell{min-height:100vh;display:grid;grid-template-columns:220px 1fr}
.rfz53-side{background:linear-gradient(180deg,#08141d,#071017);border-right:1px solid #1d303b;padding:24px 12px;display:flex;flex-direction:column;gap:5px}
.rfz53-logo{font-size:25px;font-weight:1000;padding:0 12px 25px;color:#fff}.rfz53-logo em{color:#ef1744;font-family:Georgia,serif}.rfz53-logo small{display:block;font-size:6px;letter-spacing:1px;margin-top:5px;color:#9cb0bc}
.rfz53-side>a{padding:11px 12px;border-radius:7px;color:#b7c7d0;text-decoration:none;font-size:9px;font-weight:800}.rfz53-side>a:hover,.rfz53-side>a.active{background:linear-gradient(135deg,#ed1745,#ce0b35);color:#fff}
.rfz53-main{padding:0 22px 40px;min-width:0}.rfz53-top{min-height:105px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1c303b;margin-bottom:17px}.rfz53-top h1{margin:2px 0;font-size:24px}.rfz53-top p{margin:4px 0;color:#8299a6;font-size:9px}.rfz53-top>a{background:#df123e;color:#fff;text-decoration:none;padding:10px 13px;border-radius:7px;font-size:8px;font-weight:900}.eyebrow{font-size:7px;color:#f22b54;font-weight:1000;letter-spacing:1.3px}
.rfz53-card{background:linear-gradient(180deg,#0a161e,#071017);border:1px solid #213945;border-radius:10px;overflow:hidden}.rfz53-card-title{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border-bottom:1px solid #203743}.rfz53-card-title strong{font-size:10px}.rfz53-card-title span,.rfz53-card-title a{font-size:7px;color:#829aa7;text-decoration:none}
.rfz53-calendar-layout{display:grid;grid-template-columns:1fr 310px;gap:14px}.rfz53-calendar-layout>aside{display:grid;gap:14px;align-content:start}
.rfz53-week,.rfz53-month{display:grid;grid-template-columns:repeat(7,1fr)}.rfz53-week b{text-align:center;padding:9px;color:#718995;font-size:7px}.rfz53-month{border-top:1px solid #203540}.rfz53-month .day,.rfz53-month .blank{min-height:105px;border-right:1px solid #1d3039;border-bottom:1px solid #1d3039;padding:7px;box-sizing:border-box}.rfz53-month .day:nth-child(7n){border-right:0}.rfz53-month .day>strong{font-size:8px;color:#92a7b2}.rfz53-month .today{background:rgba(235,19,63,.06)}.rfz53-month .today>strong{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e51541;color:#fff}.rfz53-month .event{margin-top:5px;padding:5px;border-radius:5px;background:#102b3b;border-left:2px solid #2ba5e5}.rfz53-month .event.reunion{background:#30270f;border-color:#e0a92d}.rfz53-month .event.podcast{background:#32101a;border-color:#ef1744}.rfz53-month .event b,.rfz53-month .event small{display:block;font-size:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rfz53-form-card form{padding:12px;display:grid;gap:8px}.rfz53-form-card label{display:grid;gap:4px;font-size:7px;color:#b5c5cd}.rfz53-form-card input,.rfz53-form-card select,.rfz53-form-card textarea{box-sizing:border-box;width:100%;border:1px solid #29414e;border-radius:6px;background:#09171f;color:#fff;padding:8px;font-size:8px}.rfz53-form-card textarea{min-height:65px}.rfz53-form-card button{border:0;border-radius:6px;background:#df123e;color:#fff;padding:10px;font-size:8px;font-weight:900}
.rfz53-upcoming article{display:grid;grid-template-columns:38px 1fr 25px;gap:8px;align-items:center;padding:9px 12px;border-bottom:1px solid #1d303a}.rfz53-upcoming article>span{display:grid;place-items:center;font-size:13px;color:#fff}.rfz53-upcoming article>span small{font-size:6px;color:#ef3157}.rfz53-upcoming article div{display:grid;gap:3px}.rfz53-upcoming article b{font-size:8px}.rfz53-upcoming article small{font-size:7px;color:#788f9b}.rfz53-upcoming form button{border:0;background:transparent;color:#f75a77}
.rfz53-director-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:14px}.rfz53-director-stats>div{min-height:82px;border:1px solid #213945;border-radius:9px;background:linear-gradient(180deg,#0b1820,#081117);padding:12px;display:grid;grid-template-columns:25px 1fr;align-items:center}.rfz53-director-stats>div>span{grid-row:1/3;font-size:17px;color:#ef1744}.rfz53-director-stats strong{font-size:21px}.rfz53-director-stats small{font-size:7px;color:#7e95a1}
.rfz53-director-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.rfz53-recent,.rfz53-team,.rfz53-event-row{display:grid;align-items:center;gap:9px;padding:10px 12px;border-bottom:1px solid #1c3039}.rfz53-recent{grid-template-columns:34px 1fr 75px 25px}.rfz53-recent .avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#8d1430;font-size:9px}.rfz53-recent div:nth-child(2),.rfz53-team div{display:grid;gap:3px}.rfz53-recent b,.rfz53-team b,.rfz53-event-row strong{font-size:8px}.rfz53-recent small,.rfz53-team small,.rfz53-event-row small{font-size:7px;color:#78909c}.rfz53-recent>span{font-size:7px;color:#718895}.rfz53-recent>a{color:#ff496b;text-decoration:none}
.rfz53-team{grid-template-columns:15px 1fr 65px}.rfz53-team>span{color:#657985}.rfz53-team>span.on{color:#2bdd78}.rfz53-team em{font-style:normal;font-size:7px;color:#879da8}
.rfz53-event-row{grid-template-columns:48px 1fr}.rfz53-event-row time{font-size:8px;color:#ef3156}.rfz53-event-row time b{display:block;color:#fff}.rfz53-event-row div{display:grid;gap:3px}
.rfz53-actions-card>div:last-child{padding:12px;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.rfz53-actions-card>div>a{min-height:55px;border:1px solid #273f4c;border-radius:7px;background:#0b1820;color:#fff;text-decoration:none;display:flex;align-items:center;gap:8px;padding:0 10px;font-size:14px}.rfz53-actions-card b{font-size:8px}
.rfz53-notif-page{width:min(850px,calc(100% - 30px));margin:25px auto}.rfz53-notif-page header{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.rfz53-notif-page header a{font-size:8px;color:#8ca1ac;text-decoration:none}.rfz53-notif-page h1{margin:8px 0 3px}.rfz53-notif-page header p{margin:0;color:#7e95a1;font-size:8px}.rfz53-notif-page header button{border:1px solid #2b4451;border-radius:7px;background:#0b1921;color:#b9c9d1;padding:9px;font-size:8px}.rfz53-notif-page section{margin-bottom:22px}.rfz53-notif-page h2{font-size:8px;color:#78909c;text-transform:uppercase;letter-spacing:1px}.rfz53-notif{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;text-decoration:none;color:#fff;border:1px solid #203641;border-radius:8px;background:#09151c;padding:11px;margin-bottom:7px}.rfz53-notif.unread{border-left:3px solid #ef1744;background:linear-gradient(90deg,rgba(239,23,68,.08),#09151c)}.rfz53-notif>span{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;background:#10232e}.rfz53-notif div{display:grid;gap:3px}.rfz53-notif strong{font-size:9px}.rfz53-notif p{margin:0;font-size:8px;color:#91a5af}.rfz53-notif small{font-size:6.5px;color:#637985}.rfz53-notif i{font-style:normal;font-size:6px;background:#8d1430;border-radius:999px;padding:4px 6px}
.rfz53-mobile-nav{display:none}.rfz53-dragging{opacity:.35!important}.rfz53-drop-target{outline:2px dashed #ef1744!important;outline-offset:3px!important;background:rgba(239,23,68,.08)!important}
@media(max-width:1000px){.rfz53-shell{grid-template-columns:1fr}.rfz53-side{display:none}.rfz53-main{padding:0 12px 85px}.rfz53-calendar-layout,.rfz53-director-grid{grid-template-columns:1fr}.rfz53-director-stats{grid-template-columns:repeat(2,1fr)}.rfz53-mobile-nav{position:fixed;z-index:9999;display:grid;grid-template-columns:repeat(5,1fr);left:10px;right:10px;bottom:10px;min-height:58px;border:1px solid #29404c;border-radius:14px;background:rgba(7,17,23,.96);backdrop-filter:blur(18px);box-shadow:0 10px 40px #000;padding:5px}.rfz53-mobile-nav a{display:grid;place-items:center;align-content:center;gap:2px;color:#8499a5;text-decoration:none;font-size:15px}.rfz53-mobile-nav a.active{color:#ef3157}.rfz53-mobile-nav small{font-size:6px}.rfz53-month .day,.rfz53-month .blank{min-height:75px}.rfz53-month .event small{display:none}}
@media(max-width:600px){.rfz53-top{align-items:flex-start;flex-direction:column;justify-content:center;gap:8px}.rfz53-director-stats{grid-template-columns:1fr 1fr}.rfz53-calendar-layout{overflow:hidden}.rfz53-week b{font-size:6px}.rfz53-month .day,.rfz53-month .blank{min-height:58px;padding:4px}.rfz53-month .event{padding:3px}.rfz53-month .event b{font-size:5px}.rfz53-notif-page header{align-items:flex-start;flex-direction:column;gap:12px}}

/* RFZ CLOUD V5.3.1 — MENU MOBILE HAMBURGER */
.rfz-mobile-menu-btn,
.rfz-mobile-drawer,
.rfz-mobile-menu-overlay{display:none}

@media(max-width:1000px){
  .rfz53-mobile-nav{display:none!important}
  .rfz-mobile-menu-btn{
    position:fixed;top:14px;left:14px;z-index:10020;
    display:flex;width:42px;height:42px;padding:0;
    flex-direction:column;justify-content:center;align-items:center;gap:4px;
    border:1px solid #29424f;border-radius:10px;
    background:rgba(7,18,25,.96);box-shadow:0 10px 30px rgba(0,0,0,.35);
    backdrop-filter:blur(14px);cursor:pointer
  }
  .rfz-mobile-menu-btn span{
    display:block;width:18px;height:2px;border-radius:999px;background:#fff;
    transition:transform .2s ease,opacity .2s ease
  }
  .rfz-mobile-menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .rfz-mobile-menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
  .rfz-mobile-menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .rfz-mobile-menu-overlay{
    position:fixed;inset:0;z-index:10000;display:block;
    background:rgba(0,0,0,.58);opacity:0;transition:opacity .18s ease;
    backdrop-filter:blur(2px)
  }
  .rfz-mobile-menu-overlay.show{opacity:1}
  .rfz-mobile-drawer{
    position:fixed;z-index:10010;top:0;left:0;bottom:0;
    display:flex;flex-direction:column;width:min(330px,86vw);
    background:linear-gradient(180deg,#08141d 0%,#060e14 100%);
    border-right:1px solid #27404d;box-shadow:20px 0 50px rgba(0,0,0,.45);
    transform:translateX(-105%);transition:transform .22s ease;
    padding:18px 14px 22px;box-sizing:border-box;overflow-y:auto
  }
  .rfz-mobile-drawer.open{transform:translateX(0)}
  .rfz-mobile-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:4px 5px 18px;border-bottom:1px solid #1d3039}
  .rfz-mobile-brand{font-size:24px;font-weight:1000;color:#fff}
  .rfz-mobile-brand em{color:#ef1744;font-family:Georgia,serif}
  .rfz-mobile-brand small{display:block;margin-top:4px;font-size:6px;letter-spacing:1.1px;color:#8ea3af}
  .rfz-mobile-menu-close{
    display:grid;place-items:center;width:34px;height:34px;border:1px solid #29424f;border-radius:9px;
    background:#0b1921;color:#fff;font-size:20px;line-height:1;cursor:pointer
  }
  .rfz-mobile-drawer-nav{display:grid;gap:6px;padding-top:16px}
  .rfz-mobile-drawer-nav a{
    display:grid;grid-template-columns:26px 1fr;align-items:center;gap:10px;
    padding:12px 11px;border:1px solid transparent;border-radius:9px;
    color:#c1d0d8;text-decoration:none;font-size:10px;font-weight:800
  }
  .rfz-mobile-drawer-nav a:hover,.rfz-mobile-drawer-nav a:focus{
    background:#10232d;border-color:#28424e;color:#fff
  }
  .rfz-mobile-drawer-nav a.danger{margin-top:10px;color:#ff6b84;border-color:#432330;background:#1a0e14}
  .rfz-menu-open{overflow:hidden}
  .rfz53-main{padding-top:64px!important;padding-bottom:35px!important}
}

/* RFZ CLOUD V5.4 — NOTIFICATIONS INTELLIGENTES */
.rfz54-notif-actions{display:flex;align-items:center;gap:8px}.rfz54-notif-actions>a{border:1px solid #2b4451;border-radius:7px;background:#0b1921;color:#b9c9d1;padding:9px;text-decoration:none;font-size:8px;font-weight:800}
.rfz54-prefs{width:min(760px,calc(100% - 30px));margin:35px auto;color:#eaf1f5}.rfz54-back{font-size:9px;color:#8da2ad;text-decoration:none}.rfz54-prefs-head{margin:20px 0}.rfz54-prefs-head span{font-size:7px;letter-spacing:1.4px;color:#ef3157;font-weight:1000}.rfz54-prefs-head h1{font-size:27px;margin:5px 0}.rfz54-prefs-head p{font-size:9px;color:#8298a4}.rfz54-success{padding:10px 12px;border:1px solid #205f43;background:#0c2b20;border-radius:8px;color:#62e9a0;font-size:8px;margin-bottom:12px}
.rfz54-pref-list{overflow:hidden;border:1px solid #213945;border-radius:12px;background:linear-gradient(180deg,#0b1820,#071017)}.rfz54-pref{display:grid;grid-template-columns:44px 1fr 48px;gap:10px;align-items:center;padding:14px;border-bottom:1px solid #1e333e;cursor:pointer}.rfz54-pref:last-child{border-bottom:0}.rfz54-pref .icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#102530;font-size:17px}.rfz54-pref div{display:grid;gap:4px}.rfz54-pref strong{font-size:10px}.rfz54-pref small{font-size:8px;color:#7f96a2}.rfz54-pref .switch{position:relative;width:38px;height:21px}.rfz54-pref .switch input{position:absolute;opacity:0}.rfz54-pref .switch i{position:absolute;inset:0;border-radius:999px;background:#273b45;transition:.2s}.rfz54-pref .switch i:after{content:"";position:absolute;left:3px;top:3px;width:15px;height:15px;border-radius:50%;background:#fff;transition:.2s}.rfz54-pref .switch input:checked+i{background:#e31541}.rfz54-pref .switch input:checked+i:after{transform:translateX(17px)}.rfz54-save{margin-top:13px;border:0;border-radius:8px;background:linear-gradient(135deg,#ef1744,#c90d35);color:#fff;padding:12px 16px;font-size:9px;font-weight:900;cursor:pointer}
@media(max-width:600px){.rfz54-prefs{margin-top:75px}.rfz54-pref{grid-template-columns:40px 1fr 42px;padding:12px 9px}.rfz54-notif-actions{width:100%;justify-content:space-between}.rfz53-notif-page header{gap:15px}}

/* RFZ CLOUD V5.4.1 — NOTES ANIMATEURS MODERNE */
.rfz541-notes-body{margin:0;background:#03090e;color:#edf4f7;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.rfz541-shell{min-height:100vh;display:grid;grid-template-columns:210px 1fr}.rfz541-sidebar{background:linear-gradient(180deg,#07141d,#061019);border-right:1px solid #17303d;padding:22px 13px}.rfz541-logo{text-align:center;margin-bottom:30px}.rfz541-logo strong{display:block;font-size:37px;line-height:.85}.rfz541-logo span{display:block;font-size:12px;font-weight:900;letter-spacing:7px}.rfz541-logo small{font-size:7px}.rfz541-sidebar nav{display:grid;gap:5px}.rfz541-sidebar nav a{padding:10px 12px;border-radius:7px;color:#d5e1e7;text-decoration:none;font-size:9px;font-weight:800}.rfz541-sidebar nav a.active{background:linear-gradient(90deg,#8c1230,#481222);color:#fff}.rfz541-sidebar nav hr{width:100%;border:0;border-top:1px solid #18313d}.rfz541-main{min-width:0}.rfz541-topbar{height:62px;border-bottom:1px solid #17303c;display:flex;align-items:center;justify-content:space-between;padding:0 22px}.rfz541-search{width:min(490px,50vw);height:36px;border:1px solid #34505e;border-radius:8px;background:#091821;display:flex;align-items:center;padding:0 10px}.rfz541-search input{width:100%;border:0;outline:0;background:transparent;color:#fff;font-size:9px;padding-left:8px}.rfz541-top-actions{display:flex;align-items:center;gap:18px}.rfz541-bell{display:grid;place-items:center;width:34px;height:34px;border:1px solid #294451;border-radius:8px;color:#fff;text-decoration:none}.rfz541-profile{display:grid}.rfz541-profile b{font-size:8px}.rfz541-profile small{font-size:7px;color:#8ea3ae}.rfz541-hero{margin:15px 16px;min-height:94px;border:1px solid #365364;border-left:2px solid #ee1744;border-radius:10px;background:radial-gradient(circle at 20% 20%,rgba(238,23,68,.08),transparent 35%),linear-gradient(120deg,#0b1720,#071119);display:grid;grid-template-columns:55px 1fr auto;align-items:center;padding:0 20px;gap:15px}.rfz541-hero-icon,.rfz541-card-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:10px;background:#172b37;font-size:20px}.rfz541-hero-icon,.rfz541-card-icon.red{background:linear-gradient(145deg,#fa1749,#c90b34)}.rfz541-hero h1{margin:0 0 4px;font-size:22px}.rfz541-hero p{margin:0;color:#91a6b1;font-size:9px}.rfz541-wave{color:#e71946;font-size:17px}.rfz541-wave em{font-family:cursive;font-size:17px;color:#fff;margin-left:20px}.rfz541-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:14px;padding:0 16px}.rfz541-card{border:1px solid #294754;border-radius:10px;background:linear-gradient(180deg,#091720,#061019);overflow:hidden;min-height:460px}.rfz541-card>header{height:70px;border-bottom:1px solid #203945;display:grid;grid-template-columns:48px 1fr auto;align-items:center;padding:0 15px;gap:10px}.rfz541-card>header h2{font-size:13px;margin:0 0 3px}.rfz541-card>header p{font-size:8px;color:#8299a5;margin:0}.rfz541-admin{border:1px solid #385260;border-radius:999px;padding:6px 10px;font-size:7px}.rfz541-total{font-size:9px}.rfz541-form{padding:12px 15px;display:grid;gap:12px}.rfz541-form label{font-size:8px;font-weight:900;display:grid;gap:5px}.rfz541-form label>b{color:#f32952}.rfz541-input{position:relative;border:1px solid #33515f;border-radius:7px;background:#091821;display:flex;align-items:center}.rfz541-input>span{padding-left:12px;color:#9ab0bb}.rfz541-input input,.rfz541-input textarea{width:100%;box-sizing:border-box;border:0;outline:0;background:transparent;color:#fff;padding:11px;font-size:8px}.rfz541-input textarea{height:88px;resize:vertical}.rfz541-input.textarea{align-items:flex-start}.rfz541-input.textarea>span{padding-top:12px}.rfz541-count{position:absolute;right:8px;bottom:6px;color:#8399a5;font-size:6px}.rfz541-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rfz541-form select{border:1px solid #33515f;border-radius:7px;background:#091821;color:#fff;padding:11px;font-size:8px}.rfz541-toggle{display:flex!important;align-items:center;gap:9px}.rfz541-toggle input{display:none}.rfz541-toggle i{position:relative;width:38px;height:20px;border-radius:999px;background:#354852}.rfz541-toggle i:after{content:"";position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:#fff;transition:.2s}.rfz541-toggle input:checked+i{background:#ed1745}.rfz541-toggle input:checked+i:after{transform:translateX(18px)}.rfz541-toggle span{display:grid}.rfz541-toggle span small{font-weight:400;color:#879da8;font-size:7px}.rfz541-buttons{display:flex;justify-content:space-between;margin-top:8px}.rfz541-buttons button{border:0;border-radius:7px;padding:10px 14px;font-size:8px;font-weight:900;cursor:pointer}.rfz541-buttons .secondary{background:#243642;color:#fff}.rfz541-buttons .primary{background:linear-gradient(135deg,#f21747,#cf0d36);color:#fff}.rfz541-notes-list{padding:12px}.rfz541-empty{min-height:330px;display:grid;place-items:center;align-content:center;text-align:center}.rfz541-empty>div{width:80px;height:80px;border-radius:50%;background:#142733;display:grid;place-items:center;font-size:32px;color:#a8bdc8}.rfz541-empty h3{margin:15px 0 5px;font-size:13px}.rfz541-empty p{font-size:8px;color:#849aa5}.rfz541-note{border:1px solid #294552;border-radius:8px;background:#0a1820;padding:12px;margin-bottom:9px}.rfz541-note-head,.rfz541-note-foot{display:flex;align-items:center;gap:10px;justify-content:space-between}.rfz541-note h3{font-size:11px;margin:10px 0 5px}.rfz541-note p{font-size:8px;color:#a6b6be}.rfz541-note small,.rfz541-note-foot{font-size:7px;color:#8097a2}.rfz541-note .level{font-size:6px;border-radius:999px;padding:4px 7px;background:#173345}.rfz541-note .level.urgent{background:#72162a}.rfz541-note .level.important{background:#5b3b13}.rfz541-note-foot form{margin-left:auto}.rfz541-note-foot button{border:1px solid #633041;background:#231018;color:#ff7089;border-radius:5px;padding:5px 8px;font-size:7px}.rfz541-footer{height:45px;margin-top:14px;border-top:1px solid #17303b;display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:#a1b2bb;font-size:7px}
@media(max-width:1000px){.rfz541-shell{grid-template-columns:1fr}.rfz541-sidebar{display:none}.rfz541-main{padding-top:58px}.rfz541-grid{grid-template-columns:1fr}.rfz541-wave{display:none}.rfz541-hero{grid-template-columns:50px 1fr}.rfz541-search{width:60vw}.rfz541-footer{margin-bottom:15px}}
@media(max-width:600px){.rfz541-topbar{padding:0 12px}.rfz541-profile{display:none}.rfz541-hero{margin:10px;min-height:85px;padding:0 12px}.rfz541-hero h1{font-size:18px}.rfz541-grid{padding:0 10px}.rfz541-two{grid-template-columns:1fr}.rfz541-buttons{gap:8px}.rfz541-buttons button{flex:1}.rfz541-card>header{grid-template-columns:42px 1fr auto;padding:0 10px}.rfz541-total{font-size:7px}}

/* RFZ CLOUD V5.4.4 — RESTAURATION + MENU MODERNE SÛR
   Important : aucune règle de positionnement de la sidebar, du workspace,
   du logo, de la grille ou de la hauteur globale n'est modifiée. */
@media(min-width:1001px){
  .side-nav{
    gap:7px;
    padding-left:8px;
    padding-right:8px;
  }
  .side-nav a{
    min-height:45px;
    padding:0 10px;
    border:1px solid #1c3b49;
    border-radius:11px;
    background:linear-gradient(135deg,#0a1922,#08141c);
    color:#e8f2f6;
    gap:8px;
    font-size:10px;
    font-weight:800;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
    transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease;
  }
  .side-nav a::after{
    content:"›";
    margin-left:auto;
    color:#6f95a9;
    font-size:18px;
    font-weight:400;
    line-height:1;
  }
  .side-nav a:hover{
    background:linear-gradient(135deg,#0e222d,#091820);
    border-color:#31596c;
    box-shadow:0 6px 16px rgba(0,0,0,.16);
  }
  .side-nav a.active{
    background:linear-gradient(100deg,#ed1744,#b80f37 65%,#6f102d);
    border-color:#ff2856;
    color:#fff;
    box-shadow:0 7px 18px rgba(237,23,68,.22);
  }
  .side-nav a.active::after{color:#fff}
  .side-nav .ico{
    width:18px;
    min-width:18px;
    font-size:14px;
    color:#f0f7fa;
  }
  .side-title{
    margin-top:10px;
    padding-top:20px;
    border-top:1px solid #1c3542;
    color:#6f91a5;
    font-weight:900;
    letter-spacing:.12em;
  }

  /* V5.1 admin pages: same cosmetic treatment, no geometry changes */
  .rfz-v51-nav a{
    border:1px solid #1c3b49!important;
    border-radius:11px!important;
    background:linear-gradient(135deg,#0a1922,#08141c)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
    transition:.16s ease!important;
  }
  .rfz-v51-nav a:hover{
    border-color:#31596c!important;
    background:linear-gradient(135deg,#0e222d,#091820)!important;
  }
  .rfz-v51-nav a.active{
    background:linear-gradient(100deg,#ed1744,#b80f37 65%,#6f102d)!important;
    border-color:#ff2856!important;
    box-shadow:0 7px 18px rgba(237,23,68,.22)!important;
  }

  /* Notes V5.4.1 : seulement l'aspect des boutons */
  .rfz541-sidebar nav a{
    border:1px solid #1c3b49!important;
    border-radius:11px!important;
    background:linear-gradient(135deg,#0a1922,#08141c)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
    transition:.16s ease!important;
  }
  .rfz541-sidebar nav a:hover{
    border-color:#31596c!important;
    background:linear-gradient(135deg,#0e222d,#091820)!important;
  }
  .rfz541-sidebar nav a.active{
    background:linear-gradient(100deg,#ed1744,#b80f37 65%,#6f102d)!important;
    border-color:#ff2856!important;
    box-shadow:0 7px 18px rgba(237,23,68,.22)!important;
  }

  /* Calendrier / direction : cosmétique uniquement */
  .rfz53-side>a{
    border:1px solid #1c3b49!important;
    border-radius:11px!important;
    background:linear-gradient(135deg,#0a1922,#08141c)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important;
    transition:.16s ease!important;
  }
  .rfz53-side>a:hover{
    border-color:#31596c!important;
    background:linear-gradient(135deg,#0e222d,#091820)!important;
  }
  .rfz53-side>a.active{
    background:linear-gradient(100deg,#ed1744,#b80f37 65%,#6f102d)!important;
    border-color:#ff2856!important;
    box-shadow:0 7px 18px rgba(237,23,68,.22)!important;
  }
}
