.elementor-6681 .elementor-element.elementor-element-933dd65{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-ce501b2 */.certificate-card{
        display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/* Modal overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}
/* Modal container */
.modal-overlay .container {
    background: #fff;
    border-radius: 14px;
    max-width: 600px;
    width: 90%;
    padding: 18px 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.3s ease;
    position: relative;
    font-family: "Segoe UI", sans-serif;
}
/* Close button (top-right only) */
.certificate-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    transition: background 0.25s;
}
.certificate-close:hover {
    background: #dc2626;
}
/* Header */
.modal-overlay .header {
    text-align: center;
    margin-bottom: 12px;
}
.modal-overlay .header h1 {
    font-size: 22px;
    margin: 0;
    color: #1d4ed8;
}
.modal-overlay .header p {
    margin: 4px 0;
    color: #374151;
    font-size: 13px;
}
.header-icon {
    font-size: 28px;
    color: #2563eb;
    margin-top: 6px;
}
/* Verification banner (inline icon + text) */
.verification-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #22c55e;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}
/* Details grid */
.details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}
.detail-box {
    background: #f9fafb;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    border: 1px solid #e5e7eb;
}
.detail-box h3 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}
.detail-box p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}
/* Congrats */
.congrats-message {
    text-align: center;
    margin-bottom: 8px;
}
.congrats-message h2 {
    font-size: 18px;
    color: #16a34a;
    margin: 0 0 6px;
}
.congrats-message p {
    margin: 2px 0;
    font-size: 13px;
    color: #374151;
}
@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}/* End custom CSS */