.privacy-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
  gap:20px;
  align-items:start;
  margin-bottom:20px;
}

.privacy-layout .content-card label{
  display:grid;
  gap:7px;
  margin-bottom:16px;
  font-weight:750;
}

.privacy-layout select,
.danger-form input,
.danger-form textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px;
  background:#fff;
}

.privacy-toggle{
  display:flex!important;
  grid-template-columns:none!important;
  align-items:flex-start;
  gap:12px!important;
  padding:14px;
  border:1px solid var(--border);
  border-radius:14px;
  cursor:pointer;
}

.privacy-toggle input{
  width:18px;
  height:18px;
  margin-top:2px;
  flex:0 0 auto;
}

.privacy-toggle span{
  display:grid;
  gap:4px;
}

.privacy-toggle small{
  color:var(--muted);
  font-weight:500;
  line-height:1.45;
}

.registration-consent{
  margin:12px 0;
}

.privacy-actions{
  display:grid;
  gap:16px;
}

.privacy-action-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
}

.privacy-action-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:15px;
  background:#eaf8f3;
  color:var(--emerald);
  font-size:1.4rem;
  font-weight:900;
}

.danger-card{
  border-color:#f0c2c7;
  background:#fff8f8;
}

.danger-card .privacy-action-icon{
  background:#ffe5e7;
  color:#9a2631;
}

.cookie-preference-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:18px 0;
}

.cookie-preference-summary>div{
  display:grid;
  gap:5px;
  padding:15px;
  border:1px solid var(--border);
  border-radius:14px;
}

.cookie-preference-summary span{
  color:var(--muted);
  font-size:.78rem;
}

.cookie-choice-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.privacy-table{
  width:100%;
  border-collapse:collapse;
}

.privacy-table th,
.privacy-table td{
  padding:12px 10px;
  border-bottom:1px solid var(--border);
  text-align:left;
}

.privacy-table th{
  color:var(--muted);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.privacy-status{
  display:inline-flex;
  padding:5px 10px;
  border-radius:999px;
  font-size:.72rem;
  font-weight:850;
}

.privacy-status-pending{
  background:#fff2d4;
  color:#815d00;
}

.privacy-status-under_review{
  background:#e8edfb;
  color:#465e99;
}

.privacy-status-approved,
.privacy-status-completed{
  background:#def7ed;
  color:#087254;
}

.privacy-status-rejected,
.privacy-status-cancelled{
  background:#ffe5e7;
  color:#9a2631;
}

.consent-history{
  display:grid;
}

.consent-history-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:14px;
  align-items:center;
  padding:13px 0;
  border-top:1px solid var(--border);
}

.consent-history-row>div{
  display:grid;
  gap:3px;
}

.consent-history-row small,
.consent-history-row time{
  color:var(--muted);
}

.privacy-warning-card{
  display:flex;
  gap:18px;
  align-items:flex-start;
  margin-bottom:20px;
  border-color:#edcf74;
  background:#fff9e5;
}

.privacy-warning-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:14px;
  background:#e3b62e;
  color:#fff;
  font-size:1.4rem;
  font-weight:900;
}

.privacy-deletion-notice{
  padding:15px;
  border-radius:14px;
  background:#fff0f1;
  color:#76252d;
}

.privacy-deletion-notice p{
  margin-bottom:0;
}

.danger-form{
  border-color:#efc5c9;
}

.privacy-request-list{
  display:grid;
  gap:13px;
}

.privacy-request-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:20px 22px;
  border:1px solid var(--border);
  border-radius:17px;
  background:#fff;
  color:inherit;
  text-decoration:none;
  box-shadow:0 9px 26px rgba(11,35,69,.05);
}

.privacy-request-row h3{
  margin:5px 0;
}

.privacy-request-row p{
  margin:0;
  color:var(--muted);
}

.privacy-request-meta{
  display:grid;
  justify-items:end;
  gap:6px;
}

.privacy-request-meta small{
  color:var(--muted);
}

.privacy-review-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:20px;
}

.privacy-blocked-message{
  padding:15px;
  border-radius:14px;
  background:#fff0f1;
  color:#76252d;
}

.privacy-clear-message{
  padding:15px;
  border-radius:14px;
  background:#eaf8f3;
  color:#09664e;
}

.policy-document{
  max-width:920px;
  margin-inline:auto;
}

.policy-document h2{
  margin-top:30px;
}

.policy-document p{
  line-height:1.75;
  color:#47576a;
}

.privacy-footer-links{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  padding:12px 20px;
}

.privacy-footer-links a{
  color:inherit;
  font-size:.82rem;
}

.cookie-banner{
  position:fixed;
  left:20px;
  right:20px;
  bottom:20px;
  z-index:1000;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  max-width:1100px;
  margin:auto;
  padding:18px 20px;
  border:1px solid #cdd9e2;
  border-radius:18px;
  background:#fff;
  box-shadow:0 18px 55px rgba(11,35,69,.2);
}

.cookie-banner p{
  margin:5px 0 0;
  color:#5c6876;
}

.cookie-banner form{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  flex:0 0 auto;
}

button[disabled]{
  opacity:.45;
  cursor:not-allowed;
}

@media(max-width:820px){
  .privacy-layout{
    grid-template-columns:1fr;
  }

  .cookie-preference-summary{
    grid-template-columns:1fr;
  }

  .consent-history-row{
    grid-template-columns:1fr;
  }

  .privacy-review-header,
  .cookie-banner{
    align-items:flex-start;
    flex-direction:column;
  }

  .privacy-request-row{
    grid-template-columns:1fr;
  }

  .privacy-request-meta{
    justify-items:start;
  }
}
