body.ua-p-settings-sms .ua-sms-settings-page{direction:rtl;color:var(--ua-text,#edf4fc)}
body.ua-shell-chrome.ua-p-settings-sms:not(.ua-page-dashboard) #uaWorkspaceHost{height:inherit!important;min-height:0!important;max-height:inherit!important}
body.ua-shell-chrome.ua-p-settings-sms:not(.ua-page-dashboard) #uaWorkspaceHost>.ua-wm-stage,
body.ua-shell-chrome.ua-p-settings-sms:not(.ua-page-dashboard) #uaWorkspaceHost>.ua-wm-stage>.ua-wm-pane.is-current{height:100%!important;min-height:0!important;max-height:100%!important}
body.ua-shell-chrome.ua-p-settings-sms:not(.ua-page-dashboard) #uaWorkspaceHost>.ua-wm-stage>.ua-wm-pane.is-current{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain}
body.ua-p-settings-sms .ua-sms-settings-page .container-fluid{max-width:1420px}
body.ua-p-settings-sms .sms-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid rgba(96,165,250,.22);border-radius:14px;background:linear-gradient(135deg,rgba(14,30,50,.98),rgba(8,20,35,.98));box-shadow:0 14px 32px rgba(0,0,0,.18)}
body.ua-p-settings-sms .sms-settings-heading>div{min-width:0}
body.ua-p-settings-sms .sms-settings-heading span,body.ua-p-settings-sms .sms-card-title span{display:block;color:#7f96ae;font-size:11px;font-weight:900;letter-spacing:.08em}
body.ua-p-settings-sms .sms-settings-heading h1{margin:3px 0 4px;color:#fff;font-size:21px;font-weight:900}
body.ua-p-settings-sms .sms-settings-heading p{margin:0;color:#93a6bb;font-size:11px}
body.ua-p-settings-sms .sms-settings-heading>a{display:flex;min-height:40px;align-items:center;gap:7px;padding:0 12px;border:1px solid rgba(56,189,248,.3);border-radius:10px;background:rgba(14,165,233,.08);color:#67d7fa;text-decoration:none;font-size:11px;font-weight:900}
body.ua-p-settings-sms .sms-settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 0 14px}
body.ua-p-settings-sms .sms-settings-card{min-width:0;padding:10px;border:1px solid rgba(126,151,182,.22);border-radius:12px;background:linear-gradient(145deg,rgba(17,34,55,.98),rgba(8,21,37,.98));box-shadow:0 9px 22px rgba(0,0,0,.15)}
body.ua-p-settings-sms .sms-provider-card,body.ua-p-settings-sms .sms-test-card,body.ua-p-settings-sms .sms-queue-safety-card,body.ua-p-settings-sms .sms-save-bar{grid-column:1/-1}
body.ua-p-settings-sms .sms-settings-form>[data-mode-panel]{grid-column:1/-1}
body.ua-p-settings-sms .sms-card-title{display:flex;align-items:center;gap:7px;margin-bottom:8px}
body.ua-p-settings-sms .sms-card-title>i{display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;border:1px solid rgba(56,189,248,.25);border-radius:8px;background:rgba(14,165,233,.09);color:#59d4fa;font-size:11px}
body.ua-p-settings-sms .sms-card-title>div:nth-child(2){min-width:0;flex:1}
body.ua-p-settings-sms .sms-card-title h2{margin:1px 0 0;color:#f8fbff;font-size:14px;font-weight:900}
body.ua-p-settings-sms .sms-master-switch{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:7px 8px;border:1px solid rgba(52,211,153,.2);border-radius:9px;background:rgba(16,185,129,.06);cursor:pointer}
body.ua-p-settings-sms .sms-master-switch input{width:16px;height:16px;accent-color:#22c991}
body.ua-p-settings-sms .sms-master-switch span{display:grid;gap:2px}
body.ua-p-settings-sms .sms-master-switch b{color:#e9fff7;font-size:13px}
body.ua-p-settings-sms .sms-master-switch small{color:#86a89d;font-size:10px}
body.ua-p-settings-sms .sms-provider-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
body.ua-p-settings-sms .sms-provider-option{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:7px;margin:0;padding:8px;border:1px solid rgba(127,151,180,.22);border-radius:9px;background:#0a192a;cursor:pointer;transition:.18s ease}
body.ua-p-settings-sms .sms-provider-option:has(input:checked){border-color:rgba(56,189,248,.55);background:rgba(14,165,233,.1);box-shadow:inset 0 0 0 1px rgba(56,189,248,.12)}
body.ua-p-settings-sms .sms-provider-option input{position:absolute;opacity:0;pointer-events:none}
body.ua-p-settings-sms .sms-provider-option__icon{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;background:#071423;color:#68d9fa;font-size:12px}
body.ua-p-settings-sms .sms-provider-option>span:nth-child(3){display:grid;gap:3px}
body.ua-p-settings-sms .sms-provider-option b{color:#edf7ff;font-size:12px}
body.ua-p-settings-sms .sms-provider-option small{color:#8195ab;font-size:9px;line-height:1.45}
body.ua-p-settings-sms .sms-provider-option em{padding:3px 6px;border-radius:6px;background:rgba(56,189,248,.08);color:#62d7fa;font-size:8px;font-style:normal;font-weight:900}
body.ua-p-settings-sms .sms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.ua-p-settings-sms .sms-grid--wide{grid-template-columns:repeat(2,minmax(0,1fr))}
body.ua-p-settings-sms .sms-field,body.ua-p-settings-sms .sms-check-field{display:grid;min-width:0;gap:5px;margin:0}
body.ua-p-settings-sms .sms-field.is-wide,body.ua-p-settings-sms .sms-check-field.is-wide{grid-column:1/-1}
body.ua-p-settings-sms .sms-field>span{color:#b9c7d6;font-size:11px;font-weight:900}
body.ua-p-settings-sms .sms-field>small{color:#71869d;font-size:9px;line-height:1.5}
body.ua-p-settings-sms .sms-field :is(input,select,textarea){width:100%;min-width:0;height:36px;padding:0 8px;border:1px solid rgba(126,151,182,.25);border-radius:8px;outline:0;background:#071423;color:#f4f8fc;font-size:10px;box-shadow:none}
body.ua-p-settings-sms .sms-field textarea{height:68px;padding-block:8px;resize:vertical}
body.ua-p-settings-sms .sms-field :is(input,select,textarea):focus{border-color:rgba(56,189,248,.65);box-shadow:0 0 0 3px rgba(56,189,248,.08)}
body.ua-p-settings-sms .sms-field input::placeholder,body.ua-p-settings-sms .sms-field textarea::placeholder{color:#587087}
body.ua-p-settings-sms .sms-check-field{display:flex;align-items:center;gap:8px;padding:8px;border-radius:9px;background:#071423}
body.ua-p-settings-sms .sms-check-field input{width:17px;height:17px;accent-color:#31bceb}
body.ua-p-settings-sms .sms-check-field span{display:grid;gap:2px}
body.ua-p-settings-sms .sms-check-field b{color:#dbe8f4;font-size:11px}
body.ua-p-settings-sms .sms-check-field small{color:#758ba2;font-size:9px}
body.ua-p-settings-sms .sms-readiness{display:flex;flex-wrap:wrap;gap:6px}
body.ua-p-settings-sms .sms-readiness span{display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:8px;background:#071423;font-size:9px;letter-spacing:0}
body.ua-p-settings-sms .sms-readiness i{width:7px;height:7px;border-radius:50%}
body.ua-p-settings-sms .sms-readiness .is-ready{color:#7be3bd}
body.ua-p-settings-sms .sms-readiness .is-ready i{background:#2bd498}
body.ua-p-settings-sms .sms-readiness .is-missing{color:#ff9aa4}
body.ua-p-settings-sms .sms-readiness .is-missing i{background:#ff626f}
body.ua-p-settings-sms .sms-local-note{display:flex;align-items:flex-start;gap:7px;margin-top:8px;padding:8px;border:1px solid rgba(56,189,248,.16);border-radius:9px;background:rgba(14,165,233,.05);color:#90bdd0;font-size:9px;line-height:1.55}
body.ua-p-settings-sms .sms-local-note i{margin-top:3px;color:#5ed4f8}
body.ua-p-settings-sms .sms-secondary-action,body.ua-p-settings-sms .sms-test-action{display:flex;min-height:36px;align-items:center;justify-content:center;gap:6px;margin-top:7px;padding:0 11px;border:1px solid rgba(56,189,248,.28);border-radius:8px;background:rgba(14,165,233,.08);color:#67d9fa;font-size:10px;font-weight:900}
body.ua-p-settings-sms .sms-modem-detection{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:9px;margin-top:7px}
body.ua-p-settings-sms .sms-modem-detection .sms-secondary-action{margin-top:0}
body.ua-p-settings-sms .sms-modem-detection p{margin:0;color:var(--ua-sem-muted,#71869d);font-size:10px;line-height:1.5}
body.ua-p-settings-sms .sms-modem-detection button:disabled{cursor:wait;opacity:.62}
body.ua-p-settings-sms .sms-test-action{border-color:rgba(245,158,11,.3);background:rgba(245,158,11,.08);color:#ffc557}
body.ua-p-settings-sms .sms-device-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0 0}
body.ua-p-settings-sms .sms-device-details>div{min-width:0;padding:8px;border-radius:9px;background:#071423}
body.ua-p-settings-sms .sms-device-details dt{color:#71869e;font-size:9px}
body.ua-p-settings-sms .sms-device-details dd{margin:3px 0 0;color:#dce8f3;font-size:10px;overflow-wrap:anywhere}
body.ua-p-settings-sms .sms-advanced{margin-top:8px;border:1px solid rgba(126,151,182,.18);border-radius:10px;background:rgba(7,20,35,.62);overflow:hidden}
body.ua-p-settings-sms .sms-advanced>summary{display:flex;min-height:38px;align-items:center;justify-content:space-between;padding:0 10px;color:#a9bbcd;font-size:10px;font-weight:900;cursor:pointer;list-style:none}
body.ua-p-settings-sms .sms-advanced>summary::-webkit-details-marker{display:none}
body.ua-p-settings-sms .sms-advanced[open]>summary{border-bottom:1px solid rgba(126,151,182,.15)}
body.ua-p-settings-sms .sms-advanced[open]>summary>i{transform:rotate(180deg)}
body.ua-p-settings-sms .sms-advanced>.sms-grid{padding:12px}
body.ua-p-settings-sms .sms-test-result{max-width:100%;max-height:180px;overflow:auto;margin:11px 0 0;padding:10px;border-radius:10px;background:#030a12;color:#a8cad8;font-size:10px;white-space:pre-wrap}
body.ua-p-settings-sms .sms-save-bar{position:sticky;bottom:8px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid rgba(52,211,153,.28);border-radius:11px;background:rgba(6,24,32,.96);box-shadow:0 12px 32px rgba(0,0,0,.32);backdrop-filter:blur(14px)}
body.ua-p-settings-sms .sms-save-bar>div{display:flex;align-items:center;gap:8px;color:#8eb5aa;font-size:10px}
body.ua-p-settings-sms .sms-save-bar>div i{color:#44dba7}
body.ua-p-settings-sms .sms-save-bar>button{display:flex;min-height:38px;align-items:center;justify-content:center;gap:7px;padding:0 15px;border:1px solid rgba(52,211,153,.38);border-radius:9px;background:linear-gradient(135deg,#169b70,#11785c);color:#fff;font-size:10px;font-weight:900}
body.ua-p-settings-sms .sms-toast-stack{z-index:2147483000;gap:8px}
body.ua-p-settings-sms .sms-notice{display:grid;width:100%;grid-template-columns:auto minmax(0,1fr) 34px;align-items:center;gap:9px;margin:0;padding:12px 13px;border:1px solid rgba(52,211,153,.38);border-radius:14px;background:rgba(7,35,31,.96);box-shadow:0 18px 48px rgba(0,0,0,.48);backdrop-filter:blur(14px);color:#8ceac8;font-size:11px;font-weight:900;pointer-events:auto;animation:sms-toast-in .2s ease-out both}
body.ua-p-settings-sms .sms-notice.is-error{border-color:rgba(248,113,113,.48);background:rgba(50,17,25,.96);color:#ffabb2}
body.ua-p-settings-sms .sms-notice__close{display:grid;width:34px;height:34px;place-items:center;padding:0;border:1px solid currentColor;border-radius:9px;background:transparent;color:inherit;cursor:pointer;opacity:.72}
body.ua-p-settings-sms .sms-notice__close:hover{opacity:1}
@keyframes sms-toast-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
body.ua-p-settings-sms [hidden]{display:none!important}
@media(max-width:1050px){
  body.ua-p-settings-sms .sms-settings-form{grid-template-columns:1fr}
  body.ua-p-settings-sms .sms-provider-card,body.ua-p-settings-sms .sms-test-card,body.ua-p-settings-sms .sms-queue-safety-card,body.ua-p-settings-sms .sms-save-bar{grid-column:auto}
}
@media(max-width:700px){
  body.ua-p-settings-sms .sms-settings-heading{align-items:flex-start}
  body.ua-p-settings-sms .sms-settings-heading p{display:none}
  body.ua-p-settings-sms .sms-provider-options,body.ua-p-settings-sms .sms-grid,body.ua-p-settings-sms .sms-grid--wide{grid-template-columns:1fr}
  body.ua-p-settings-sms .sms-field.is-wide,body.ua-p-settings-sms .sms-check-field.is-wide{grid-column:auto}
  body.ua-p-settings-sms .sms-save-bar{align-items:stretch;flex-direction:column}
  body.ua-p-settings-sms .sms-save-bar>button{width:100%}
  body.ua-p-settings-sms .sms-modem-detection{grid-template-columns:1fr}
}
