/* Iconic Copy Text Blocks — Admin Styles */

.ictb-wrap { margin:0 !important; padding:0 !important; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; }

.ictb-page-header { background:#fff; border-bottom:1px solid #e5e7eb; box-shadow:0 1px 4px rgba(0,0,0,.06); margin-left:-20px; padding:0 20px; }
.ictb-page-header-inner { display:flex; align-items:center; justify-content:space-between; padding:16px 0 0; flex-wrap:wrap; gap:12px; }
.ictb-brand { display:flex; align-items:center; gap:12px; }
.ictb-brand-name { font-size:20px !important; font-weight:700 !important; margin:0 !important; padding:0 !important; border:none !important; color:#111827 !important; line-height:1.2 !important; }
.ictb-brand-version { font-size:12px; color:#9ca3af; }
.ictb-brand-version a { color:#3b82f6; text-decoration:none; }

.ictb-nav { display:flex; gap:4px; margin-top:12px; }
.ictb-nav-link { display:inline-flex; align-items:center; gap:6px; padding:10px 18px; font-size:14px; font-weight:500; color:#6b7280 !important; text-decoration:none !important; border-bottom:3px solid transparent; transition:color .15s,border-color .15s; }
.ictb-nav-link .dashicons { font-size:16px; width:16px; height:16px; }
.ictb-nav-link:hover { color:#3b82f6 !important; border-bottom-color:#93c5fd; }
.ictb-nav-link.active { color:#3b82f6 !important; border-bottom-color:#3b82f6; font-weight:600; }

.ictb-kofi-btn { display:inline-flex; align-items:center; gap:6px; background:#ff5e5b; color:#fff !important; text-decoration:none !important; border-radius:8px; padding:9px 18px; font-size:13px; font-weight:700; transition:background .2s,transform .1s; white-space:nowrap; }
.ictb-kofi-btn:hover { background:#e04e4b; transform:translateY(-1px); }

.ictb-page-body { max-width:1100px; margin:24px auto; padding:0 4px; }
.ictb-page-desc { color:#6b7280; font-size:14px; margin-bottom:24px; }

.ictb-settings-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:24px; margin-bottom:28px; }

.ictb-card { background:#fff; border:1px solid #e5e7eb; border-radius:12px; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,.05); }
.iictb-preview-card { grid-column:1 / -1; }
.ictb-card-header { display:flex; align-items:center; gap:10px; padding:14px 20px; background:#f9fafb; border-bottom:1px solid #e5e7eb; }
.ictb-card-header .dashicons { color:#3b82f6; font-size:18px; width:18px; height:18px; }
.ictb-card-header h2 { font-size:14px; font-weight:600; color:#111827; margin:0; padding:0; border:none; }
.ictb-card-body { padding:20px; display:flex; flex-direction:column; gap:16px; }

.ictb-field { display:flex; flex-direction:column; gap:6px; }
.ictb-field label { font-size:13px; font-weight:600; color:#374151; }
.ictb-color-row { display:flex; align-items:center; gap:10px; }
.ictb-color { width:44px; height:36px; border:1px solid #d1d5db; border-radius:8px; padding:2px; cursor:pointer; background:none; }
.ictb-color-text { flex:1; height:36px; border:1px solid #d1d5db; border-radius:8px; padding:0 12px; font-size:13px; font-family:monospace; color:#374151; }
.ictb-color-text:focus { outline:none; border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,.15); }
.ictb-range-row { display:flex; align-items:center; gap:12px; }
.ictb-range { flex:1; accent-color:#3b82f6; cursor:pointer; }
.ictb-range-val { min-width:44px; font-size:13px; font-weight:600; color:#3b82f6; text-align:right; }
.ictb-text-input { height:38px; border:1px solid #d1d5db; border-radius:8px; padding:0 12px; font-size:14px; color:#374151; }
.ictb-text-input:focus { outline:none; border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,.15); }
.ictb-select { height:38px; border:1px solid #d1d5db; border-radius:8px; padding:0 12px; font-size:14px; color:#374151; background:#fff; cursor:pointer; }
.ictb-select:focus { outline:none; border-color:#3b82f6; }

.ictb-field-toggle { flex-direction:row; align-items:center; justify-content:space-between; }
.ictb-toggle { position:relative; display:inline-block; width:46px; height:26px; }
.ictb-toggle input { opacity:0; width:0; height:0; }
.ictb-toggle-slider { position:absolute; inset:0; background:#d1d5db; border-radius:999px; cursor:pointer; transition:background .2s; }
.ictb-toggle-slider::before { content:''; position:absolute; width:20px; height:20px; left:3px; top:3px; background:#fff; border-radius:50%; transition:transform .2s; box-shadow:0 1px 3px rgba(0,0,0,.2); }
.ictb-toggle input:checked + .ictb-toggle-slider { background:#3b82f6; }
.ictb-toggle input:checked + .ictb-toggle-slider::before { transform:translateX(20px); }

.ictb-footer { display:flex; align-items:center; gap:16px; padding:20px 0; border-top:1px solid #e5e7eb; flex-wrap:wrap; }
.ictb-save-btn { display:inline-flex; align-items:center; gap:8px; background:#3b82f6; color:#fff; border:none; border-radius:8px; padding:12px 28px; font-size:15px; font-weight:600; cursor:pointer; transition:background .2s; }
.ictb-save-btn:hover { background:#2563eb; }
.ictb-save-btn .dashicons { font-size:18px; width:18px; height:18px; line-height:1; }
.ictb-reset-link { font-size:13px; color:#6b7280; text-decoration:underline; cursor:pointer; }
.ictb-reset-link:hover { color:#ef4444; }

.ictb-howto-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; margin-bottom:32px; }
.ictb-howto-card { background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:28px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); position:relative; }
.ictb-howto-tip { background:linear-gradient(135deg,#eff6ff 0%,#f0fdf4 100%); border-color:#93c5fd; }
.ictb-howto-step { position:absolute; top:20px; right:20px; width:28px; height:28px; background:#3b82f6; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; }
.ictb-howto-icon { font-size:32px; margin-bottom:12px; line-height:1; }
.ictb-howto-card h3 { font-size:15px; font-weight:700; color:#111827; margin:0 0 8px; }
.ictb-howto-card p { font-size:13px; color:#6b7280; line-height:1.6; margin:0 0 12px; }
.ictb-howto-btn { display:inline-block; background:#3b82f6; color:#fff !important; text-decoration:none !important; border-radius:6px; padding:8px 16px; font-size:13px; font-weight:600; transition:background .2s; }
.ictb-howto-btn:hover { background:#2563eb; }

.ictb-wrap .notice { margin:16px 0; }
