    @font-face {
      font-family: 'kalameh';
      src: url('/admin/css/fonts/kalameh.woff') format('woff'),
           url('/admin/css/fonts/kalameh.ttf') format('truetype');
    }
    body {
      margin: 0;
      font-family: kalameh;
      background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
      color: #333;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    header {
      background: rgba(0, 0, 0, 0.35);
      padding: 20px 40px;
      color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    header img {
      width: 30px;
      height: auto;
      margin-right: 6px;
      margin-bottom: -6px;
    }
    
    header h1 {
      font: normal 1rem kalameh;
      margin: 0;
      letter-spacing: 1px;
    }

    header span {
      font-size: 0.9rem;
      opacity: 0.8;
    }

    main {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .verify-card {
      background: #fff;
      border-radius: 10px;
      padding: 30px;
      max-width: 420px;
      width: 100%;
      box-shadow: 0 20px 40px rgba(0,0,0,0.25);
      text-align: center;
    }

    .verify-card h2 {
      margin: 0 0 10px;
      font-size: 1.3rem;
      color: #222;
      border-top: 1px dotted #999;
    }

    .verify-card p {
      font-size: 0.9rem;
      color: #666;
      margin-bottom: 25px;
    }

    .verify-card input {
      padding: 14px 15px;
      text-align: center;
      font-size: 1rem;
      border-radius: 10px;
      border: 1px solid #ccc;
      outline: none;
      transition: border 0.3s, box-shadow 0.3s;
    }

    .verify-card input:focus {
      border-color: #c9a227;
      box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
    }

    .verify-card .btn-submit, button {
      width: 100%;
      font: normal 1rem kalameh;
      margin-top: 20px;
      padding: 14px;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      background: linear-gradient(135deg, #c9a227, #f2d36b);
      color: #333;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .verify-card .btn-submit:hover, button:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .verify-card img{
        width: 300px;
        height: auto;
    }
    
    .certificate {
background: #ffffff;
max-width: 860px;
width: 100%;
border-radius: 18px;
padding: 36px 42px;
box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}


.cert-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #eaeaea;
padding-bottom: 20px;
margin-bottom: 30px;
}


.cert-header h2 {
margin: 0;
font-size: 1.6rem;
color: #1f1f1f;
letter-spacing: 0.3px;
}

.status {
padding: 8px 18px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 600;
background: #e7f6ee;
color: #1e7f4f;
letter-spacing: 0.4px;
}

.cert-main {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}

.fields {
  display: grid;
  row-gap: 12px;
}

.row {
  direction: ltr;
  display: grid;
grid-template-columns: 120px 1fr;
  column-gap: 5px;
  align-items: center;
padding: 8px 12px;
background: #fafafa;
border: 1px solid #ededed;
border-radius: 10px;
}

.label {
font-size: 0.75rem;
color: #777;
text-transform: uppercase;
letter-spacing: 0.6px;
font-family: tahoma;
}

.value {
font-size: 0.95rem;
color: #1f1f1f;
font-weight: 500;
font-family: arial;
}

.section h3 {
margin-bottom: 15px;
font-size: 1.05rem;
color: #333;
letter-spacing: 0.4px;
}

.images img {
width: 100%;
border-radius: 12px;
border: 1px solid #ddd;
}


.cert-footer {
margin-top: 40px;
padding-top: 20px;
border-top: 1px dashed #dcdcdc;
font-size: 0.8rem;
color: #666;
line-height: 1.6;
}



.result {
  margin-top: 25px;
  padding: 18px 22px;
  border-radius: 14px;
  font-size: 1rem;
}

.result.error {
  background: #fff3f3;
  border: 1px solid #f1c0c0;
}

.result.error h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #8b1e1e;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed #999;
}
.result ul{
  margin-right: 0px;
  list-style-type: square;
  direction: rtl;
}
.result ul li {
  line-height: 2em;
}

    footer {
      background: rgba(0, 0, 0, 0.35);
      color: #ddd;
      text-align: center;
      padding: 15px 20px;
      font-size: 0.8rem;
    }

    footer span {
      opacity: 0.7;
    }
    
    
.modal-header .btn-close {
  padding: calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);
  margin: 0px;
}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    text-align: center;
  }
      .certificate {
    padding: 25px 20px;
    }
  .cert-main {
    grid-template-columns: 1fr;
  }
  .cert-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 15px;
  }
}