#a1-pdf-email-widget {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background: #f8fafc;
    max-width: 480px;
}

.a1-pdf-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.a1-pdf-row:last-of-type {
    margin-bottom: 0;
}

.a1-pdf-send-row {
    flex-wrap: nowrap;
}

.a1-pdf-email-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #c0c7ce;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    color: #2c2c2c;
    background: #fff;
    min-width: 0;
    transition: border-color 0.2s;
}

.a1-pdf-email-input:focus {
    outline: none;
    border-color: #1a5276;
    box-shadow: 0 0 0 2px rgba(26, 82, 118, 0.15);
}

.a1-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    white-space: nowrap;
    line-height: 1.4;
}

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

.a1-pdf-btn--primary {
    background-color: #1a5276;
    color: #fff;
}

.a1-pdf-btn--primary:hover:not(:disabled) {
    background-color: #154360;
}

.a1-pdf-btn--secondary {
    background-color: #fff;
    color: #1a5276;
    border: 1px solid #1a5276;
    width: 100%;
    justify-content: center;
}

.a1-pdf-btn--secondary:hover:not(:disabled) {
    background-color: #eaf2f8;
}

.a1-pdf-btn-icon {
    font-size: 16px;
    line-height: 1;
}

.a1-pdf-message {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
}

.a1-pdf-message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.a1-pdf-message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
