/* YiPrivacy CSS (RTL-aware) */
#yiprivacy-root { font-family: inherit; }
.yip-banner{
  position: fixed; inset-inline: 0; bottom: 0; z-index: 99999;
  background: #111; color: #fff; padding: 14px; display: none;
  box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
.yip-banner p{ margin:0 0 8px 0; font-size: 16px; line-height:1.4; }
.yip-actions{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-start; }
.yip-btn{ background:#0073aa; border:none; padding:10px 14px; cursor:pointer; border-radius:8px; color:#fff; }
.yip-btn.secondary{ background:#444; }
.yip-link{ color:#9ad; text-decoration:underline; }
.yip-modal{
  position: fixed; inset:0; display:none; z-index: 100000;
  background: rgba(0,0,0,.5); align-items:center; justify-content:center;
}
.yip-modal .yip-box{
  background:#fff; color:#111; width:min(680px, 92vw); border-radius:12px; padding:16px;
}
.yip-row{ display:flex; align-items:center; justify-content:space-between; margin:10px 0; }
.yip-switch{ transform: scale(1.2); }
.yip-close{ float:inline-start; cursor:pointer; font-size:20px; }
.yip-revoke{ position: fixed; left: 12px; right: auto; bottom: 12px; background:#eee; color:#222; border-radius:999px; padding:8px 12px; cursor:pointer; font-size:12px; box-shadow:0 2px 8px rgba(0,0,0,.15); z-index: 99999; }
.yiprivacy-dsar-form .yip-field{ margin:8px 0; }
.yiprivacy-dsar-form input, .yiprivacy-dsar-form textarea, .yiprivacy-dsar-form select{ width:100%; max-width:520px; }
@media (max-width:600px){
  .yip-actions{ justify-content:stretch; }
  .yip-btn{ flex:1 1 auto; text-align:center; }
}
