/**
 * Settings page styles for signwpdf PDF Sign & Fill
 *
 * @package SignWPDF
 * @since   1.1.0
 */

.psf-settings-wrap { max-width: 960px; margin: 30px 20px 30px 2px; }
.psf-settings-wrap h1 { font-size: 28px; font-weight: 400; margin: 0 0 30px 0; }
.psf-section { background: #fff; border: 1px solid #dcdcde; border-radius: 8px; margin-bottom: 40px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.psf-section-header { padding: 24px 28px; border-bottom: 1px solid #e5e7eb; background: #f9fafb; }
.psf-section-header h2 { margin: 0 0 8px 0; padding: 0; font-size: 18px; font-weight: 600; color: #1e1e1e; }
.psf-section-header p { margin: 0; font-size: 14px; color: #646970; line-height: 1.6; }
.psf-section-body { padding: 28px; }
.psf-field-row { display: flex; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid #f0f0f1; gap: 20px; }
.psf-field-row:last-child { border-bottom: none; padding-bottom: 0; }
.psf-field-row:first-child { padding-top: 0; }
.psf-field-label { width: 220px; min-width: 220px; flex-shrink: 0; font-weight: 500; font-size: 14px; color: #1e1e1e; padding-top: 10px; line-height: 1.5; }
.psf-field-input { flex: 1; min-width: 0; }
.psf-field-input input[type="text"],
.psf-field-input input[type="email"],
.psf-field-input input[type="url"],
.psf-field-input input[type="number"] { width: 100%; max-width: 420px; padding: 10px 14px; font-size: 14px; border: 1px solid #8c8f94; border-radius: 4px; box-sizing: border-box; }
.psf-field-input textarea { width: 100%; max-width: 100%; min-height: 120px; padding: 10px 14px; font-size: 14px; line-height: 1.6; border: 1px solid #8c8f94; border-radius: 4px; box-sizing: border-box; }
.psf-field-input .description { margin-top: 10px; font-size: 13px; color: #646970; line-height: 1.6; }
.psf-checkbox-group label { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 14px; line-height: 1.5; }
.psf-checkbox-group label:last-child { margin-bottom: 0; }
.psf-checkbox-group input[type="checkbox"] { width: 18px; height: 18px; margin: 0; }
.psf-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; background: #f8fafc; border-bottom: 1px solid #e5e7eb; }
.psf-toggle-row label { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 15px; cursor: pointer; }
.psf-toggle-row input[type="checkbox"] { width: 18px; height: 18px; margin: 0; }
.psf-toggle-row .psf-toggle-desc { font-size: 13px; color: #646970; font-weight: 400; }
.psf-collapsible { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.psf-collapsible.is-open { max-height: 3000px; }
.psf-collapsible-trigger { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; background: #fff; border: none; border-bottom: 1px solid #e5e7eb; width: 100%; text-align: left; cursor: pointer; font-size: 15px; font-weight: 500; color: #2271b1; }
.psf-collapsible-trigger:hover { background: #f0f6fc; }
.psf-variables-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.psf-variables-list code { background: #f0f0f1; padding: 8px 14px; border-radius: 4px; font-size: 13px; cursor: pointer; }
.psf-save-bar { position: sticky; bottom: 0; background: #fff; border: 1px solid #dcdcde; border-radius: 8px; padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 -4px 12px rgba(0,0,0,0.08); z-index: 10; margin-top: 10px; }
.psf-save-bar .button-primary { padding: 10px 32px; height: auto; font-size: 14px; }
.psf-notice { padding: 16px 20px; border-radius: 6px; margin-bottom: 28px; display: flex; align-items: center; gap: 14px; font-size: 14px; }
.psf-notice-success { background: #edfcf2; border: 1px solid #b8e6c8; color: #0a5c36; }
.psf-inline-fields { display: flex; gap: 16px; align-items: center; }
.psf-inline-fields input[type="number"] { width: 90px; }
