/* SPARKER CRM DIRECT SELECTION V25.3 */
#crm253Toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:8px 0 10px;
  padding:9px 11px;
  border:1px solid #d4e0e6;
  border-radius:9px;
  background:#f8fbfc;
  color:#294553;
}
#crm253Toolbar>div:first-child{display:grid;gap:2px}
#crm253Toolbar b{font-size:10px}
#crm253Toolbar span{font-size:8px;color:#71838d}
#crm253Toolbar>div:last-child{display:flex;gap:6px}
#crm253Toolbar button{
  border:1px solid #cad8df;
  background:#fff;
  color:#31576a;
  border-radius:7px;
  padding:7px 9px;
  font-size:8px;
  font-weight:850;
  cursor:pointer;
}

.crm253-card{position:relative!important}
.crm253-card>.crm253-check{
  position:absolute!important;
  top:8px!important;
  right:8px!important;
  z-index:999!important;
  width:27px!important;
  height:27px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:7px!important;
  background:#ffffff!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.crm253-card>.crm253-check input{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:16px!important;
  height:16px!important;
  margin:0!important;
  border:1.5px solid #829ca8!important;
  border-radius:4px!important;
  background:#fff!important;
  cursor:pointer!important;
}
.crm253-card>.crm253-check input:checked{
  background:#f59d0b!important;
  border-color:#d98500!important;
  box-shadow:inset 0 0 0 3px #fff!important;
}

#crm253Bulk{
  position:fixed;
  z-index:20000;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  width:min(980px,calc(100vw - 34px));
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border:1px solid #314956;
  border-radius:11px;
  background:#0e1b24;
  color:#fff;
  box-shadow:0 18px 55px rgba(0,0,0,.32);
}
#crm253Bulk.hidden{display:none!important}
#crm253Bulk strong{font-size:10px;white-space:nowrap}
#crm253Bulk strong i{font-style:normal;font-size:17px;color:#ffad1d}
#crm253Bulk>div{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
#crm253Bulk button{
  border:1px solid #3c5562;
  border-radius:7px;
  background:#1b333f;
  color:#f2f8fa;
  padding:8px 10px;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
}
#crm253Bulk button.primary{
  background:#e28b00;
  border-color:#f2a11d;
  color:#fff;
}
@media(max-width:760px){
  #crm253Toolbar,#crm253Bulk{align-items:flex-start;flex-direction:column}
  #crm253Bulk>div{justify-content:flex-start}
}

