/* ==========================================================================
   VERIFY CERTIFICATE PAGE SPECIFIC STYLESHEET
   Sutapa Infotech Skills Foundation / IDST Central Registry
   ========================================================================== */

/* Hero Banner Styling */
.verify-hero-banner {
  background: linear-gradient(135deg, #091a36 0%, #061022 100%);
  color: #ffffff;
  padding: 65px 0 75px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #ea580c;
}

.verify-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(234, 88, 12, 0.15) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.7;
}

.verify-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  letter-spacing: -0.02em;
  color: #ffffff;
  text-transform: uppercase;
}

.verify-hero-subtitle {
  font-family: 'Poppins', sans-serif;
  color: #ff9933;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.verify-hero-desc {
  font-family: 'Inter', sans-serif;
  color: #cbd5e1;
  max-width: 700px;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Central Verification Form Section Background (Matching Reference Image) */
.cert-verification-section {
  padding: 85px 0;
  position: relative;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at top right, rgba(255, 153, 51, 0.22) 0%, rgba(255, 153, 51, 0.05) 40%, transparent 65%),
    radial-gradient(circle at bottom left, rgba(18, 136, 7, 0.16) 0%, rgba(18, 136, 7, 0.04) 40%, transparent 65%),
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
  background-position: center, center, left top, left top;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
}

/* Central Verification Form Card */
.cert-verify-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08), 0 3px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* Tricolor Top Border Bar */
.cert-verify-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ea580c 0%, #ea580c 33.33%, #005bc5 33.33%, #005bc5 66.66%, #128807 66.66%, #128807 100%);
  z-index: 5;
}

/* Quick Sample ID Pills */
.sample-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.sample-id-pill {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px dashed #cbd5e1;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.sample-id-pill:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}

/* Verification Input Group */
.cert-input-field {
  font-family: 'Space Grotesk', monospace;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 1.05rem !important;
  text-transform: uppercase;
  border: 2px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  transition: all 0.25s ease;
}

.cert-input-field:focus {
  border-color: #005bc5 !important;
  box-shadow: 0 0 0 4px rgba(0, 91, 197, 0.15) !important;
}

.btn-verify-action {
  background: linear-gradient(135deg, #091a36 0%, #001f4d 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 15px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 20px rgba(9, 26, 54, 0.25);
  transition: all 0.3s ease;
}

.btn-verify-action:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(234, 88, 12, 0.35);
}

/* Verification Result Certificate Display Card */
.cert-result-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 28px;
  border: 2px solid #16a34a;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.12);
  position: relative;
  overflow: hidden;
}

.cert-result-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: rgba(22, 163, 74, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.cert-verified-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px dashed #cbd5e1;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.cert-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid #86efac;
}

.cert-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.cert-detail-item {
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.cert-detail-label {
  font-size: 0.725rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.cert-detail-value {
  font-size: 0.925rem;
  font-weight: 700;
  color: #0f172a;
}

/* Dual-Corner Accent Security Protocol Cards (Matching Reference Image) */
.security-protocol-card {
  position: relative;
  border-radius: 22px;
  padding: 34px 22px 28px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  transition: all 0.35s ease;
  height: 100%;
  overflow: hidden;
}

/* Top-Left Orange Corner Stroke */
.security-protocol-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 42%;
  border-top: 4px solid #ea580c;
  border-left: 4px solid #ea580c;
  border-top-left-radius: 22px;
  pointer-events: none;
  z-index: 3;
}

/* Bottom-Right Green Corner Stroke */
.security-protocol-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 42%;
  height: 42%;
  border-bottom: 4px solid #128807;
  border-right: 4px solid #128807;
  border-bottom-right-radius: 22px;
  pointer-events: none;
  z-index: 3;
}

/* Top Center Yellow Accent Bar */
.security-top-yellow-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 4px;
  background-color: #ffc107;
  border-radius: 0 0 4px 4px;
  z-index: 4;
}

.security-protocol-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 31, 77, 0.14);
}

/* Card Background Color Tint Variants */
.security-protocol-card.bg-tint-yellow {
  background: linear-gradient(180deg, #fffdf0 0%, #fef3c7 100%);
}

.security-protocol-card.bg-tint-green {
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
}

.security-protocol-card.bg-tint-purple {
  background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
}

.security-protocol-card.bg-tint-cyan {
  background: linear-gradient(180deg, #ecfeff 0%, #cffafe 100%);
}

.protocol-icon-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.security-protocol-card:hover .protocol-icon-avatar {
  transform: scale(1.08);
}

.protocol-icon-avatar.avatar-saffron { background: #ff9933; color: #ffffff; }
.protocol-icon-avatar.avatar-green { background: #128807; color: #ffffff; }
.protocol-icon-avatar.avatar-purple { background: #8b5cf6; color: #ffffff; }
.protocol-icon-avatar.avatar-cyan,
.protocol-icon-avatar.avatar-blue { background: #005bc5; color: #ffffff; }

/* Responsive adjustments */
@media (max-width: 767px) {
  .cert-verify-card {
    padding: 24px 18px;
  }
  .cert-detail-grid {
    grid-template-columns: 1fr;
  }
}
