.tobe-checker{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:44px;
  align-items:center;
  margin:40px 0;
}
.tobe-checker-image img{
  width:100%;
  border-radius:8px;
  display:block;
}
.tobe-checker h2{
  font-size:42px;
  line-height:1.15;
  margin:0 0 14px;
  color:#1F4E43;
}
.tobe-checker p{
  font-size:18px;
}
.tobe-checker-form{
  display:flex;
  align-items:stretch;
  width:100%;
  max-width:680px;
  margin:22px 0;
}
.tobe-checker-form input{
  flex:1 1 auto;
  height:52px;
  min-width:0;
  padding:0 16px;
  border:1px solid #d9d9d9;
  border-right:0;
  border-radius:8px 0 0 8px;
  background:#fff;
  color:#333;
  font-size:16px;
  line-height:52px;
  box-shadow:none;
  outline:none;
}
.tobe-checker-form input:focus{
  border-color:#1F4E43;
  box-shadow:0 0 0 2px rgba(31,78,67,.12);
}
.tobe-checker-form button{
  flex:0 0 auto;
  height:52px;
  min-width:102px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0;
  padding:0 22px;
  background:#1F4E43;
  color:#fff;
  border:1px solid #1F4E43;
  border-radius:0 8px 8px 0;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  line-height:1;
  cursor:pointer;
  box-shadow:none;
  white-space:nowrap;
  transform:none;
}
.tobe-checker-form button:hover,
.tobe-checker-form button:focus{
  background:#173d34;
  border-color:#173d34;
  color:#fff;
}
.tobe-search-icon{
  width:16px;
  height:16px;
  display:inline-block;
  background-repeat:no-repeat;
  background-position:center;
  background-size:16px 16px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'%3E%3C/circle%3E%3Cline x1='16.65' y1='16.65' x2='21' y2='21'%3E%3C/line%3E%3C/svg%3E");
}
.tobe-download{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#1F4E43;
  color:#fff !important;
  border:1px solid #1F4E43;
  padding:14px 22px;
  border-radius:6px;
  text-decoration:none !important;
  font-weight:700;
}
.tobe-download:hover{
  background:#173d34;
  border-color:#173d34;
}
.tobe-result{
  padding:16px;
  border-radius:10px;
  margin-top:16px;
}
.tobe-result.valid{
  background:#eefaf1;
  border:1px solid #b8e6c5;
}
.tobe-result.invalid{
  background:#fff0f0;
  border:1px solid #ffc4c4;
}
.tobe-result.valid h3{
  color:#1F4E43;
  margin-top:0;
}
.tobe-my-certs table{
  width:100%;
  border-collapse:collapse;
}
.tobe-my-certs th,
.tobe-my-certs td{
  border:1px solid #ddd;
  padding:12px;
  text-align:left;
}
@media(max-width:800px){
  .tobe-checker{grid-template-columns:1fr;gap:24px;}
  .tobe-checker h2{font-size:30px;}
  .tobe-checker-form{max-width:100%;}
  .tobe-checker-form button{min-width:88px;padding:0 16px;}
}

/* Tutor LMS dashboard menu icon for My Certificates */
.tutor-dashboard-menu-my-certificates a::before,
.tutor-dashboard-menu-item-my-certificates a::before,
.tutor-dashboard-menu li a[href*="my-certificates"]::before,
.tutor-dashboard-permalinks li a[href*="my-certificates"]::before{
  content:"" !important;
  width:20px;
  height:20px;
  display:inline-block;
  margin-right:12px;
  vertical-align:middle;
  background-color:#1F4E43;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M8.5 13.5 7 22l5-3 5 3-1.5-8.5'/%3E%3Cpath d='m9.5 8 1.7 1.7L15 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M8.5 13.5 7 22l5-3 5 3-1.5-8.5'/%3E%3Cpath d='m9.5 8 1.7 1.7L15 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tutor-dashboard-menu-my-certificates.active a::before,
.tutor-dashboard-menu-item-my-certificates.active a::before,
.tutor-dashboard-menu li.active a[href*="my-certificates"]::before,
.tutor-dashboard-permalinks li.active a[href*="my-certificates"]::before{
  background-color:#fff;
}

/* v1.9.0 live verification result */
.tobe-checker-live-result{
  width:100%;
  max-width:680px;
}
.tobe-result{
  position:relative;
  padding:24px 26px;
  border-radius:18px;
  margin-top:22px;
  box-shadow:0 14px 36px rgba(15,23,42,.08);
  overflow:hidden;
}
.tobe-result::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
}
.tobe-result h3{
  margin:0 0 8px;
  font-size:26px;
  line-height:1.2;
  color:#1F4E43;
}
.tobe-result p{
  margin:8px 0;
  font-size:15px;
  line-height:1.55;
  color:#34423f;
}
.tobe-result.valid{
  background:linear-gradient(135deg,#f1fbf4 0%,#ffffff 100%);
  border:1px solid #b6e5c4;
}
.tobe-result.valid::before{
  background:#1F8F4E;
}
.tobe-result.invalid{
  background:linear-gradient(135deg,#fff4f4 0%,#ffffff 100%);
  border:1px solid #f2b4b4;
}
.tobe-result.invalid::before{
  background:#b42318;
}
.tobe-result.loading{
  display:flex;
  gap:14px;
  align-items:flex-start;
  background:#f8fafc;
  border:1px solid #d8dee8;
}
.tobe-result.loading::before{
  background:#1F4E43;
}
.tobe-result-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:12px;
}
.tobe-result.valid .tobe-result-badge{
  background:#dff7e7;
  color:#126c37;
}
.tobe-result.invalid .tobe-result-badge{
  background:#ffe2e0;
  color:#9f1d14;
}
.tobe-result-message{
  font-size:16px !important;
  color:#263b36 !important;
}
.tobe-result-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px 18px;
  margin:16px 0 18px;
  padding:16px;
  border-radius:14px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(31,78,67,.12);
}
.tobe-result-grid p{
  margin:0;
}
.tobe-result code{
  background:#eef2f1;
  color:#1F4E43;
  padding:4px 7px;
  border-radius:6px;
  font-weight:800;
  white-space:nowrap;
}
.tobe-result-hint{
  color:#6b7280 !important;
  font-size:14px !important;
}
.tobe-result-spinner{
  width:24px;
  height:24px;
  border:3px solid #dbe5e2;
  border-top-color:#1F4E43;
  border-radius:50%;
  animation:tobeSpin .8s linear infinite;
  margin-top:4px;
  flex:0 0 auto;
}
@keyframes tobeSpin{to{transform:rotate(360deg)}}
.tobe-checker-form button:disabled{
  opacity:.7;
  cursor:wait;
}
@media(max-width:800px){
  .tobe-result-grid{grid-template-columns:1fr;}
  .tobe-result h3{font-size:22px;}
}

.tobe-access-note{margin-top:18px;padding:14px 16px;border-radius:14px;background:#f8fafc;border:1px solid #d7dee8;color:#334155;font-weight:600;line-height:1.5}
