/*
 * OTPS / Gildata Redesign
 * Based on the supplied Gildata/Torob design system, adapted to OTPS.
 * Loaded last so it becomes the single visual layer without changing PHP markup.
 */

:root{
  --otps-gdx-red:#d91525;
  --otps-gdx-red-dark:#ad0f1b;
  --otps-gdx-red-soft:#fff1f2;
  --otps-gdx-red-border:#fecdd3;
  --otps-gdx-ink:#16181d;
  --otps-gdx-muted:#6b7280;
  --otps-gdx-line:#e5e7eb;
  --otps-gdx-bg:#f5f6f8;
  --otps-gdx-panel:#ffffff;
  --otps-gdx-success:#15803d;
  --otps-gdx-success-soft:#ecfdf3;
  --otps-gdx-warning:#b45309;
  --otps-gdx-warning-soft:#fff7ed;
  --otps-gdx-shadow:0 8px 28px rgba(16,24,40,.06);
  --otps-gdx-shadow-lg:0 18px 55px rgba(16,24,40,.08);
  --otps-gdx-radius:16px;
}

body.otps-pro-admin{
  --wp-admin-theme-color:var(--otps-gdx-red);
  --wp-admin-theme-color--rgb:217,21,37;
  background:var(--otps-gdx-bg)!important;
}
body.otps-pro-admin #wpcontent{padding-left:20px}
body.otps-pro-admin #wpbody-content{padding-bottom:35px}
body.otps-pro-admin .notice{border-radius:12px!important;border:1px solid var(--otps-gdx-line)!important;box-shadow:none!important}
body.otps-pro-admin .update-nag{display:none}

