/* Certificate Section Styles */
.nailda-certificate-section {
    position: relative;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    padding: 4.25rem 2rem 4.25rem;
    background: #fff;
    box-shadow: 5px 5px 20px 0px rgba(0, 0, 0, 0.25);
}
.nailda-certificate-section,
.nailda-certificate-section .certificate-header,
.nailda-certificate-section .certificate-actions {
    width: 100%;
}
.nailda-certificate-section .certificate-header h3,
.nailda-certificate-section .certificate-header p {
    font-optical-sizing: auto;

}
.nailda-certificate-section .certificate-header h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Zuume', sans-serif;
    font-size: 55px;
    line-height: 90%;
    font-weight: 700;
    color: #d41B7e !important;
    text-transform: uppercase;
    text-align: center;
    word-break: break-word;
}
.nailda-certificate-section .certificate-header p {
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 21px;
    line-height: 135%;
    color: #000f24;
    text-align: center;
}
.nailda-certificate-section hr {
    position: relative;
    width: 100%;
    top: -9px;
    height: 6px;
    margin: 0;
    background: #000f24;
    border: 0;
    overflow: visible;
}
.nailda-certificate-section hr:before,
.nailda-certificate-section hr:after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2rem;
    height: 100%;
    background: #000f24;
    z-index: 2;
    content: ' ';
}
.nailda-certificate-section hr:before {
    left: -2rem;
}
.nailda-certificate-section hr:after {
    right: -2rem;
}
.nailda-certificate-section .certificate-actions {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.nailda-certificate-section .certificate-actions .certificate-btn {
    position: relative;
    display: block;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 1.69rem 1rem;
    background: #d41b7e;
    font-family: 'Zuume', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 80%;
    text-align: center;
    text-transform: uppercase;
    border-radius: 30px;
    z-index: 1;
    text-decoration: none;
    white-space: normal;
    transition: all 0.3s ease;
}
.nailda-certificate-section .certificate-actions .certificate-btn:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    clip-path: polygon(0% 0%, 30% 0%, 0% 30%);
    border-radius: inherit;
    content: ' ';
}
.nailda-certificate-section .certificate-actions .certificate-btn,
.nailda-certificate-section .certificate-actions .certificate-btn.certificate-btn--download,
.nailda-certificate-section .certificate-actions .certificate-btn.certificate-btn--email {
    color: #fff;
}
.nailda-certificate-section .certificate-actions .certificate-btn.certificate-btn--email {
    background: #7bcdc9;
    border: 1px solid #7bcdc9;
}
.nailda-certificate-section .certificate-actions .certificate-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.nailda-certificate-section .certificate-actions .certificate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.nailda-certificate-section .certificate-status {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    min-height: 30px;
}
.nailda-certificate-section .certificate-status .success {
    color: #28a745;
    font-weight: 600;
    background: #d4edda;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}
.nailda-certificate-section .certificate-status .error {
    color: #dc3545;
    font-weight: 600;
    background: #f8d7da;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}
.nailda-certificate-section .nailda-certificate-error,
.nailda-certificate-section .nailda-certificate-incomplete {
    text-align: center;
    padding: 2rem;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    margin: 2rem 0;
}