/* ============================================ */
/* Certificate Verification Page Styles         */
/* ============================================ */

/* ---- Verify Section ---- */
.verify-section {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: linear-gradient(160deg, var(--navy) 0%, #081428 50%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
}

.verify-header {
  text-align: center;
  margin-bottom: 3rem;
}

.verify-header h1 {
  color: var(--ivory);
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.verify-subtitle {
  color: rgba(244, 239, 228, 0.6);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* ---- Verify Card ---- */
.verify-card {
  max-width: 600px;
  margin: 0 auto 4rem;
  background: rgba(11, 31, 58, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 169, 107, 0.2);
  border-radius: 8px;
  padding: 2.5rem;
}

/* ---- Verify Form ---- */
.verify-form {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.form-group input {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.1rem;
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--ivory);
  background: rgba(244, 239, 228, 0.05);
  border: 1px solid rgba(200, 169, 107, 0.3);
  border-radius: 4px;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.form-group input::placeholder {
  color: rgba(244, 239, 228, 0.3);
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(244, 239, 228, 0.08);
}

.form-hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(244, 239, 228, 0.4);
  font-style: italic;
}

.verify-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.verify-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

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

/* ---- Verify Result ---- */
.verify-result {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 169, 107, 0.2);
}

.result-loading {
  text-align: center;
  color: var(--gold);
  padding: 2rem 0;
}

.result-success {
  padding: 1.5rem;
  background: rgba(34, 139, 34, 0.15);
  border: 1px solid rgba(34, 139, 34, 0.3);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.result-success h3 {
  color: #4CAF50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.result-success p {
  color: rgba(244, 239, 228, 0.8);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.result-error {
  padding: 1.5rem;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 4px;
  text-align: center;
}

.result-error p {
  color: rgba(244, 239, 228, 0.8);
  margin: 0;
}

/* ---- Certificate Types ---- */
.cert-types {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cert-types h3 {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.cert-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.cert-type-card {
  background: rgba(244, 239, 228, 0.05);
  border: 1px solid rgba(200, 169, 107, 0.2);
  border-radius: 4px;
  padding: 1.5rem 1rem;
  transition: all var(--transition);
}

.cert-type-card:hover {
  border-color: var(--gold);
  background: rgba(244, 239, 228, 0.08);
}

.cert-prefix {
  display: block;
  color: var(--gold);
  font-size: 1.3rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.cert-name {
  display: block;
  color: rgba(244, 239, 228, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .verify-section {
    padding: 100px 0 60px;
  }

  .verify-header h1 {
    font-size: 2rem;
  }

  .verify-card {
    padding: 2rem 1.5rem;
  }

  .cert-type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .verify-header h1 {
    font-size: 1.6rem;
  }

  .verify-subtitle {
    font-size: 0.95rem;
  }

  .verify-card {
    padding: 1.5rem 1rem;
  }

  .cert-type-grid {
    grid-template-columns: 1fr;
  }
}
