

:root{
  --green:#175515;
  --ink:#102015;
  --paper:#f7f4ec;
  --line: rgba(23,85,21,0.14);
  --panel: rgba(255,255,255,0.88);
  --shadow: 0 18px 45px rgba(0,0,0,0.12);
  --shadow-soft: 0 10px 25px rgba(0,0,0,0.10);
}

/* background wrapper */
.restricted-container{
  min-height: calc(100vh - 160px);
  padding: 48px 16px 60px;
  background: var(--paper);
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  overflow:hidden;
}

/* subtle background accents */
.restricted-container::before{
  content:"";
  position:absolute;
  inset:-80px;
  background:
    radial-gradient(800px 520px at 15% 15%, rgba(23,85,21,0.12), transparent 60%),
    radial-gradient(780px 520px at 90% 20%, rgba(200,168,93,0.12), transparent 60%),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.010) 0px, rgba(0,0,0,0.010) 2px, transparent 2px, transparent 12px);
  pointer-events:none;
}

/* main card */
.restricted-box{
  width: min(520px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px 22px 22px;
  text-align:center;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(6px);
}

/* lock icon */
.restricted-box i{
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 0 auto 14px;

  color: #fff;
  background: linear-gradient(135deg, var(--green), #038014);
  box-shadow: 0 14px 28px rgba(3,128,20,0.18);
  font-size: 28px;
}

/* title */
.restricted-box h3{
  margin: 8px 0 8px;
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: .3px;
  color: var(--ink);
}

/* message */
.restricted-box p{
  margin: 0;
  font-size: 14px;
  color: rgba(16,32,21,0.72);
  line-height: 1.5;
}

/* Optional: add a small hint style if you later add links/buttons */
.restricted-box a{
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}
.restricted-box a:hover{
  text-decoration: underline;
}

/* mobile */
@media (max-width: 520px){
  .restricted-box{
    padding: 22px 16px 18px;
    border-radius: 16px;
  }
  .restricted-box i{
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
}
