/* ========================================================================== */
/* HIRENTRA WEB — v0.7.0 BUILD 15 PATCH 3                                    */
/* Step 5C Web Compliance management                                          */
/* ========================================================================== */

.web5c-toolbar-actions,
.web5c-profile-actions,
.web5c-form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.web5c-manage-toolbar,
.web5c-asset-manage-bar,
.web5c-form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.web5c-manage-toolbar,
.web5c-asset-manage-bar {
  padding: 13px 14px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
  background: rgba(15,23,42,.24);
}

.web5c-asset-manage-bar { margin-bottom: 14px; }

.web5c-manage-toolbar strong,
.web5c-asset-manage-bar strong { display: block; font-size: 13px; }
.web5c-manage-toolbar p,
.web5c-asset-manage-bar span,
.web5c-form-heading p {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
}

.web5c-profile-list,
.web5c-requirement-manage-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.web5c-profile-card,
.web5c-requirement-manage-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 13px;
  background: rgba(15,23,42,.2);
}

.web5c-profile-copy strong,
.web5c-profile-copy span,
.web5c-profile-copy small,
.web5c-requirement-manage-card strong,
.web5c-requirement-manage-card span {
  display: block;
}

.web5c-profile-copy strong,
.web5c-requirement-manage-card strong { font-size: 12px; }
.web5c-profile-copy span,
.web5c-requirement-manage-card span { margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.web5c-profile-copy p,
.web5c-requirement-manage-card p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.web5c-profile-copy small { margin-top: 7px; font-weight: 800; }

.web5c-manage-form {
  display: grid;
  gap: 9px;
}

.web5c-manage-form label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.web5c-manage-form input:not([type="checkbox"]),
.web5c-manage-form select,
.web5c-manage-form textarea { width: 100%; }

.web5c-form-grid.two {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px 12px;
}

.web5c-form-grid.two > div { min-width: 0; }
.web5c-form-grid.two label { display: block; margin-bottom: 6px; }

.web5c-check-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px 12px;
  padding: 10px 0;
}

.web5c-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: inherit !important;
  font-size: 10.5px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.web5c-check input { width: auto; }
.web5c-form-actions { justify-content: flex-end; margin-top: 4px; }

.web5c-hold-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.danger-outline { border-color: rgba(239,68,68,.35) !important; }
.danger-text { color: #fca5a5 !important; }

@media (max-width: 760px) {
  .web5c-manage-toolbar,
  .web5c-asset-manage-bar,
  .web5c-form-heading,
  .web5c-hold-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .web5c-profile-card,
  .web5c-requirement-manage-card,
  .web5c-form-grid.two,
  .web5c-check-grid {
    grid-template-columns: 1fr;
  }

  .web5c-toolbar-actions,
  .web5c-profile-actions,
  .web5c-form-actions {
    width: 100%;
  }

  .web5c-toolbar-actions button,
  .web5c-profile-actions button,
  .web5c-form-actions button {
    flex: 1 1 auto;
  }
}


.web5c-delete-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}
