/* Certificate Page Styles - Reset and Base */
.certificate-page {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding: 20px;
  margin: 0;
  box-sizing: border-box;
}

.certificate-page * {
  box-sizing: border-box;
}

.certificate-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
}

/* Certificate Paper */
.certificate-paper {
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  border: 2px solid #e0e0e0;
  padding: 50px 60px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 900px;
}

.certificate-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
  width: 100%;
}

.certificate-logo {
  font-size: 36px;
  font-weight: 700;
  color: #9fc608;
  margin: 0;
  padding: 0;
}

.logo-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 3px;
  display: block;
}

.certificate-info {
  text-align: right;
  font-size: 10px;
  color: #666;
  line-height: 1.8;
  max-width: 60%;
}

.info-row {
  margin-bottom: 6px;
  word-break: break-word;
}

.info-row strong {
  color: #1c1d1f;
  font-weight: 600;
  display: inline-block;
}

/* Certificate Image */
.certificate-image-container {
  width: 100%;
  margin: 30px 0;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.certificate-footer {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 2px solid #e0e0e0;
  font-size: 10px;
  color: #6a6f73;
  line-height: 1.8;
  text-align: justify;
  width: 100%;
}

.certificate-footer p {
  margin: 0;
  padding: 0;
}

.certificate-footer strong {
  color: #1c1d1f;
  font-weight: 600;
}


/* Responsive Design */
@media (max-width: 968px) {
  .certificate-paper {
    padding: 35px 30px;
  }
}

@media (max-width: 600px) {
  .certificate-page {
    padding: 15px 10px;
  }
  
  .certificate-paper {
    padding: 25px 15px;
  }
  
  .certificate-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .certificate-logo {
    font-size: 28px;
  }
  
  .certificate-info {
    text-align: left;
    max-width: 100%;
    font-size: 9px;
  }
  
  .certificate-image-container {
    margin: 20px 0;
  }
  
  .certificate-footer {
    font-size: 8px;
    margin-top: 30px;
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  .certificate-page {
    padding: 10px 5px;
  }
  
  .certificate-paper {
    padding: 20px 12px;
  }
  
  .certificate-logo {
    font-size: 24px;
  }
  
  .certificate-info {
    font-size: 8px;
  }
  
  .certificate-footer {
    font-size: 7px;
  }
}

