
.po-sms{width:100%;max-width:none}.po-sms *{box-sizing:border-box}.po-sms .po-page-header{display:flex;justify-content:space-between;align-items:flex-end;margin:0 0 24px}.po-sms .po-page-header h1{margin:6px 0 8px}.po-sms .po-page-header p{margin:0;color:#64748b;font-size:17px}.po-sms-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.po-sms-kpis article{min-height:138px;background:#fff;border:1px solid #dce5ef;border-radius:18px;padding:22px 24px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 10px 30px rgba(15,39,75,.06)}.po-sms-kpis span{color:#64748b;font-size:15px}.po-sms-kpis strong{font-size:34px;line-height:1;color:#0b1734}.po-sms-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}.po-sms-tabs a{display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border-radius:13px;background:#eaf0f7;color:#13294b!important;text-decoration:none!important;font-weight:750}.po-sms-tabs a.is-active{background:#12366b;color:#fff!important}.po-sms-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);gap:24px;align-items:start}.po-sms-card{background:#fff;border:1px solid #dce5ef;border-radius:20px;padding:30px;box-shadow:0 10px 30px rgba(15,39,75,.06);min-width:0}.po-sms-card-head{padding-bottom:20px;margin-bottom:24px;border-bottom:1px solid #e5ebf3}.po-sms-card-head h2{font-size:26px;margin:0 0 7px}.po-sms-card-head p{margin:0;color:#64748b;line-height:1.55}.po-sms-form{border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;display:grid;gap:18px}.po-sms-form label{display:grid;gap:8px;margin:0}.po-sms-form label>span{font-weight:750;color:#16345e}.po-sms-form input,.po-sms-form select,.po-sms-form textarea{width:100%;min-height:50px;padding:12px 15px!important;border:1px solid #cfdbea!important;background:#fff!important;font-size:15px!important}.po-sms-form textarea{min-height:116px;resize:vertical}.po-sms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.po-sms-check{display:flex!important;align-items:center!important;grid-template-columns:none!important;gap:10px!important}.po-sms-check input{width:20px!important;height:20px!important;min-height:0!important;margin:0!important}.po-sms-rule-list{display:grid;gap:14px}.po-sms-rule{border:1px solid #dfe7f1;border-radius:15px;padding:20px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;background:#fbfdff}.po-sms-rule h3{margin:10px 0 6px;font-size:19px}.po-sms-rule p{margin:0 0 9px;color:#4e617d}.po-sms-rule small{color:#72819a}.po-sms-actions{display:flex;gap:8px}.po-sms-actions form{border:0!important;box-shadow:none!important;margin:0!important;padding:0!important}.po-sms-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800;background:#eef2f7}.po-sms-status.is-active,.po-sms-status.is-sent{background:#e6f7ef;color:#08764a}.po-sms-status.is-paused{background:#fff4df;color:#985f00}.po-sms-status.is-failed{background:#feeceb;color:#b42318}.po-mini-button{border:1px solid #cfdbea;background:#fff;border-radius:9px;padding:8px 11px;font-weight:700;color:#12366b}.po-mini-button.is-danger{color:#b42318}.po-sms-empty{padding:56px 24px;text-align:center;border:1px dashed #ced9e8;border-radius:16px;background:#f8fbff}.po-sms-empty h3{margin:0 0 7px}.po-sms-empty p{margin:0;color:#64748b}.po-sms-flash,.po-sms-notice{padding:14px 18px;border:1px solid #a8cdfd;background:#edf6ff;color:#124b8d;border-radius:12px;margin:0 0 20px}.po-sms-help{margin-top:24px;padding:18px;border-radius:14px;background:#f3f7fc}.po-sms-help strong,.po-sms-help code{display:block}.po-sms-help code{margin-top:10px;white-space:normal;overflow-wrap:anywhere}.po-sms-table-wrap{overflow:auto}.po-sms table{width:100%;border-collapse:collapse}.po-sms th,.po-sms td{text-align:left;padding:14px 13px;border-bottom:1px solid #e6edf5}.po-sms th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#64748b}@media(max-width:1100px){.po-sms-kpis{grid-template-columns:repeat(2,1fr)}.po-sms-layout{grid-template-columns:1fr}}@media(max-width:620px){.po-sms-kpis{grid-template-columns:1fr}.po-sms-kpis article{min-height:112px}.po-sms-card{padding:22px 18px}.po-sms-grid{grid-template-columns:1fr}.po-sms-rule{display:grid}.po-sms-actions{flex-wrap:wrap}}

/* v0.59.6.12 — complete SMS & Notifications interface polish */
.po-sms.po-crm-page{padding-bottom:40px}
.po-sms .po-page-header{margin-bottom:28px!important}
.po-sms .po-page-header h1{font-size:42px!important;line-height:1.08!important;margin:8px 0 10px!important}
.po-sms .po-page-header p{font-size:17px!important;line-height:1.55!important;max-width:900px}

.po-sms .po-sms-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;margin:0 0 28px!important}
.po-sms .po-sms-kpis>article{min-height:0!important;height:auto!important;padding:22px 24px!important;display:grid!important;gap:16px!important;align-content:start!important;justify-content:stretch!important;border-radius:18px!important}
.po-sms .po-sms-kpis>article>span{display:block!important;margin:0!important;font-size:15px!important;line-height:1.35!important;color:#64748b!important}
.po-sms .po-sms-kpis>article>strong{display:block!important;margin:0!important;font-size:34px!important;line-height:1!important;color:#0b1734!important}

.po-sms .po-sms-tabs{gap:12px!important;margin:0 0 28px!important;align-items:center!important}
.po-sms .po-sms-tabs a{min-height:50px!important;padding:0 24px!important;white-space:nowrap!important;line-height:1!important;transform:none!important}
.po-sms .po-sms-tabs a:hover,.po-sms .po-sms-tabs a:focus{transform:none!important;white-space:nowrap!important}

.po-sms .po-sms-layout{grid-template-columns:minmax(0,1.45fr) minmax(390px,.75fr)!important;gap:28px!important;align-items:start!important}
.po-sms .po-sms-card{padding:34px!important;border-radius:22px!important;overflow:visible!important}
.po-sms .po-sms-card-head{padding:0 0 22px!important;margin:0 0 24px!important}
.po-sms .po-sms-card-head h2{font-size:28px!important;line-height:1.15!important;margin:0 0 9px!important}
.po-sms .po-sms-card-head p{font-size:16px!important;line-height:1.55!important;max-width:760px}

.po-sms form.po-sms-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important;overflow:visible!important}
.po-sms form.po-sms-form>label,
.po-sms form.po-sms-form .po-sms-grid>label{display:flex!important;flex-direction:column!important;gap:9px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;position:static!important;min-width:0!important}
.po-sms form.po-sms-form>label::before,.po-sms form.po-sms-form>label::after,
.po-sms form.po-sms-form .po-sms-grid>label::before,.po-sms form.po-sms-form .po-sms-grid>label::after{display:none!important;content:none!important}
.po-sms form.po-sms-form label>span{display:block!important;position:static!important;transform:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:15px!important;line-height:1.35!important;font-weight:750!important;color:#16345e!important}
.po-sms form.po-sms-form input:not([type="checkbox"]),
.po-sms form.po-sms-form select,
.po-sms form.po-sms-form textarea{display:block!important;position:static!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:54px!important;margin:0!important;padding:13px 16px!important;border:1px solid #cfdbea!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;line-height:1.4!important;font-size:16px!important;color:#0b1734!important}
.po-sms form.po-sms-form textarea{min-height:132px!important;resize:vertical!important}
.po-sms form.po-sms-form input:focus,.po-sms form.po-sms-form select:focus,.po-sms form.po-sms-form textarea:focus{border-color:#6fb6ff!important;box-shadow:0 0 0 3px rgba(24,119,242,.12)!important;outline:0!important}
.po-sms .po-sms-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.po-sms label.po-sms-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:16px 18px!important;border:1px solid #dce5ef!important;border-radius:14px!important;background:#f5f8fc!important}
.po-sms label.po-sms-check input[type="checkbox"]{flex:0 0 auto!important;width:21px!important;height:21px!important;min-height:0!important;margin:0!important;padding:0!important}
.po-sms label.po-sms-check>span{font-size:15px!important;line-height:1.3!important}
.po-sms form.po-sms-form>.po-button{justify-self:start!important;min-height:52px!important;padding:0 24px!important;margin-top:2px!important}

.po-sms .po-sms-rule-list{gap:16px!important}
.po-sms .po-sms-rule{padding:22px!important;border-radius:16px!important}
.po-sms .po-sms-empty{padding:48px 24px!important}
.po-sms .po-sms-help{margin-top:22px!important;padding:18px 20px!important}

/* Alert Rules tab */
.po-sms .po-sms-layout>.po-sms-card:nth-child(2) form.po-sms-form{max-width:none!important}

/* Provider Settings tab */
.po-sms .po-sms-layout>.po-sms-card:last-child form.po-sms-form textarea{min-height:126px!important}
.po-sms .po-sms-layout>.po-sms-card:last-child .po-button{width:100%!important;justify-content:center!important}

/* Delivery History tab */
.po-sms>.po-sms-card{padding:34px!important}
.po-sms .po-sms-table-wrap{border:1px solid #e1e8f1!important;border-radius:16px!important;overflow:auto!important}
.po-sms table{background:#fff!important}
.po-sms th{background:#f6f9fc!important}
.po-sms th,.po-sms td{padding:16px!important;vertical-align:top!important}

@media(max-width:1180px){
  .po-sms .po-sms-layout{grid-template-columns:1fr!important}
  .po-sms .po-sms-layout>.po-sms-card{width:100%!important}
}
@media(max-width:900px){
  .po-sms .po-sms-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .po-sms .po-page-header h1{font-size:34px!important}
  .po-sms .po-sms-kpis{grid-template-columns:1fr!important;gap:14px!important}
  .po-sms .po-sms-kpis>article{padding:20px!important}
  .po-sms .po-sms-tabs{display:grid!important;grid-template-columns:1fr!important}
  .po-sms .po-sms-tabs a{justify-content:center!important;width:100%!important}
  .po-sms .po-sms-card{padding:24px 20px!important}
  .po-sms .po-sms-grid{grid-template-columns:1fr!important}
  .po-sms form.po-sms-form>.po-button{width:100%!important;justify-content:center!important}
}


/* v0.59.6.14 — stack Recipient and Custom number on separate rows */
.po-sms form.po-sms-form select[name="recipient_type"],
.po-sms form.po-sms-form input[name="recipient_number"]{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.po-sms form.po-sms-form select[name="recipient_type"]{
  padding-right:46px!important;
}
