.azycert-widget {
    max-width: 560px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.azycert-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.azycert-field {
    margin-bottom: 18px;
}

.azycert-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #0d3b56;
    margin-bottom: 6px;
}

.azycert-field input {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
}

.azycert-field input:focus {
    outline: none;
    border-color: #e07a29;
    box-shadow: 0 0 0 3px rgba(224,122,41,0.15);
}

.azycert-btn {
    width: 100%;
    padding: 12px 20px;
    background: #e07a29;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.azycert-btn:hover {
    background: #c9691f;
}

.azycert-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#azycert-result {
    margin-top: 24px;
}

.azycert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.azycert-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    animation: azycert-fade 0.3s ease;
}

@keyframes azycert-fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.azycert-card img {
    width: 100%;
    display: block;
    border-bottom: 1px solid #eee;
}

.azycert-card-body {
    padding: 22px 24px;
}

.azycert-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 700;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.azycert-status.revoked {
    background: #fef2f2;
    color: #b91c1c;
}

.azycert-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
}

.azycert-row:last-child {
    border-bottom: none;
}

.azycert-row-label {
    color: #6b7280;
    font-weight: 500;
}

.azycert-row-value {
    color: #111827;
    font-weight: 600;
    text-align: right;
}

.azycert-name {
    font-size: 20px;
    font-weight: 700;
    color: #0d3b56;
    margin: 0 0 4px 0;
}

.azycert-program {
    color: #e07a29;
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 16px 0;
}
