.l4d-companies .toggle-status {
    background: none;
    border: 0;
    cursor: pointer;
}

.l4d-companies .toggle-status i {
    font-size: 1.2em;
}
.company-tree,
.company-tree ul {
  list-style: none;
  padding-left: 1rem;
}

.company-node {
  margin: 0.25rem 0;
}

.node-line {
  gap: 0.25rem;
}

.tree-toggle {
  cursor: pointer;
  width: 14px;
}

.tree-spacer {
  display: inline-block;
  width: 14px;
}

.company-children {
  margin-left: 1.25rem;
  border-left: 1px dashed #ddd;
  padding-left: 0.75rem;
}
.company-avatar {
  font-size: 0.85rem;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
}


.l4d-companies {
    background: #f8f9fb;
    border-radius: 12px;
}

.l4d-companies .card {
    border-radius: 12px;
}


.l4d-companies .btn {
    border-radius: 8px;
}

.form-switch .form-check-input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* Mata cualquier pseudo-elemento de WP */
.form-switch .form-check-input[type="checkbox"]::before,
.form-switch .form-check-input[type="checkbox"]::after {
    content: none !important;
    display: none !important;
}

.form-switch .form-check-input {
  background-image: var(--bs-form-switch-bg) !important;
	background-repeat:no-repeat;
  width: 2.5em;
  height: 1.25em;
  border-radius: 2em;
}

/* Thumb limpio (solo uno) */
.form-switch .form-check-input:checked {
    background-position: right center;
}

/* Focus sin basura de WP */
.form-check-input:focus {
    box-shadow: none !important;
}





.crm-company-card {
  border-radius: 1rem;
}

.crm-summary-card {
  border: 1px solid #e9ecef;
  border-radius: .9rem;
  background: #fff;
}

.crm-icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.l4d-tree .card {
  border-radius: .9rem;
}

#company-profile-container .card,
#companyForm .card {
  border-radius: 1rem;
}

#company-profile-container .small.text-muted,
#companyForm .small.text-muted {
  letter-spacing: .01em;
}

.bg-primary-subtle { background: rgba(13,110,253,.12); }
.text-primary { color: #0d6efd; }
.border-primary-subtle { border-color: rgba(13,110,253,.2) !important; }

.bg-secondary-subtle { background: rgba(108,117,125,.12); }
.text-secondary { color: #6c757d; }
.border-secondary-subtle { border-color: rgba(108,117,125,.2) !important; }

.bg-success-subtle { background: rgba(25,135,84,.12); }
.text-success { color: #198754; }
.border-success-subtle { border-color: rgba(25,135,84,.2) !important; }

.bg-danger-subtle { background: rgba(220,53,69,.12); }
.text-danger { color: #dc3545; }
.border-danger-subtle { border-color: rgba(220,53,69,.2) !important; }

.bg-info-subtle { background: rgba(13,202,240,.12); }
.text-info { color: #0dcaf0; }
.border-info-subtle { border-color: rgba(13,202,240,.2) !important; }


#companyForm .card .card-body {
  padding: 1.25rem;
}

#companyForm .form-label {
  font-weight: 500;
  margin-bottom: .4rem;
}

#logoDropZone,
#holidayCsvDrop {
  transition: all .2s ease;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#logoDropZone:hover,
#holidayCsvDrop:hover {
  background: #f8f9fa;
  border-color: #0d6efd !important;
}

#companyForm .table th {
  white-space: nowrap;
}

#companyForm .sticky-top.card {
  top: 1rem;
}

#holidayList .list-group-item {
  border-radius: .75rem;
  margin-bottom: .5rem;
}