.otps-admin-wrap,.otps-studio-license-wrap{
  direction:rtl;text-align:right;width:calc(100% - 40px)!important;max-width:1600px!important;
  color:var(--otps-gdx-ink);font-family:inherit;margin:20px auto!important
}
.otps-admin-wrap *,.otps-studio-license-wrap *{box-sizing:border-box}
.otps-admin-wrap code,.otps-admin-wrap pre,.otps-studio-license-wrap code,.otps-studio-license-wrap pre{
  direction:ltr;unicode-bidi:embed
}
.otps-shell{
  width:100%;background:var(--otps-gdx-bg)!important;border:1px solid #dfe3e8;
  border-radius:18px!important;padding:18px!important;box-shadow:var(--otps-gdx-shadow-lg);overflow:hidden
}
.otps-hero{
  display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px 4px 18px!important;
  border-bottom:1px solid #e1e4e8!important;margin-bottom:16px!important
}
.otps-brand-mark{
  width:54px!important;height:54px!important;border-radius:14px!important;background:var(--otps-gdx-red)!important;
  color:#fff!important;display:grid;place-items:center;font-size:22px;font-weight:900;
  box-shadow:0 10px 24px rgba(217,21,37,.22)!important;order:-1
}
.otps-hero-copy{flex:1;min-width:0}
.otps-kicker{
  display:inline-flex!important;align-items:center;gap:6px;font-size:10px!important;font-weight:900!important;
  letter-spacing:1px;color:#fff!important;background:var(--otps-gdx-red)!important;padding:6px 9px!important;border-radius:7px!important
}
.otps-hero h1{font-size:28px!important;font-weight:950!important;letter-spacing:-.5px;color:#111827!important;margin:9px 0 5px!important}
.otps-hero p{margin:0;color:var(--otps-gdx-muted);font-size:13px;line-height:1.8}
.otps-version{
  padding:7px 10px;border:1px solid var(--otps-gdx-red-border);background:var(--otps-gdx-red-soft);
  color:var(--otps-gdx-red-dark);border-radius:8px;font-size:10px;font-weight:900;white-space:nowrap
}

/* Brand bar */
.otps-gildata-brandbar{
  direction:rtl;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 20px 10px;
  padding:10px 12px;border:1px solid var(--otps-gdx-line);border-radius:13px;background:#fff;
  box-shadow:0 4px 16px rgba(16,24,40,.035)
}
.otps-gildata-brandcopy{display:flex;align-items:center;gap:9px;min-width:210px}
.otps-gildata-logo{
  width:34px;height:34px;border-radius:9px;background:var(--otps-gdx-red);color:#fff;display:grid;place-items:center;font-weight:950
}
.otps-gildata-brandcopy strong{display:block;font-size:11px;color:#24272d}
.otps-gildata-brandcopy small{display:block;font-size:9px;color:#89919b;margin-top:2px}
.otps-gildata-contact-actions,.otps-gildata-quicklinks{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.otps-gildata-contact-actions{margin-right:auto}
.otps-gildata-brandbar a{
  display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid #e7eaed;border-radius:8px;
  background:#fff;color:#4e5661;text-decoration:none;font-size:9px;font-weight:900
}
.otps-gildata-brandbar a:hover{border-color:#ef9aa2;background:#fff7f8;color:var(--otps-gdx-red-dark)}
.otps-gildata-brandbar .is-whatsapp{color:#15803d}
.otps-gildata-brandbar .is-telegram{color:#2563eb}

/* Quick access */
.otps-top-quick-access{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:16px
}
.otps-top-quick-access a{
  display:flex;align-items:center;gap:9px;min-width:0;padding:10px 11px;border:1px solid var(--otps-gdx-line);
  border-radius:12px;background:#fff;color:#3f4650;text-decoration:none;transition:.16s ease
}
.otps-top-quick-access a:hover,.otps-top-quick-access a.is-current{
  border-color:#ef9aa2;background:#fff7f8;color:var(--otps-gdx-red-dark);transform:translateY(-1px)
}
.otps-top-quick-access .dashicons{
  width:30px;height:30px;border-radius:9px;background:#f7f8fa;color:var(--otps-gdx-red);
  display:grid;place-items:center;font-size:16px;flex:0 0 auto
}
.otps-top-quick-access b{font-size:10px;display:block}
.otps-top-quick-access small{display:block;color:#8b929c;font-size:8px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Settings tabs */
.otps-tabs.otps-control-tabs{
  display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;padding:7px!important;
  margin:0 0 16px!important;border:1px solid #e4e7eb!important;border-radius:13px!important;background:#fafafa!important
}
.otps-tab{
  min-height:56px!important;border:0!important;border-radius:10px!important;background:transparent!important;
  color:#8b929c!important;display:flex!important;align-items:center!important;gap:8px!important;
  justify-content:flex-start!important;padding:9px 10px!important;font-weight:900!important;box-shadow:none!important
}
.otps-tab:hover{background:#fff!important;color:#555d68!important}
.otps-tab.is-active{
  background:var(--otps-gdx-red)!important;color:#fff!important;box-shadow:0 7px 16px rgba(217,21,37,.20)!important
}
.otps-tab .dashicons{width:28px;height:28px;display:grid;place-items:center;background:#e5e7eb;color:#5f6772;border-radius:8px;font-size:15px}
.otps-tab.is-active .dashicons{background:#fff;color:var(--otps-gdx-red)}
.otps-tab b{display:block;font-size:10px}
.otps-tab small{display:block;font-size:8px;font-weight:600;opacity:.78;margin-top:2px}

/* Panels / cards */
.otps-panel{
  border:1px solid var(--otps-gdx-line)!important;border-radius:var(--otps-gdx-radius)!important;
  background:#fff!important;box-shadow:var(--otps-gdx-shadow)!important;padding:20px!important;margin-top:14px!important
}
.otps-panel[hidden],.otps-design-panel[hidden]{display:none!important}
.otps-section-head{
  display:flex;align-items:flex-start;gap:11px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #eef0f2
}
.otps-section-number{
  display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:24px;border-radius:8px;
  background:var(--otps-gdx-red-soft);color:var(--otps-gdx-red);font-size:10px;font-weight:900;margin-bottom:6px
}
.otps-section-head h2{font-size:20px!important;font-weight:950!important;color:#111827!important;margin:0 0 4px!important}
.otps-section-head p{margin:0;color:#7b838d;font-size:11px;line-height:1.8}
.otps-grid{display:grid;gap:14px}.otps-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.otps-card{
  background:#fff!important;border:1px solid #e5e7eb!important;border-radius:var(--otps-gdx-radius)!important;
  padding:17px!important;box-shadow:var(--otps-gdx-shadow)!important
}
.otps-card h3{font-size:14px!important;font-weight:900!important;color:#24272d!important;margin:0 0 6px!important}
.otps-card p,.otps-card-help{font-size:10px!important;line-height:1.85!important;color:#7b838d!important}
.otps-card:hover{border-color:#e7b0b5!important}
.otps-provider-card,.otps-account-system-card,.otps-redirect-mode-card{height:100%}

/* Provider choices */
.otps-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.otps-choice{
  position:relative;display:flex!important;align-items:flex-start;gap:8px;padding:11px!important;border:1px solid #e5e7eb!important;
  border-radius:10px!important;background:#fff!important;color:#444!important;cursor:pointer;transition:.15s
}
.otps-choice:hover{border-color:#e99ba3!important;background:#fff8f8!important}
.otps-choice:has(input:checked){border-color:#e58b94!important;background:#fff7f8!important;box-shadow:0 0 0 2px rgba(217,21,37,.05)}
.otps-choice input{accent-color:var(--otps-gdx-red);margin-top:3px}
.otps-choice strong{display:block;font-size:11px;color:#2d3238}
.otps-choice small{display:block;color:#858d97;font-size:9px;line-height:1.7;margin-top:3px}

/* Fields */
.otps-field{display:grid;gap:7px;min-width:0}
.otps-field label,.otps-color-field>span,.otps-style-number>span{font-size:10px!important;color:#4b5563!important;font-weight:900!important}
.otps-field small{font-size:9px!important;color:#8a929d!important;line-height:1.7!important}
.otps-field input[type=text],.otps-field input[type=password],.otps-field input[type=number],.otps-field input[type=url],
.otps-field textarea,.otps-field select,.otps-style-number input,.otps-setting-field input,.otps-setting-field select{
  min-height:42px!important;width:100%;padding:9px 11px!important;border:1px solid #d7dce3!important;border-radius:10px!important;
  background:#fff!important;color:#111827!important;box-shadow:none!important
}
.otps-field textarea{min-height:160px!important;line-height:1.8!important}
.otps-field input:focus,.otps-field textarea:focus,.otps-field select:focus,
.otps-style-number input:focus,.otps-setting-field input:focus,.otps-setting-field select:focus{
  border-color:var(--otps-gdx-red)!important;box-shadow:0 0 0 3px rgba(217,21,37,.10)!important;outline:none!important
}
.otps-field input[type=checkbox],.otps-field input[type=radio],.otps-switch-row input,.otps-choice input{accent-color:var(--otps-gdx-red)}

/* Buttons */
.otps-admin-wrap .button,.otps-admin-wrap .wp-core-ui .button,
.otps-studio-license-wrap .button{
  min-height:40px!important;padding:0 13px!important;border-radius:10px!important;border:1px solid #d7dce3!important;
  background:#fff!important;color:#2f3440!important;font-weight:800!important;box-shadow:none!important
}
.otps-admin-wrap .button:hover,.otps-studio-license-wrap .button:hover{
  background:#fff7f7!important;border-color:#f2a1a9!important;color:var(--otps-gdx-red-dark)!important
}
.otps-admin-wrap .button-primary,.otps-admin-wrap .button-primary:hover,.otps-admin-wrap .button-hero,
.otps-studio-license-wrap .button-primary{
  background:var(--otps-gdx-red)!important;border-color:var(--otps-gdx-red)!important;color:#fff!important;
  box-shadow:0 8px 18px rgba(217,21,37,.18)!important
}
.otps-admin-wrap .button-primary:hover,.otps-studio-license-wrap .button-primary:hover{
  background:var(--otps-gdx-red-dark)!important;border-color:var(--otps-gdx-red-dark)!important
}

/* Design tabs */
.otps-design-tabs{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:7px!important;
  margin:14px 0!important;border:1px solid #e4e7eb!important;border-radius:13px!important;background:#fafafa!important
}
.otps-design-tab{
  min-height:62px!important;display:grid!important;grid-template-columns:auto 1fr!important;grid-template-rows:auto auto!important;
  align-items:center!important;text-align:right!important;gap:2px 8px!important;border:0!important;border-radius:10px!important;
  background:transparent!important;color:#7f8791!important;padding:9px 10px!important;box-shadow:none!important
}
.otps-design-tab:hover{background:#fff!important}
.otps-design-tab.is-active{background:var(--otps-gdx-red)!important;color:#fff!important;box-shadow:0 7px 16px rgba(217,21,37,.18)!important}
.otps-design-tab .dashicons{grid-row:1/3;width:30px;height:30px;border-radius:8px;background:#e9ebee;color:#5f6772;display:grid;place-items:center;font-size:15px}
.otps-design-tab.is-active .dashicons{background:#fff;color:var(--otps-gdx-red)}
.otps-design-tab b{font-size:10px}.otps-design-tab small{font-size:8px;opacity:.8}

/* Preview */
.otps-preview-card{padding:0!important;overflow:hidden}
.otps-preview-card-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid #eef0f2;background:#fff8f8
}
.otps-preview-card-head strong{font-size:11px}.otps-preview-card-head small{display:block;font-size:8px;color:#8a929d;margin-top:3px}
.otps-preview-card-head>span{font-size:8px;color:#8a929d}
.otps-preview-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#16a34a;margin-left:5px;box-shadow:0 0 0 4px #dcfce7}
.otps-preview-stage{padding:18px;background:#f8f9fa}
.otps-live-preview,.otps-profile-live-preview{
  width:min(100%,760px);margin:auto;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:24px;box-shadow:var(--otps-gdx-shadow)
}
.otps-preview-brand,.otps-preview-avatar,.otps-popup-preview-brand{
  width:46px;height:46px;border-radius:13px;background:var(--otps-gdx-red);color:#fff;display:grid;place-items:center;font-weight:950
}
.otps-preview-title{font-size:22px!important;color:#111827!important;margin:13px 0 5px!important}
.otps-preview-subtitle{font-size:10px!important;color:#6b7280!important;line-height:1.8}
.otps-preview-progress{display:flex;gap:5px;margin:15px 0}.otps-preview-progress span,.otps-preview-progress i{height:5px;flex:1;border-radius:10px;background:var(--otps-gdx-red)}.otps-preview-progress i{background:#e5e7eb}
.otps-preview-field-label{display:block;font-size:10px;font-weight:900;color:#4b5563;margin-bottom:6px}
.otps-preview-input{padding:11px;border:1px solid #d7dce3;border-radius:10px;background:#fff;color:#333;text-align:center;direction:ltr}
.otps-preview-input.is-focus{border-color:var(--otps-gdx-red);box-shadow:0 0 0 3px rgba(217,21,37,.10)}
.otps-preview-button{width:100%;min-height:42px;margin-top:9px;border:0;border-radius:10px;background:var(--otps-gdx-red);color:#fff;font-weight:900}
.otps-preview-button.is-hover{background:var(--otps-gdx-red-dark)}
.otps-preview-link{display:block;text-align:center;margin-top:9px;color:var(--otps-gdx-red);font-size:10px;font-weight:800}
.otps-preview-message{padding:9px;border-radius:9px;margin-top:10px;font-size:9px}.otps-preview-message.is-success{background:#ecfdf3;color:#15803d}.otps-preview-message.is-error{background:#fff1f2;color:#b91c2b}
.otps-preview-state-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.otps-preview-state-grid>div{padding:10px;border:1px solid #edf0f2;border-radius:10px;background:#fafafa}.otps-preview-state-grid small{font-size:8px;color:#89919b}

/* Template gallery / style controls */
.otps-template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:13px}
.otps-template-card{border:1px solid #e5e7eb!important;border-radius:11px!important;background:#fff!important;padding:8px!important;box-shadow:none!important;color:#555!important}
.otps-template-card:hover,.otps-template-card.is-selected{border-color:#e78e96!important;background:#fff7f8!important}
.otps-template-preview{display:block;height:78px;border:1px solid #eceff1;border-radius:8px;background:#fafafa;padding:8px}
.otps-template-mini-brand{display:block;width:18px;height:18px;border-radius:5px;background:var(--otps-gdx-red);color:#fff;font-size:8px;text-align:center;padding-top:4px}
.otps-template-mini-title,.otps-template-mini-subtitle,.otps-template-mini-input,.otps-template-mini-button{display:block;border-radius:4px;background:#e5e7eb;margin-top:5px;height:5px}.otps-template-mini-title{width:55%}.otps-template-mini-subtitle{width:75%;height:4px}.otps-template-mini-input{height:10px;background:#fff;border:1px solid #ddd}.otps-template-mini-button{width:65%;height:9px;background:var(--otps-gdx-red)}
.otps-template-card strong{display:block;font-size:9px;margin-top:7px}.otps-template-card small{display:block;font-size:8px;color:#8a929d;margin-top:2px}
.otps-style-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.otps-style-component{height:100%}
.otps-color-grid,.otps-size-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.otps-color-field{display:grid;gap:7px;padding:10px;border:1px solid #edf0f2;border-radius:10px;background:#fff}
.otps-color-picker-row{display:grid;grid-template-columns:42px 1fr;gap:7px;align-items:center}.otps-color-picker{width:42px;height:38px;padding:3px;border:1px solid #d7dce3;border-radius:8px;background:#fff}.otps-color-picker-row code{font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.otps-site-color-toggle{display:flex;align-items:center;gap:5px;font-size:8px;color:#7b838d}.otps-site-color-toggle input{accent-color:var(--otps-gdx-red)}
.otps-style-number{display:grid;gap:7px;padding:10px;border:1px solid #edf0f2;border-radius:10px;background:#fff}
.otps-style-number>div{display:flex;align-items:center;gap:6px}.otps-style-number input{min-width:0}.otps-style-number em{font-size:8px;color:#89919b;font-style:normal;white-space:nowrap}

/* Save bar */
.otps-savebar,.otps-design-save-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding:12px 14px;
  border:1px solid var(--otps-gdx-line);border-radius:12px;background:#fff
}
.otps-savebar strong,.otps-design-save-row strong{display:block;font-size:10px}.otps-savebar span,.otps-design-save-row small{display:block;font-size:8px;color:#89919b;margin-top:3px}

/* Tables / data pages */
.otps-table-card,.otps-filter-card,.otps-birthday-users,.otps-message-builder{margin-top:14px}
.otps-table-toolbar,.otps-table-summary,.otps-data-quick{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px;border:1px solid #eceff1;border-radius:11px;background:#fff
}
.otps-table-summary>div,.otps-dashboard-counts>div,.otps-birthday-stat{
  border:1px solid #edf0f2;border-radius:10px;background:#fff;padding:10px
}
.otps-table-scroll{overflow:auto;border:1px solid #e5e7eb;border-radius:12px;background:#fff;margin-top:10px}
.otps-admin-wrap table.widefat,.otps-admin-wrap table.wp-list-table{
  width:100%;border:0;border-collapse:separate;border-spacing:0;background:#fff
}
.otps-admin-wrap table th{background:#fafafa!important;color:#4b5563!important;font-size:10px!important;font-weight:900!important;padding:11px!important;border-bottom:1px solid #edf0f2!important}
.otps-admin-wrap table td{padding:11px!important;border-bottom:1px solid #f0f1f3!important;font-size:10px!important;color:#555e68!important;vertical-align:middle}
.otps-admin-wrap table tbody tr:hover td{background:#fff8f8!important}
.otps-admin-wrap table tr:last-child td{border-bottom:0!important}

/* Dashboard / reports */
.otps-dashboard-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.otps-dashboard-counts>div strong{display:block;font-size:17px;color:#222;margin-top:4px}.otps-dashboard-counts>div span{font-size:9px;color:#89919b}
.otps-dashboard-list{display:grid;gap:8px;margin-top:12px}
.otps-inline-checks{display:flex;gap:8px;flex-wrap:wrap}.otps-inline-checks label{padding:7px 9px;border:1px solid #e7eaed;border-radius:8px;background:#fff;font-size:9px}

/* Account builder */
.otps-account-builder-page,.otps-account-builder-page .wrap{direction:rtl}
.otps-account-builder-page .otps-card{margin-top:12px}
.otps-global-quickbar{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.otps-global-quickbar a{padding:7px 9px;border:1px solid #e7eaed;border-radius:8px;background:#fff;text-decoration:none;color:#555;font-size:9px}
.otps-global-quickbar a:hover{background:#fff7f8;border-color:#ef9aa2;color:var(--otps-gdx-red-dark)}

/* License / studio */
.otps-studio-license-wrap .otps-license-hero-copy h1{font-size:28px;font-weight:950;color:#111827}
.otps-license-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:14px}
.otps-studio-card,.otps-license-info,.otps-license-device{
  background:#fff!important;border:1px solid #e5e7eb!important;border-radius:var(--otps-gdx-radius)!important;
  padding:18px!important;box-shadow:var(--otps-gdx-shadow)!important
}
.otps-license-state{padding:9px 11px;border-radius:9px;background:#fff1f2;color:#b91c2b;font-size:10px;font-weight:900}.otps-license-state.is-active{background:#ecfdf3;color:#15803d}
.otps-studio-alert{padding:11px 13px;border-radius:10px;margin:10px 0;font-size:10px}.otps-studio-alert.is-error{background:#fff1f2;color:#9f1d2a;border:1px solid #fecdd3}.otps-studio-alert.is-success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}

/* Notices */
.otps-applied-notice{
  display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:11px 13px;border:1px solid #bbf7d0;
  border-right:4px solid #16a34a;border-radius:11px;background:#fff;color:#166534
}
.otps-applied-notice .dashicons{width:28px;height:28px;border-radius:8px;background:#ecfdf3;display:grid;place-items:center}
.otps-applied-notice strong{display:block;font-size:10px}.otps-applied-notice small{display:block;font-size:8px;margin-top:2px;color:#6b7280}

/* Front-end: same design language, while preserving existing inline OTPS variables */
.mpol-wrap,.mpol-account-auth,.mpol-profile-card,.mpol-header-auth{--otps-gdx-red:#d91525;--otps-gdx-red-dark:#ad0f1b;--otps-gdx-red-soft:#fff1f2;--otps-gdx-red-border:#fecdd3}
.mpol-wrap .mpol-form{
  border:1px solid var(--otps-border,#e5e7eb)!important;border-radius:var(--otps-form-radius,18px)!important;
  background:var(--otps-background,#fff)!important;box-shadow:0 18px 55px rgba(16,24,40,.10)!important
}
.mpol-wrap .mpol-title{color:var(--otps-title-color,#16181d)!important;font-weight:900!important}
.mpol-wrap .mpol-label{color:var(--otps-label-color,#4b5563)!important}
.mpol-wrap .mpol-input{
  border:1px solid var(--otps-input-border,#d7dce3)!important;background:var(--otps-input-bg,#fff)!important;
  border-radius:var(--otps-input-radius,12px)!important
}
.mpol-wrap .mpol-input:focus{border-color:var(--otps-input-focus-border,#d91525)!important;box-shadow:0 0 0 3px rgba(217,21,37,.10)!important}
.mpol-wrap .mpol-btn-primary{
  background:var(--otps-button-bg,#d91525)!important;border-color:var(--otps-button-border,#d91525)!important;
  border-radius:var(--otps-button-radius,12px)!important;box-shadow:0 8px 18px rgba(217,21,37,.18)!important
}
.mpol-wrap .mpol-btn-primary:hover{background:var(--otps-button-hover-bg,#ad0f1b)!important}
.mpol-wrap .mpol-message.is-error{background:var(--otps-error-bg,#fff1f2);padding:9px;border-radius:9px}
.mpol-wrap .mpol-message.is-success{background:var(--otps-success-bg,#ecfdf3);padding:9px;border-radius:9px}
.mpol-profile-card{
  border:1px solid var(--otps-border,#e5e7eb)!important;border-radius:18px!important;
  background:var(--otps-profile-bg,#fff)!important;box-shadow:0 18px 55px rgba(16,24,40,.08)!important
}
.mpol-profile-head{border-bottom:1px solid #edf0f2!important;padding-bottom:14px!important}
.mpol-profile-kicker{color:var(--otps-gdx-red)!important;background:var(--otps-gdx-red-soft)!important;border:1px solid var(--otps-gdx-red-border)!important}
.mpol-profile-summary>div{border:1px solid #edf0f2!important;border-radius:10px!important;background:#fafafa!important}
.mpol-header-icon-btn{border-radius:12px!important}
.mpol-header-popup-shell{border-radius:20px!important;border:1px solid var(--otps-gdx-red-border)!important;box-shadow:0 28px 90px rgba(16,24,40,.22)!important}
.mpol-header-popup-accent{background:var(--otps-gdx-red)!important}
.mpol-popup-close{border:1px solid #e7eaed!important;color:var(--otps-gdx-red)!important}

/* Responsive */
@media(max-width:1200px){
  .otps-top-quick-access{grid-template-columns:repeat(3,minmax(0,1fr))}
  .otps-tabs.otps-control-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .otps-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .otps-template-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  .otps-admin-wrap,.otps-studio-license-wrap{width:calc(100% - 20px)!important;margin:10px auto!important}
  .otps-shell{padding:11px!important;border-radius:12px!important}
  .otps-grid-2,.otps-style-section-grid{grid-template-columns:1fr}
  .otps-color-grid,.otps-size-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .otps-design-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .otps-license-grid{grid-template-columns:1fr}
  .otps-dashboard-counts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .otps-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .otps-top-quick-access{grid-template-columns:repeat(2,minmax(0,1fr))}
  .otps-gildata-contact-actions{margin-right:0}
}
@media(max-width:600px){
  body.otps-pro-admin #wpcontent{padding-left:10px}
  .otps-hero{align-items:flex-start}.otps-hero-mark{display:none}
  .otps-version{font-size:8px}
  .otps-tabs.otps-control-tabs{grid-template-columns:1fr}
  .otps-tab{justify-content:flex-start!important}
  .otps-top-quick-access,.otps-choice-grid,.otps-template-grid,.otps-design-tabs{grid-template-columns:1fr}
  .otps-color-grid,.otps-size-grid,.otps-preview-state-grid{grid-template-columns:1fr}
  .otps-dashboard-counts{grid-template-columns:1fr}
  .otps-savebar,.otps-design-save-row{align-items:stretch;flex-direction:column}
  .otps-savebar .button,.otps-design-save-row .button{width:100%}
  .otps-preview-card-head{align-items:flex-start;flex-direction:column}
  .otps-gildata-brandbar{margin-left:10px;margin-right:10px}
}
