/* CODSHIPX_QUICK_REGISTER_CALL_NOTES_V40 */

.cx40-call-panel{
  margin-top:16px;
  padding:16px;
  color:#e8eefc;
  background:#0b1835;
  border:1px solid #25375f;
  border-radius:14px;
  box-shadow:0 12px 32px rgba(3,10,28,.16);
}

.cx40-call-panel *{
  box-sizing:border-box;
}

.cx40-call-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.cx40-call-panel-title{
  color:#b9c5dd;
  font-size:14px;
  font-weight:500;
}

.cx40-call-panel-count{
  color:#ffe56c;
  font-size:13px;
  font-weight:900;
  text-align:right;
}

.cx40-call-panel-copy{
  margin:8px 0 13px;
  color:#c4cee0;
  font-size:11px;
  line-height:1.5;
}

.cx40-call-panel-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}

.cx40-call-panel button,
.cx40-modal button{
  font:inherit;
}

.cx40-call-add,
.cx40-call-history{
  min-height:34px;
  padding:7px 14px;
  border-radius:12px;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}

.cx40-call-add{
  color:#fff;
  background:linear-gradient(
    135deg,
    #2376f3,
    #3c82f6
  );
  border:1px solid #4c91ff;
  box-shadow:0 8px 18px rgba(37,118,243,.2);
}

.cx40-call-history{
  color:#ecf2ff;
  background:#253351;
  border:1px solid #415171;
}

.cx40-call-add:disabled,
.cx40-call-history:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.cx40-overlay{
  position:fixed;
  inset:0;
  z-index:13050;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(2,8,23,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.cx40-modal{
  width:min(760px,100%);
  max-height:min(90vh,820px);
  overflow:auto;
  color:#e8eefc;
  background:#0d1830;
  border:1px solid #2b3b5f;
  border-radius:18px;
  box-shadow:0 32px 90px rgba(0,0,0,.42);
}

.cx40-modal-head{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:17px 18px;
  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(86,127,255,.22),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #11214a,
      #0e1933
    );
  border-bottom:1px solid #2a3b62;
}

.cx40-modal-head h3{
  margin:0;
  color:#fff!important;
  font-size:17px!important;
}

.cx40-modal-head p{
  margin:5px 0 0;
  color:#aab7d1!important;
  font-size:10px;
}

.cx40-modal-close{
  width:35px;
  height:35px;
  min-height:35px!important;
  padding:0!important;
  color:#fff!important;
  background:#263654!important;
  border:1px solid #415173!important;
  border-radius:10px!important;
  font-size:19px!important;
  cursor:pointer;
}

.cx40-modal-body{
  padding:18px;
}

.cx40-call-customer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:15px;
  padding:12px 13px;
  background:#101f3c;
  border:1px solid #293d65;
  border-radius:12px;
}

.cx40-call-customer strong{
  display:block;
  color:#fff;
  font-size:13px;
}

.cx40-call-customer span{
  display:block;
  margin-top:3px;
  color:#9fb0cf;
  font-size:10px;
}

.cx40-call-customer a{
  padding:8px 11px;
  color:#e7fff0;
  background:#147d47;
  border:1px solid #2aa865;
  border-radius:10px;
  font-size:11px;
  font-weight:850;
  text-decoration:none;
}

.cx40-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.cx40-field{
  min-width:0;
}

.cx40-field.cx40-wide{
  grid-column:1 / -1;
}

.cx40-field label{
  display:block;
  margin-bottom:5px;
  color:#aebbd3;
  font-size:10px;
  font-weight:750;
}

.cx40-field input,
.cx40-field select,
.cx40-field textarea{
  width:100%;
  min-height:41px;
  padding:9px 11px;
  color:#f5f8ff;
  background:#09152c;
  border:1px solid #30446d;
  border-radius:10px;
  outline:none;
  font:inherit;
  font-size:11px;
}

.cx40-field textarea{
  min-height:100px;
  resize:vertical;
}

.cx40-field input:focus,
.cx40-field select:focus,
.cx40-field textarea:focus{
  border-color:#4d8dff;
  box-shadow:0 0 0 3px rgba(77,141,255,.13);
}

.cx40-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:9px;
  margin-top:16px;
}

