/* ================================
   SINGLE OFFENDER PAGE
================================ */

.poc-single-offender {
  padding: 80px 20px;

  background: #f8fafc;
}

.single-offender-container {
  max-width: 1200px;

  margin: auto;
}

.back-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 25px;

  color: #475569;

  text-decoration: none;

  font-size: 15px;
}

.back-link:hover {
  color: #0f766e;
}

/* PROFILE CARD */

.offender-profile-card {
  background: #ffffff;

  border-radius: 24px;

  overflow: hidden;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* HEADER */

.profile-header {
  display: flex;

  align-items: center;

  gap: 35px;

  padding: 40px;

  border-bottom: 1px solid #e5e7eb;
}

.profile-image {
  width: 150px;

  height: 150px;

  border-radius: 20px;

  overflow: hidden;

  flex-shrink: 0;
}

.profile-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.default-avatar {
  width: 100%;

  height: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #e2e8f0;

  color: #334155;

  font-size: 60px;

  font-weight: 700;
}

.profile-info h1 {
  margin: 0 0 15px;

  font-size: 36px;

  color: #111827;
}

.profile-badges {
  display: flex;

  gap: 10px;

  margin-bottom: 18px;
}

.status-badge,
.abuse-badge {
  padding: 7px 15px;

  border-radius: 50px;

  font-size: 14px;

  font-weight: 600;
}

.status-badge {
  background: #dcfce7;

  color: #166534;
}

.abuse-badge {
  background: #fee2e2;

  color: #991b1b;
}

.institution,
.location {
  margin: 8px 0;

  color: #475569;

  font-size: 16px;
}

/* CONTENT AREA */

.profile-content {
  display: grid;

  grid-template-columns: 1fr 330px;

  gap: 30px;

  padding: 40px;
}

.content-box {
  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 18px;

  padding: 30px;

  margin-bottom: 25px;
}

.content-box h2 {
  margin-top: 0;

  margin-bottom: 18px;

  font-size: 22px;

  color: #111827;
}

.content-box p {
  color: #475569;

  line-height: 1.8;
}

/* INFO GRID */

.info-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.info-grid div {
  background: #f8fafc;

  padding: 18px;

  border-radius: 12px;
}

.info-grid strong {
  display: block;

  font-size: 14px;

  color: #64748b;

  margin-bottom: 6px;
}

.info-grid span {
  font-size: 16px;

  color: #111827;
}

/* SIDEBAR */

.notice-box,
.action-box {
  background: #ffffff;

  border-radius: 18px;

  padding: 25px;

  border: 1px solid #e5e7eb;

  margin-bottom: 20px;
}

.notice-box h3,
.action-box h3 {
  margin-top: 0;

  font-size: 20px;

  color: #111827;
}

.notice-box p,
.action-box p {
  color: #64748b;

  line-height: 1.7;
}

.report-button {
  display: block;

  text-align: center;

  margin-top: 20px;

  background: #dc2626;

  color: #ffffff;

  padding: 14px 20px;

  border-radius: 12px;

  text-decoration: none;

  font-weight: 600;
}

.report-button:hover {
  background: #b91c1c;
}

/* EMPTY */

.poc-empty-state {
  max-width: 600px;

  margin: 100px auto;

  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .profile-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .profile-header {
    flex-direction: column;

    text-align: center;

    padding: 30px 20px;
  }

  .profile-info h1 {
    font-size: 28px;
  }

  .profile-badges {
    justify-content: center;
  }

  .profile-content {
    padding: 20px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}


.poc-report-count { color:#52606d; margin:8px 0; }
.single-evidence-list { display:grid; gap:10px; }
.single-evidence-list a { display:flex; gap:9px; align-items:center; padding:12px 14px; border:1px solid #e1e8f0; border-radius:9px; color:#174f87; text-decoration:none; background:#f8fbff; }


/* ===== POC PUBLIC EVIDENCE VIDEO ===== */

.poc-public-evidence-box
.single-evidence-list{

    display:grid;
    gap:14px;

}


.poc-evidence-link{

    display:flex !important;

    align-items:center;

    gap:10px;

    padding:
        13px 15px;

    border:
        1px solid #e1e8f0;

    border-radius:
        10px;

    background:
        #f8fbff;

    color:
        #174f87;

    text-decoration:
        none;

}


.poc-evidence-video{

    display:grid;

    gap:8px;

    padding:12px;

    border:
        1px solid #e1e8f0;

    border-radius:
        12px;

    background:
        #f8fbff;

    overflow:hidden;

}


.poc-evidence-video iframe,
.poc-evidence-video video{

    display:block;

    width:100%;

    aspect-ratio:
        16 / 9;

    border:0;

    border-radius:
        8px;

    background:
        #000;

}


.poc-evidence-video a{

    font-size:
        13px;

    color:
        #174f87;

    text-decoration:
        none;

}


@media(max-width:560px){

    .poc-evidence-video{
        padding:8px;
    }

    .poc-evidence-link{
        padding:
            11px 12px;
    }

}

/* ===== FINAL PUBLIC EVIDENCE ===== */

.poc-public-evidence-box .single-evidence-list{
    display:grid;
    gap:16px;
}

.poc-evidence-link{
    display:flex !important;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    border:1px solid #dfe7ef;
    border-radius:10px;
    background:#f7faff;
    color:#174f87 !important;
    text-decoration:none !important;
    overflow-wrap:anywhere;
}

.poc-evidence-link:hover{
    background:#eef5fc;
}

.poc-evidence-video{
    width:100%;
    display:grid;
    gap:9px;
    padding:12px;
    border:1px solid #dfe7ef;
    border-radius:12px;
    background:#f7faff;
    box-sizing:border-box;
    overflow:hidden;
}

.poc-evidence-video iframe,
.poc-evidence-video video{
    display:block;
    width:100%;
    aspect-ratio:16 / 9;
    height:auto;
    border:0;
    border-radius:8px;
    background:#000;
}

.poc-evidence-video a{
    font-size:13px;
    color:#174f87;
    text-decoration:none;
}

.poc-evidence-image{
    display:grid !important;
    gap:9px;
    padding:10px;
    border:1px solid #dfe7ef;
    border-radius:12px;
    background:#f7faff;
    text-decoration:none !important;
}

.poc-evidence-image img{
    display:block;
    width:100%;
    max-height:420px;
    object-fit:contain;
    border-radius:8px;
    background:#eef2f6;
}

.poc-evidence-image span{
    color:#174f87;
    font-size:13px;
}

@media(max-width:560px){

    .poc-evidence-video,
    .poc-evidence-image{
        padding:8px;
    }

    .poc-evidence-link{
        padding:12px;
        font-size:13px;
    }

}

