.tas-certificate-wrap {
    padding: 2em;
    font-family: sans-serif;
}

.tas-certificate-wrap h1,
.tas-certificate-wrap h2 {
    font-weight: bold;
    margin-bottom: 1em;
}

.tas-certificate-grid {
    display: grid;
    grid-template-columns: max-content auto 1fr;
    gap: 10px;
    margin-bottom: 1.5em;
}

.tas-certificate-grid .label {
    font-weight: bold;
}

.tas-certificate-download {
    text-align: center;
    margin-top: 2em;
}

.tas-download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.tas-download-button:hover {
    background-color: #005a87;
}

.tas-download-button .dashicons {
    font-size: 20px;
    height: 20px;
    width: 20px;
    color: inherit; /* Make icon color same as button text */
}

.tas-download-button[disabled] {
    background-color: #005a87;
    cursor: not-allowed;
}

.tas-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
