.certification-wrapper{
	 overflow-x: auto;
    overflow-y: hidden;
}
.certificate-container{
width:800px;
margin: 10px auto;
}

.header {
    margin-bottom: 20px;
}

.title {
    font-size: 38px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.issuer {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
}

.subtitle {
    margin: 30px 0 10px;
    font-size: 18px;
}

.recipient {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0 20px;
}

.program {
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0 20px;
}

.content {
    font-size: 16px;
    line-height: 1.7;
    margin: 10px 0;
}

.details {
    margin-top: 30px;
    font-size: 14px;
}

.signatures {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.signature-block {
    width: 40%;
    text-align: center;
}

.line {
    border-top: 1px solid #000;
    margin-bottom: 5px;
}


.certificate-verification {
    text-align: center;
	margin-top: 20px;
    margin-bottom: 20px;
  
}

.certificate-verification .badge {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #2e7d32;
    color: #2e7d32;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(46, 125, 50, 0.05);
}

.certificate-verification .verify-meta {
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

/*
.certificate-border {
  position: relative;
  border: 0.5px solid #e2e2e2;
  background: #fff;
  overflow: hidden;
	background-color: #fdfaf3;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.1));
  text-align:center;
  padding:20px;
}*/
.certificate-border {
  position: relative;

  /* softer, aged border */
  border: 1px solid #d6c7a1;

  /* warm paper tone */
  background: #f8f1df;

  overflow: hidden;
  text-align: center;
  padding: 20px;

  /* subtle depth instead of sharp shadow */
  box-shadow: 0 2px 8px rgba(60, 40, 10, 0.08);

  /* very light tonal variation */
  background-image: 
    radial-gradient(rgba(120, 90, 40, 0.05) 1px, transparent 1px);
  background-size: 4px 4px;
}
.certificate-border::before {
    content: "";
    position: absolute;
    inset: 0px;    
}
.certificate-border > * {
    position: relative;
    z-index: 1;
}
.signature-block:first-child {
    position: relative;
}
.divider.fancy {
  position: relative;
  width: 300px;
  height: 1px;
  margin: 18px auto;
  background: linear-gradient(to right, transparent, #b8a67a, transparent);
}

.divider.fancy::before {
  content: "✤"; /* best fit for your theme */
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  
  font-size: 14px;
  color: #a08b5b;

  background: #f8f1df; /* match your certificate bg */
  padding: 0 10px;
}
.certificate-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* Owner → 3 buttons spread nicely */
.certificate-actions.is-owner {
    justify-content: center;
}

/* Public → only 1 button → center it */
.certificate-actions.is-public {
    justify-content: center;
}

/* Button styling (keep consistent with your certificate theme) */
.btn {
    padding: 10px 18px;
    border: 1px solid #8c7a4f;
    background: transparent;
    color: #5a4a2f;
    font-family: serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background: #e8dcc0;
}
.portfolio-link-section {
    margin-top: 40px;
	margin-bottom: 140px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #d6c7a1;
}

.portfolio-label {
    font-size: 13px;
    color: #7a6a4a;
    margin-bottom: 8px;
    font-style: italic;
}

.portfolio-link {
    font-size: 15px;
    color: #5a4a2f;
    text-decoration: none;
    border-bottom: 1px solid #b8a67a;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.portfolio-link:hover {
    color: #3e331f;
    border-color: #8c7a4f;
}
/*Verify certificate*/
.certificate-verify-wrapper {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    background: #f7f3ec;
    min-height: 100vh;
    box-sizing: border-box;
}

.verify-card {
    width: 100%;
    max-width: 650px;
    background: #fffdf9;
    border: 1px solid #e2d8c8;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.04);
}

.verify-title {
    font-size: 42px;
    margin-bottom: 14px;
    text-align: center;
    color: #2f2419;
    font-family: Georgia, serif;
    font-weight: 600;
}

.verify-description {
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: #6b5f53;
    margin-bottom: 38px;
}

.verify-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 14px;
    align-items: stretch;
}

.certificate-input {
    flex: 1;
    min-width: 0;
    height: 58px;
    border: 1px solid #d8d8d8;
    border-radius: 14px;
    padding: 0 20px;
    font-size: 16px;
    background: #ffffff;
    color: #2f2419;
    outline: none;
    transition: all 0.2s ease;
}

.certificate-input:focus {
    border-color: #f4c542;
    box-shadow: 0 0 0 4px rgba(244, 197, 66, 0.18);
}

.certificate-input::placeholder {
    color: #9a9389;
    letter-spacing: 0.8px;
}


.verify-btn {
    height: 58px;
    padding: 0 32px;
    border: none;
    border-radius: 14px;
    background: #f4c542;
    color: #2f2419;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.verify-btn:hover {
    background: #e6b730;
    transform: translateY(-1px);
}

/* MOBILE */

@media (max-width: 640px) {

    .input-group {
        flex-direction: column;
    }

    .certificate-input {
        width: 100%;
    }

    .verify-btn {
        width: 100%;
    }

}

.certificate-result {
    margin-top: 32px;
}

/* RESULT CARD */

.certificate-result-card {
    border-top: 1px solid #e2d8c8;
    padding-top: 28px;
}

.result-status {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.result-status.valid {
    color: #2d6a4f;
}

.result-status.invalid {
    color: #b42318;
}

.result-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.result-label {
    color: #6b5f53;
}

.result-value {
    font-weight: 600;
    color: #2f2419;
    text-align: right;
}
.certificate-error {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 244, 244, 0.75);
    border: 1px solid #e7c7c7;
    color: #8a3b3b;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
    backdrop-filter: blur(2px);
}