/* SPARKER CRM V25.4 - CORPORATE CONFIRMATION */
#crm254Confirm{position:fixed;inset:0;z-index:30000;font-family:inherit}
#crm254Confirm.closing{opacity:0;transition:opacity .14s ease}
.crm254-backdrop{
  position:absolute;inset:0;background:rgba(7,18,26,.58);
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)
}
.crm254-dialog{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(520px,calc(100vw - 36px));box-sizing:border-box;
  background:#fff;border:1px solid #d8e2e7;border-radius:14px;
  box-shadow:0 28px 90px rgba(0,0,0,.34);overflow:hidden;color:#172d39;
  animation:crm254In .16s ease-out
}
@keyframes crm254In{from{opacity:0;transform:translate(-50%,-47%) scale(.985)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.crm254-dialog header{display:flex;gap:13px;padding:18px 19px 14px;border-bottom:1px solid #e3eaee}
.crm254-icon{
  flex:0 0 38px;width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;
  background:#fff4df;border:1px solid #f1d39c;color:#c97800;font-size:20px;font-weight:900
}
.crm254-dialog.forwarder .crm254-icon{background:#eaf3f8;border-color:#c8dce6;color:#2b6078}
.crm254-dialog.dual .crm254-icon{background:#eef6ef;border-color:#cde0cf;color:#39704a}
.crm254-dialog header small{display:block;color:#d98200;font-size:8px;font-weight:950;letter-spacing:1.15px;margin-bottom:4px}
.crm254-dialog header h3{margin:0 0 5px;font-size:18px;line-height:1.2}
.crm254-dialog header p{margin:0;color:#687d88;font-size:9px;line-height:1.55}
.crm254-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:13px 19px 8px}
.crm254-summary>div{border:1px solid #dce5e9;border-radius:9px;background:#f8fafb;padding:9px 11px}
.crm254-summary span{display:block;color:#7a8c95;font-size:7.5px;font-weight:800;margin-bottom:3px}
.crm254-summary b{display:block;color:#213d4c;font-size:11px}
.crm254-list{margin:2px 19px 15px;padding:8px 10px;border:1px solid #e0e7eb;border-radius:9px;background:#fbfcfd;max-height:155px;overflow:auto}
.crm254-list>div{display:flex;gap:7px;align-items:center;padding:5px 2px;border-bottom:1px solid #edf1f3;color:#405a67;font-size:8.5px;font-weight:750}
.crm254-list>div:last-child{border-bottom:0}
.crm254-list>div span{color:#d88700}.crm254-list .more{color:#768993;font-weight:800}
.crm254-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 19px;background:#f8fafb;border-top:1px solid #e1e8ec}
.crm254-dialog footer button{border-radius:8px;padding:9px 13px;font-size:9px;font-weight:900;cursor:pointer}
.crm254-dialog footer .cancel{border:1px solid #ccd9df;background:#fff;color:#516a77}
.crm254-dialog footer .confirm{border:1px solid #dc8700;background:#f59d0b;color:#172934;box-shadow:0 2px 7px rgba(227,139,0,.18)}
.crm254-dialog.forwarder footer .confirm{border-color:#376b82;background:#427d97;color:#fff}
.crm254-dialog.dual footer .confirm{border-color:#4e805d;background:#5e956e;color:#fff}
#crm253Bulk.working{opacity:.65;pointer-events:none}
.crm254-toast{
  position:fixed;right:22px;bottom:22px;z-index:31000;
  min-width:270px;max-width:420px;display:flex;align-items:center;gap:9px;
  padding:11px 13px;border-radius:10px;border:1px solid #cce0d2;background:#f1f8f3;
  color:#315c3d;box-shadow:0 14px 40px rgba(0,0,0,.18);
  opacity:0;transform:translateY(8px);pointer-events:none;transition:.18s ease
}
.crm254-toast.show{opacity:1;transform:translateY(0)}
.crm254-toast.error{background:#fff2f2;border-color:#ebc8c8;color:#8d3e3e}
.crm254-toast span{width:23px;height:23px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#dceee1;font-weight:950}
.crm254-toast.error span{background:#f3dada}
.crm254-toast b{font-size:9px}
@media(max-width:600px){
  .crm254-dialog{width:calc(100vw - 20px)}
  .crm254-summary{grid-template-columns:1fr}
  .crm254-toast{left:12px;right:12px;bottom:12px;min-width:0}
}


/* SPARKER_CRM_CHECKBOX_LAYOUT_V25_5_START */

/*
  Global okunabilirlik kuralları input/label boyutlarını büyütüyor.
  CRM kart checkbox'larını kendi 28x28 alanına tamamen izole ediyoruz.
*/
#crmContent .crm253-card,
#crmContent .crm251-card{
  position:relative!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* V25.3 aktif seçim kutusu */
#crmContent .crm253-card > label.crm253-check{
  position:absolute!important;
  top:8px!important;
  right:8px!important;
  left:auto!important;
  bottom:auto!important;

  display:grid!important;
  place-items:center!important;

  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;

  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;

  margin:0!important;
  padding:0!important;
  gap:0!important;

  box-sizing:border-box!important;
  overflow:hidden!important;

  border:0!important;
  border-radius:7px!important;
  background:#fff!important;
  box-shadow:none!important;
  cursor:pointer!important;
  z-index:20!important;
}

/* label içindeki boş span global label span kuralından etkilenmesin */
#crmContent .crm253-card > label.crm253-check > span{
  display:none!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}

/* Asıl checkbox: global input width/min-height/padding değerlerini sıfırla */
#crmContent .crm253-card > label.crm253-check > input[type="checkbox"]{
  -webkit-appearance:none!important;
  appearance:none!important;

  display:block!important;
  position:static!important;

  width:16px!important;
  min-width:16px!important;
  max-width:16px!important;

  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;

  margin:0!important;
  padding:0!important;

  box-sizing:border-box!important;

  border:1.5px solid #829ca8!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
  outline:none!important;

  transform:none!important;
  cursor:pointer!important;
}

#crmContent .crm253-card > label.crm253-check > input[type="checkbox"]:checked{
  background:#f59d0b!important;
  border-color:#d98500!important;
  box-shadow:inset 0 0 0 3px #fff!important;
}

/* Eski V25.1 asseti hâlâ bağlıysa onun checkbox'ını da aynı şekilde düzelt */
#crmContent .crm251-card > label.crm251-check{
  position:absolute!important;
  top:8px!important;
  right:8px!important;
  left:auto!important;
  bottom:auto!important;

  display:grid!important;
  place-items:center!important;

  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;

  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;

  margin:0!important;
  padding:0!important;
  gap:0!important;

  box-sizing:border-box!important;
  overflow:hidden!important;

  border:0!important;
  border-radius:7px!important;
  background:#fff!important;
  box-shadow:none!important;
  z-index:19!important;
}

#crmContent .crm251-card > label.crm251-check > span{
  display:none!important;
}

#crmContent .crm251-card > label.crm251-check > input[type="checkbox"]{
  -webkit-appearance:none!important;
  appearance:none!important;

  display:block!important;
  position:static!important;

  width:16px!important;
  min-width:16px!important;
  max-width:16px!important;

  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;

  margin:0!important;
  padding:0!important;

  box-sizing:border-box!important;

  border:1.5px solid #829ca8!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}

#crmContent .crm251-card > label.crm251-check > input[type="checkbox"]:checked{
  background:#f59d0b!important;
  border-color:#d98500!important;
  box-shadow:inset 0 0 0 3px #fff!important;
}

/* Kart başlığının checkbox altına girmemesi için sağda güvenli alan */
#crmContent .crm253-card [data-crm-company],
#crmContent .crm251-card [data-crm-company]{
  max-width:calc(100% - 38px)!important;
  padding-right:0!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}

/* SPARKER_CRM_CHECKBOX_LAYOUT_V25_5_END */

