/*
Theme Name: Neve Child
Template: neve
Version: 1.0
*/
/* ==== Certificado (layout diploma) ==== */
.nyl-cert-wrap{
  padding: 40px 16px;
}

.nyl-cert{
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}

.nyl-cert-inner{
  padding: 42px 42px 34px 42px;
  position: relative;
}

.nyl-cert-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.nyl-cert-brand-name{
  font-size: 18px;
  letter-spacing: .06em;
  font-weight: 700;
  text-transform: uppercase;
}

.nyl-cert-brand-sub{
  opacity:.75;
  margin-top: 4px;
}

.nyl-qr img{
  width: 140px;
  height: 140px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 10px;
  padding: 8px;
  background: #fff;
}

.nyl-cert-title{
  text-align:center;
  font-size: 32px;
  letter-spacing: .06em;
  font-weight: 800;
  margin: 18px 0 18px 0;
}

.nyl-cert-text{
  text-align:center;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 760px;
}

.nyl-cert-name{
  font-size: 26px;
  font-weight: 800;
  display:inline-block;
  margin: 8px 6px;
  border-bottom: 2px solid rgba(0,0,0,.25);
  padding: 2px 8px;
}

.nyl-cert-course{
  font-weight: 700;
}

.nyl-cert-meta{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  padding: 16px 18px;
  background: rgba(0,0,0,.03);
  border-radius: 12px;
}

.nyl-cert-code{
  margin-top: 18px;
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,.20);
}

.nyl-cert-verify{
  opacity:.85;
}

.nyl-cert-sign{
  margin-top: 34px;
  text-align:center;
}

.nyl-sign-line{
  width: 320px;
  max-width: 90%;
  margin: 0 auto 10px auto;
  border-bottom: 2px solid rgba(0,0,0,.45);
}

.nyl-sign-name{
  font-weight: 800;
}

.nyl-sign-role{
  opacity:.75;
  margin-top: 4px;
}

/* ==== Validação ==== */
.nyl-validate{
  max-width: 540px;
  margin: 20px auto;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  background: #fff;
  display:grid;
  gap: 10px;
}

.nyl-validate input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.20);
}

.nyl-validate button{
  padding: 12px 14px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.nyl-validate-result{
  max-width: 540px;
  margin: 14px auto;
  padding: 14px 16px;
  border-radius: 12px;
}

.nyl-validate-result.ok{
  background: rgba(0, 140, 0, .08);
  border: 1px solid rgba(0, 140, 0, .25);
}

.nyl-validate-result.bad{
  background: rgba(180, 0, 0, .07);
  border: 1px solid rgba(180, 0, 0, .20);
}