/* ============================================================
   verifycertificate.online - assets/css/style.css
   Public pages
   ============================================================ */

:root {
  --vc-blue:      #1565c0;
  --vc-dark-blue: #1a237e;
  --vc-light:     #e8f0fe;
  --vc-success:   #0f766e;
}

body {
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
  background: #f5f7ff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Brand */
.vc-brand-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: var(--vc-dark-blue);
  letter-spacing: 0.5px;
}
.vc-brand-text span {
  color: var(--vc-blue);
  font-weight: 400;
}

/* Navbar */
.navbar { padding: 10px 0; }
.nav-link { font-size: 0.88rem; font-weight: 500; color: #444; }
.nav-link:hover { color: var(--vc-blue); }
.btn-primary { background: var(--vc-blue); border-color: var(--vc-blue); }
.btn-primary:hover { background: var(--vc-dark-blue); border-color: var(--vc-dark-blue); }

/* Hero Section */
.vc-hero {
  background: #fff;
  padding: 56px 0 40px;
  text-align: center;
  border-bottom: 1px solid #e8eaf6;
}
.vc-hero-badge {
  display: inline-block;
  background: var(--vc-light);
  color: var(--vc-blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.vc-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--vc-dark-blue);
  line-height: 1.2;
  margin-bottom: 10px;
}
.vc-hero h1 span { color: var(--vc-blue); }
.vc-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.vc-tagline-line { flex: 1; max-width: 80px; height: 1px; background: #c5cae9; }
.vc-tagline-text { font-size: 0.72rem; font-weight: 600; letter-spacing: 3px; color: #7986cb; }

/* Search Box */
.vc-search-wrap {
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid #c5cae9;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(21,101,192,0.08);
}
.vc-search-input-group {
  display: flex;
  gap: 8px;
}
.vc-search-input {
  flex: 1;
  height: 48px;
  border: 1.5px solid #c5cae9;
  border-radius: 10px;
  padding: 0 16px 0 44px;
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #f8f9ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%231565c0' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat 14px center;
  outline: none;
  transition: border-color 0.2s;
}
.vc-search-input:focus { border-color: var(--vc-blue); box-shadow: 0 0 0 3px rgba(21,101,192,0.12); }
.vc-search-btn {
  height: 48px;
  padding: 0 28px;
  background: var(--vc-blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.vc-search-btn:hover { background: var(--vc-dark-blue); }
.vc-search-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Feature Icons */
.vc-features {
  background: #fff;
  border-top: 1px solid #e8eaf6;
}
.vc-feature-item {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid #e8eaf6;
}
.vc-feature-item:last-child { border-right: none; }
.vc-feature-icon {
  width: 48px; height: 48px;
  background: var(--vc-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--vc-blue);
  font-size: 1.3rem;
}
.vc-feature-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--vc-dark-blue);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.vc-feature-sub { font-size: 0.75rem; color: #7986cb; }

/* Certificate Card */
.vc-cert-card {
  max-width: 560px;
  margin: 32px auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(21,101,192,0.10);
  border: 1px solid #e8eaf6;
}
.vc-cert-header {
  background: var(--vc-blue);
  padding: 24px;
  text-align: center;
}
.vc-cert-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.vc-cert-body { padding: 24px; }
.vc-cert-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--vc-light);
  display: block;
  margin: 0 auto 16px;
}
.vc-cert-photo-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--vc-light);
  color: var(--vc-blue);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Montserrat', sans-serif;
}
.vc-cert-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--vc-dark-blue);
  text-align: center;
  margin-bottom: 6px;
}
.vc-cert-course {
  text-align: center;
  margin-bottom: 20px;
}
.vc-cert-course-badge {
  display: inline-block;
  background: var(--vc-light);
  color: var(--vc-blue);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
}
.vc-cert-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.vc-cert-field-label { font-size: 0.72rem; font-weight: 600; color: #7986cb; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.vc-cert-field-value { font-size: 0.9rem; color: #1a237e; font-weight: 500; }
.vc-cert-uid { font-family: monospace; font-size: 0.78rem; color: #888; word-break: break-all; }

/* Disambiguation */
.vc-inst-card {
  background: #fff;
  border: 1.5px solid #e8eaf6;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  margin-bottom: 10px;
}
.vc-inst-card:hover { border-color: var(--vc-blue); box-shadow: 0 2px 12px rgba(21,101,192,0.10); color: inherit; }
.vc-inst-avatar {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--vc-light);
  color: var(--vc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
}

/* Footer */
.vc-footer {
  background: #fff;
  border-top: 1px solid #e8eaf6;
  margin-top: auto;
}
.vc-footer-link {
  font-size: 0.82rem;
  color: #7986cb;
  text-decoration: none;
}
.vc-footer-link:hover { color: var(--vc-blue); }

/* Alerts */
.alert { border-radius: 10px; font-size: 0.88rem; }

@media (max-width: 576px) {
  .vc-hero h1 { font-size: 1.6rem; }
  .vc-search-btn { padding: 0 16px; font-size: 0.85rem; }
  .vc-cert-fields { grid-template-columns: 1fr; }
  .vc-feature-item { border-right: none; border-bottom: 1px solid #e8eaf6; }
}

.vc-card { background:#fff; border-radius:12px; border:1px solid #e8eaf6; overflow:hidden; margin-bottom:20px; }
.vc-card-body { padding:20px; }

