/* AWS SBG SKIT - Certificate Verification Portal Styles */

:root {
  --bg-deep: #0a1018;
  --bg-panel: #101a26;
  --bg-card: #0f1722;
  --bg-card-hover: #141f2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 230, 118, 0.4);
  --text: #eaf0f5;
  --text-main: #f1f5f9;
  --text-dim: #8ea0b3;
  --text-muted: #94a3b8;
  --text-dimmer: #5d7186;
  --orange: #ff9900;
  --orange-light: #ffc94d;
  --blue: #29b6d8;
  --aws-green: #00e676;
  --aws-orange: #ff9900;
  --aws-purple: #9333ea;
  --display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --mono: 'JetBrains Mono', monospace;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Universal Scrollbar Theming */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--text-dimmer) var(--bg-panel);
  scrollbar-gutter: stable;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-panel);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: var(--text-dimmer);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* Official Main Site Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: var(--text);
  text-decoration: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.4), 0 6px 18px rgba(255, 153, 0, 0.25);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.logo small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10px;
  color: var(--text-dimmer);
  letter-spacing: 1.5px;
  margin-top: 1px;
}

/* Background Grids & Ambient Glow (Matching Main Site) */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 153, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 153, 0, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
}
.bg-glow.g1 { width: 500px; height: 500px; background: var(--orange); top: -120px; left: -100px; }
.bg-glow.g2 { width: 450px; height: 450px; background: var(--blue); bottom: 10%; right: -100px; }

body.verify-page {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.verify-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 23, 34, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.verify-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.verify-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.verify-brand span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.verify-brand span b {
  color: var(--aws-orange);
}

.verify-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.verify-nav-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
}

.verify-nav-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
}

.verify-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

.verify-hero {
  text-align: center;
  margin-bottom: 36px;
}

.verify-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid var(--border-highlight);
  color: var(--aws-green);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.verify-hero h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.verify-hero p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Search Form */
.verify-search-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 8px 10px;
  display: flex;
  gap: 8px;
  max-width: 620px;
  margin: 0 auto 36px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.verify-search-card:focus-within {
  border-color: var(--aws-green);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(0, 230, 118, 0.15);
}

.verify-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-mono);
  padding: 10px 14px;
  letter-spacing: 0.5px;
}

.verify-search-input::placeholder {
  color: var(--text-dimmer);
  font-family: var(--font-sans);
}

.verify-search-btn {
  background: var(--aws-green);
  color: #080d14;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  padding: 0 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.verify-search-btn:hover {
  background: #00c853;
  transform: translateY(-1px);
}

/* Result Card */
.verify-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.verify-status-banner {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.verify-status-banner.is-valid {
  background: linear-gradient(90deg, rgba(0, 230, 118, 0.12) 0%, rgba(15, 23, 34, 0.6) 100%);
  border-color: rgba(0, 230, 118, 0.25);
}

.verify-status-banner.is-invalid {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.12) 0%, rgba(15, 23, 34, 0.6) 100%);
  border-color: rgba(239, 68, 68, 0.25);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.is-valid .status-icon {
  background: var(--aws-green);
  color: #080d14;
}

.is-invalid .status-icon {
  background: #ef4444;
  color: #fff;
}

.status-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.is-valid .status-title {
  color: var(--aws-green);
}

.is-invalid .status-title {
  color: #ef4444;
}

.verify-id-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 6px;
}

.verify-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px;
}

@media (max-width: 640px) {
  .verify-details-grid {
    grid-template-columns: 1fr;
  }
}

.verify-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.verify-meta-label {
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-dimmer);
  letter-spacing: 0.8px;
}

.verify-meta-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.verify-preview-section {
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

.verify-preview-frame {
  max-width: 720px;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
}

.verify-preview-frame canvas,
.verify-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.verify-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-verify-action {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.btn-verify-action:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-linkedin {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
}

.btn-linkedin:hover {
  background: #084e96;
  border-color: #084e96;
}

.btn-download-primary {
  background: var(--aws-green);
  border-color: var(--aws-green);
  color: #080d14;
}

.btn-download-primary:hover {
  background: #00c853;
  border-color: #00c853;
}

/* Informational Section */
.verify-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .verify-info-cards {
    grid-template-columns: 1fr;
  }
}

.info-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.2s;
}

.info-step-card:hover {
  border-color: rgba(255, 153, 0, 0.3);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--aws-orange);
  margin-bottom: 10px;
}

.info-step-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--text-main);
}

.info-step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Full Site Footer (Exact Match with Main Site) */
.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding: 60px clamp(20px, 5vw, 64px) 30px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--blue), var(--orange), transparent);
  opacity: 0.6;
}
.footer-container {
  max-width: 1300px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 340px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.25s ease;
}
.footer-socials a:hover {
  border-color: var(--orange);
  color: var(--orange-light);
  transform: translateY(-3px);
  background: rgba(255, 153, 0, 0.08);
}
.footer-socials .m-icon {
  font-family: var(--display);
  font-weight: bold;
  font-size: 15px;
}
.footer-col h4 {
  font-family: var(--display);
  font-size: 16px;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--orange-light);
  transform: translateX(4px);
}
.footer-loc {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.65;
}
.footer-loc strong {
  color: var(--text);
}
.direct-contact-box {
  margin-top: 22px;
}
.dc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-bottom: 10px;
  font-weight: 500;
}
.dc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dc-email {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease;
  word-break: break-all;
}
.dc-email:hover {
  color: var(--orange-light);
}
.dc-copy-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s ease;
}
.dc-copy-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.dc-copy-btn .icon-check {
  display: none;
}
.dc-copy-btn.copied .icon-copy {
  display: none;
}
.dc-copy-btn.copied .icon-check {
  display: block;
}
.dc-copy-btn .copy-tooltip {
  position: absolute;
  top: -30px;
  right: 0;
  background: #16222f;
  color: #3ddc84;
  border: 1px solid rgba(61, 220, 132, 0.3);
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(4px);
  white-space: nowrap;
}
.dc-copy-btn.copied .copy-tooltip {
  opacity: 1;
  transform: translateY(0);
}
.dc-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 14px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dimmer);
}
.footer-bottom-links {
  display: flex;
  gap: 8px;
}
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

