/* Satyam Institute - DigiLocker Results Custom CSS */

:root {
  --digi-blue: #1d4ed8;
  --digi-dark-purple: #1a1625;
  --digi-cyan: #1696A6;
  --digi-green-border: #4d8c56;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #ffffff;
  color: #1f2937;
}

/* Header & Top Bar */
.top-header-bar {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f6f2fd 0%, #f0e9fa 50%, #e8ddf7 100%);
  border-bottom: 1px solid #e9d5ff;
}

.hero-title {
  color: var(--digi-cyan);
  font-weight: 700;
}

.btn-digi-pill {
  background-color: #1d4ed8;
  color: #ffffff;
  border-radius: 50rem;
  padding: 0.5rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  transition: all 0.2s ease;
}

.btn-digi-pill:hover {
  background-color: #1e40af;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Key Features Section */
.key-features-section {
  background-color: var(--digi-dark-purple);
  color: #ffffff;
}

.feature-card {
  background: rgba(38, 31, 54, 0.85);
  border: 1px solid #392f4e;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: #6b5a8e;
}

.feature-num {
  font-family: monospace;
  font-size: 1.5rem;
  color: #9ca3af;
  font-weight: 300;
  display: block;
  margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
  background-color: #eff4f9;
}

.faq-item {
  border-bottom: 1px solid #cbd5e1;
  padding: 1rem 0;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: #1d4ed8;
}

/* Support Banner */
.support-banner {
  background: linear-gradient(90deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
}

/* -------------------------------------------------------------
   DIGILOCKER MARKSHEET CERTIFICATE FORMAT (Matching Screenshot)
   ------------------------------------------------------------- */
/* -------------------------------------------------------------
   DIGILOCKER MARKSHEET CERTIFICATE FORMAT (Exact Screenshot Matching)
   ------------------------------------------------------------- */
.certificate-container {
  max-width: 820px;
  margin: 1.5rem auto;
  background: #ffffff;
  padding: 12px;
}

.certificate-border-frame {
  border: 4px double #549a40;
  padding: 1.5rem 1.8rem;
  background: #ffffff;
  position: relative;
}

.cert-header {
  text-align: center;
  position: relative;
  margin-bottom: 1.2rem;
}

.cert-photo-box {
  position: absolute;
  right: 0;
  top: 50px;
  width: 95px;
  height: 115px;
  border: 1px solid #333333;
  background-color: #e5e7eb;
  overflow: hidden;
}

.cert-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-emblem {
  width: 75px;
  height: 75px;
  margin: 0 auto 0.5rem auto;
}

.cert-org-hi {
  color: #1e3a8a;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
}

.cert-org-en {
  color: #1e3a8a;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.cert-title-hi {
  color: #2563eb;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.cert-title-en {
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.cert-subtitle-hi {
  color: #1e3a8a;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.cert-subtitle-en {
  color: #1e3a8a;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

/* Student Details Grid */
.cert-student-info {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #000000;
  margin-bottom: 1rem;
}

.cert-student-info .info-row {
  margin-bottom: 4px;
}

.cert-label-hi {
  font-weight: 700;
  color: #000000;
}

.cert-label-en {
  font-weight: 700;
  color: #000000;
}

.cert-value {
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  margin-left: 10px;
}

/* Marks Table */
.cert-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
}

.cert-table th {
  background-color: #d9d9d9;
  border: 1px solid #777777;
  padding: 5px 6px;
  text-align: center;
  font-weight: 700;
  color: #000000;
  line-height: 1.25;
  font-size: 0.78rem;
}

.cert-table td {
  border: 1px solid #777777;
  padding: 4px 8px;
  color: #000000;
  font-weight: 500;
  height: 24px;
  vertical-align: middle;
}

.cert-table tr.result-row td {
  background-color: #d9d9d9;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 6px 10px;
  border: 1px solid #777777;
  color: #000000;
}

/* Footer Verification Section */
.cert-footer-verification {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.2rem;
}

.qr-code-box {
  width: 90px;
  height: 90px;
  border: 1px solid #888888;
  padding: 2px;
  background: #ffffff;
}

.digilocker-badge-box {
  background: #5b41e4;
  color: white;
  padding: 8px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(91, 65, 228, 0.35);
  margin-top: 15px;
}

.digital-signature-box {
  border: 1px solid #888888;
  padding: 8px 12px;
  border-radius: 2px;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #111111;
  position: relative;
  background: #ffffff;
  min-width: 250px;
}

.digital-signature-box .check-mark-icon {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 26px;
  height: 26px;
}

/* Notes Box */
.cert-notes-box {
  border: 1px solid #888888;
  margin-top: 1rem;
  padding: 10px 14px;
  font-size: 0.74rem;
  color: #111111;
  line-height: 1.5;
  background: #ffffff;
}

.cert-notes-box ol {
  margin: 0;
  padding-left: 1.5rem;
}

.cert-notes-box li {
  margin-bottom: 2px;
}

.legend-grid {
  width: 100%;
  margin-top: 4px;
  font-size: 0.72rem;
  color: #111111;
}

.legend-grid td {
  padding: 2px 4px;
  border: none;
  vertical-align: top;
}

/* Print Styling */
@media print {
  body {
    background: white;
  }
  .no-print {
    display: none !important;
  }
  .certificate-container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .certificate-border-frame {
    border: 3px double #529c42 !important;
  }
}
