* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f0f2f5;
  min-height: 100vh;
}
/* Verified Card Styling */

.verification-card {
  max-width: 900px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 40px auto;
  border-radius: 16px;
  padding: 50px 40px;
  text-align: center;
  color: #1a1a1a;
  animation: slideUp 0.5s ease forwards;
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.verification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #1565c0 0%, #0d47a1 100%);
}

.verification-card > * {
  position: relative;
  z-index: 1;
}

.status-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.25);
}

.status-icon svg {
  width: 55px;
  height: 55px;
  stroke-width: 4;
  stroke: #ffffff;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: checkmark 0.8s ease 0.3s forwards;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
}

.verification-card h2 {
  font-size: 36px;
  margin: 20px 0 10px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.verification-card p.subtitle {
  font-size: 15px;
  color: #5f6368;
  margin-bottom: 35px;
  font-weight: 400;
  line-height: 1.5;
}

.details-container {
  background: #fafbfc;
  border-radius: 12px;
  padding: 40px 35px;
  margin: 30px 0;
  border: 1px solid #e8eaed;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  text-align: left;
}

.detail-item {
  padding: 18px 20px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #1976d2;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.detail-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left-color: #1565c0;
}

.detail-label {
  font-size: 11px;
  color: #5f6368;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.detail-value {
  font-size: 16px;
  color: #202124;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

.certified-by {
  margin-top: 30px;
  padding: 20px 25px;
  background: #f8f9fa;
  border-radius: 10px;
  font-size: 14px;
  color: #5f6368;
  font-weight: 400;
  border: 1px solid #e8eaed;
}

.certified-by strong {
  font-weight: 700;
  font-size: 16px;
  color: #1976d2;
  display: block;
  margin-top: 4px;
}

.copy-btn {
  margin-top: 30px;
  padding: 14px 40px;
  border: 2px solid #1976d2;
  border-radius: 8px;
  background: #1976d2;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
}

.copy-btn:hover {
  background: #1565c0;
  border-color: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(25, 118, 210, 0.3);
}

.copy-btn:active {
  transform: translateY(0);
}

.copy-msg {
  margin-top: 15px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  background: #0f9d58;
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(15, 157, 88, 0.3);
  animation: slideUp 0.3s ease;
}
/* Error/Warning Cards */

.message-card {
  max-width: 650px;
  margin: 50px auto;
  padding: 30px 35px;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.4s ease forwards;
  line-height: 1.6;
  border: 1px solid;
}

.message-card.error {
  background: #fef5f5;
  color: #c62828;
  border-color: #ef5350;
}

.message-card.warning {
  background: #fffbf0;
  color: #ef6c00;
  border-color: #ffb74d;
}

.message-card.info {
  background: #e3f2fd;
  color: #1565c0;
  border-color: #64b5f6;
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

@keyframes checkmark {
  to {
    stroke-dashoffset: 0;
  }
}
/* Responsive Design */

@media (max-width: 1024px) {
  .verification-card {
    max-width: 90%;
    margin: 30px auto;
  }
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .verification-card {
    padding: 35px 25px;
    margin: 20px 15px;
    border-radius: 12px;
  }
  .verification-card h2 {
    font-size: 28px;
  }
  .verification-card p.subtitle {
    font-size: 14px;
  }
  .status-icon {
    width: 85px;
    height: 85px;
  }
  .status-icon svg {
    width: 45px;
    height: 45px;
  }
  .details-container {
    padding: 25px 20px;
  }
  .details-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .detail-item {
    padding: 15px 18px;
  }
  .detail-label {
    font-size: 10px;
  }
  .detail-value {
    font-size: 15px;
  }
  .copy-btn {
    padding: 12px 32px;
    font-size: 13px;
    width: 100%;
    max-width: 300px;
  }
  .certified-by {
    padding: 16px 20px;
    font-size: 13px;
  }
  .certified-by strong {
    font-size: 15px;
  }
  .message-card {
    padding: 25px 20px;
    margin: 30px 15px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .verification-card {
    padding: 25px 18px;
    margin: 15px 10px;
  }
  .verification-card h2 {
    font-size: 24px;
  }
  .details-grid {
    gap: 12px;
  }
  .detail-item {
    padding: 14px 16px;
  }
  .copy-btn {
    padding: 11px 28px;
    font-size: 12px;
  }
}
/* Hide old header */

#header {
  display: none !important;
}
/* Proper spacing for intro section below fixed navigation */

#intro {
  padding-top: 100px;
  padding-bottom: 60px;
}

#main {
  padding: 60px 0;
  background: #ffffff;
}

#certificate-verification {
  padding: 40px 20px 80px 20px;
  background: #ffffff !important;
  color: #333 !important;
}

#certificate-verification h1 {
  color: #003366 !important;
  visibility: visible !important;
  display: block !important;
}

#certificate-verification p,
#certificate-verification input,
#certificate-verification button,
#certificate-verification div {
  visibility: visible !important;
  opacity: 1 !important;
}
