
/* StomaDent CRM v5.3 — Refo/TL transfer and group administration */

.v53-transfer-panel{
  grid-column:1 / -1;
  margin-top:4px;
  padding:13px;
  border:1px solid #dce3f4;
  border-radius:12px;
  background:linear-gradient(135deg,#f7f9ff,#eef2ff);
}
.v53-transfer-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:9px;
}
.v53-transfer-title b{
  color:#24355f;
  font-size:11px;
}
.v53-transfer-title small{
  color:#74809a;
  font-size:8px;
}
.v53-transfer-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}
.v53-transfer-row select{
  width:100%;
  height:40px;
  padding:0 10px;
  border:1px solid #cfd8ec;
  border-radius:9px;
  background:#fff;
  color:#263149;
  font-size:11px;
}
.v53-transfer-button{
  min-width:104px;
  height:40px;
  padding:0 14px;
  border:0;
  border-radius:9px;
  background:#4058d6;
  color:#fff;
  cursor:pointer;
  font-size:10px;
  font-weight:800;
}
.v53-transfer-button:disabled{
  cursor:not-allowed;
  opacity:.5;
}

.v53-group-delete{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  grid-column:2 / 4!important;
  justify-self:start!important;
  width:auto!important;
  min-width:63px!important;
  height:28px!important;
  margin-top:10px!important;
  padding:0 8px!important;
  border:1px solid #edc8cc!important;
  border-radius:8px!important;
  background:#fff4f5!important;
  color:#b53b47!important;
  cursor:pointer!important;
  font-size:9px!important;
  font-weight:800!important;
}
.v53-group-delete:hover{
  background:#ffe7e9!important;
  border-color:#e5aeb4!important;
}
.v53-group-delete svg{
  width:13px;
  height:13px;
}

.v53-modal-layer{
  position:fixed;
  z-index:5000;
  inset:0;
  display:grid;
  place-items:center;
  padding:16px;
  background:rgba(13,25,54,.46);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
.v53-modal{
  width:min(470px,100%);
  overflow:hidden;
  border:1px solid #dfe5ef;
  border-radius:17px;
  background:#fff;
  box-shadow:0 28px 80px rgba(16,31,67,.28);
}
.v53-modal header{
  padding:18px 20px 13px;
  border-bottom:1px solid #edf0f5;
}
.v53-modal h3{
  margin:0;
  color:#1c2946;
  font-size:17px;
}
.v53-modal header p{
  margin:7px 0 0;
  color:#727d93;
  font-size:10px;
  line-height:1.55;
}
.v53-modal-body{
  padding:18px 20px;
}
.v53-modal-warning{
  margin-bottom:13px;
  padding:11px 12px;
  border:1px solid #f1d1a3;
  border-radius:10px;
  background:#fff8e9;
  color:#845d20;
  font-size:10px;
  line-height:1.5;
}
.v53-modal label{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:#566177;
  font-size:9px;
  font-weight:800;
}
.v53-modal select{
  width:100%;
  height:42px;
  padding:0 10px;
  border:1px solid #d6dce7;
  border-radius:9px;
  background:#fff;
  color:#263149;
  font-size:11px;
}
.v53-modal footer{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:13px 20px 18px;
}
.v53-modal footer button{
  min-height:39px;
  padding:0 15px;
  border-radius:9px;
  cursor:pointer;
  font-size:10px;
  font-weight:800;
}
.v53-modal-cancel{
  border:1px solid #d8deea;
  background:#fff;
  color:#46516a;
}
.v53-modal-confirm{
  border:1px solid #c94752;
  background:#d84b57;
  color:#fff;
}

.v53-toast{
  position:fixed;
  z-index:6000;
  right:20px;
  bottom:20px;
  max-width:380px;
  padding:12px 15px;
  border-radius:11px;
  background:#172b5e;
  color:#fff;
  box-shadow:0 15px 34px rgba(18,35,74,.28);
  font-size:10px;
  font-weight:750;
}
.v53-toast.error{
  background:#a83f49;
}

@media(max-width:640px){
  .v53-transfer-row{
    grid-template-columns:1fr;
  }
  .v53-transfer-button{
    width:100%;
  }
  .v53-group-delete{
    min-width:50px!important;
    padding:0 6px!important;
  }
}