.cx40-modal-actions button{
  min-height:40px!important;
  padding:9px 15px!important;
  border-radius:11px!important;
  font-size:11px!important;
  font-weight:850!important;
  cursor:pointer;
}

.cx40-cancel{
  color:#e9effc!important;
  background:#253451!important;
  border:1px solid #405171!important;
}

.cx40-save{
  color:#fff!important;
  background:linear-gradient(
    135deg,
    #216ff0,
    #8056f5
  )!important;
  border:0!important;
}

.cx40-history-list{
  display:grid;
  gap:10px;
}

.cx40-history-item{
  padding:13px;
  background:#101e39;
  border:1px solid #293c61;
  border-radius:12px;
}

.cx40-history-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.cx40-history-result{
  color:#fff;
  font-size:12px;
  font-weight:850;
  text-transform:capitalize;
}

.cx40-history-date{
  color:#96a7c6;
  font-size:9px;
  text-align:right;
}

.cx40-history-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  margin-top:7px;
  color:#9faecc;
  font-size:9px;
}

.cx40-history-note{
  margin-top:9px;
  padding:9px 10px;
  color:#dbe4f6;
  background:#0a152b;
  border-radius:9px;
  font-size:10px;
  line-height:1.55;
  white-space:pre-wrap;
}

.cx40-empty{
  padding:34px 16px;
  color:#9eacc5;
  text-align:center;
  font-size:11px;
}

.cx40-toast{
  position:fixed;
  top:18px;
  right:18px;
  z-index:14000;
  max-width:min(390px,calc(100vw - 36px));
  padding:11px 14px;
  color:#fff;
  background:#0c1b38;
  border:1px solid #345084;
  border-radius:12px;
  box-shadow:0 18px 45px rgba(2,8,23,.3);
  font-size:11px;
  font-weight:700;
}

.cx40-toast.is-error{
  background:#3a1018;
  border-color:#9f3042;
}

@media(max-width:680px){
  .cx40-overlay{
    align-items:end;
    padding:10px;
  }

  .cx40-modal{
    max-height:92vh;
    border-radius:18px 18px 12px 12px;
  }

  .cx40-form-grid{
    grid-template-columns:1fr;
  }

  .cx40-field.cx40-wide{
    grid-column:auto;
  }

  .cx40-call-customer{
    align-items:flex-start;
    flex-direction:column;
  }

  .cx40-call-customer a{
    width:100%;
    text-align:center;
  }
}

/* CODSHIPX_QUICK_CALL_ROW_ICON_V41 */

.cx41-row-call{
  position:relative;
  display:inline-grid!important;
  place-items:center!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0 4px!important;
  color:#86e9ff!important;
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255,255,255,.14),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      #12375e,
      #0b2547
    )!important;
  border:1px solid #2777ae!important;
  border-radius:11px!important;
  box-shadow:
    0 7px 18px rgba(0,116,184,.18),
    inset 0 0 0 1px rgba(115,226,255,.05)!important;
  cursor:pointer!important;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease!important;
}

.cx41-row-call:hover{
  color:#fff!important;
  border-color:#49c5ff!important;
  box-shadow:
    0 9px 22px rgba(0,148,225,.28),
    0 0 0 3px rgba(73,197,255,.08)!important;
  transform:translateY(-1px);
}

.cx41-row-call:active{
  transform:translateY(0);
}

.cx41-row-call svg{
  width:15px;
  height:15px;
  pointer-events:none;
}

.cx41-row-call-count{
  position:absolute;
  top:-7px;
  right:-7px;
  display:grid;
  place-items:center;
  min-width:17px;
  height:17px;
  padding:0 4px;
  color:#101828;
  background:#ffe66f;
  border:2px solid #0a1832;
  border-radius:999px;
  font-size:8px;
  font-weight:950;
  line-height:1;
  pointer-events:none;
}

.cx41-row-call-count[hidden]{
  display:none!important;
}

.cx41-row-call[data-cx41-error="1"]{
  color:#ffb6bf!important;
  border-color:#8d3447!important;
  background:linear-gradient(
    145deg,
    #431b2a,
    #2b1420
  )!important;
}

@media(max-width:700px){
  .cx41-row-call{
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    margin:0 2px!important;
  }
}

/* CODSHIPX_QUICK_CALL_PHONE_MATCH_V42 */

.cx41-row-call{
  flex:0 0 auto!important;
}
