

.Card-div {
    height: 160px;
    // height: 125px;
    width: 100%;
    // background-color: white;
    justify-content: space-between;
    align-items: center;
    display: flex;
    margin-top: 1.25rem;
}

.Card-header {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.Card {
    width: 296px;
    height: 126px;
    margin: 1rem;
}
.d3-pie-container{
    width: 100%;
    height: 100%;
    max-width: 684px;
    max-height: 380px !important;
    font-family: Arial, Helvetica, sans-serif;
  border-style: solid;
  border-color: #e5e7eb;
  // display: flex;
 margin:1rem;
  border-width: 1px;
  border-radius: 0.5rem;
   background-color: #fff;
}
.d3-bar-container {
  width: 100%;
  height: 100%;
  max-width: 1392px;
  max-height: 423px !important;
  font-family: Arial, Helvetica, sans-serif;
  border-style: solid;
  border-color: #e5e7eb;
  margin: 1rem;
  border-width: 1px;
  border-radius: 0.5rem;
   background-color: #fff;

}

// .d3-pie-container  {
//   text-align: center;
// }

#lead-source-chart svg {
  display: inline-block;
}
#lead-source-chart {
  display: flex;
  justify-content: center;
}


.title{
 font-weight: 600;

  font-size: 1.5rem;
  padding-top: 1.5rem;
  letter-spacing: -0.025em;
  padding-left: 1.5rem;

}
.subtitle {
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding-left: 1.5rem;
  color:hsl(0, 0%, 45.1%);
 
}

.newcard{
    width: 100%;
  height: 100%;
  max-width: 1392px;
  max-height: 423px !important;
  font-family: Arial, Helvetica, sans-serif;
  border-style: solid;
  border-color: #e5e7eb;
  margin: 1rem;
  border-width: 1px;
  border-radius: 0.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #fff;
  // overflow: hidden;
// display: flex;
 
}
.lead-source{
  padding-left:20px;
  color:gray
}
.cardnew{
  font-family: Arial, Helvetica, sans-serif;
  border-style: solid;
  border-color: #e5e7eb;
  width: 100%;
  max-width: 1392px;
  height: 100%;
  max-height: 125.6px;
  border-width: 1px;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 10px;
  overflow: hidden;
  // display: flex;
}

.cardheader{
  font-family: Arial, Helvetica, sans-serif;
  border-style: solid;
  border-color: #e5e7eb;
  width: 100%;
  // max-width: 296px;
  height: 100%;
  max-height: 125.6px;
  border-width: 1px;
  border-radius: 0.5rem;
  display: flex;
}

.cardnew h3 {
  padding-top: 1rem;
  padding-left: 1rem;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  display: flex;
}

.cardnew p {
  // margin: 4px 0;
  color: gray;
  font-size: 14px;

  padding-left: 1rem;
}
.overdue {
  color: red;
}
.due-soon {
  color: green;
}
.followup-status {
  font-size: 0.85rem;
  margin-top: 4px;
  color: #dc2626; /* red for overdue */
}


.new-card span {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.hot {
  background-color: #f44336;
  border-radius: 6px;
  font-size: 14px;
  color:white; /* red for 'Hot' priority or similar */
}



.new-card button {
  background: #f2f2f2;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.2s;
  font-size: 13px;
}

.new-card button:hover {
  background: #e0e0e0;
}




.card1 {
  padding: 10px;
  border-radius: 8px;
  background-color: #fff;
  font-family: sans-serif;
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 4px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.badge {
  background-color: red;
  color: white;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: bold;
}

.badge.hot {
  background-color: #e53935;
}

.score {
  font-size: 13px;
  color: #333;
}
.card-content {
  display: flex;
  // justify-content: space-between;
  align-items: center;
  padding: 0;
}

.left-info {
  display: flex;
  flex-direction: column;
}

.lead-name {
  font-size: 16px;
  font-weight: bold;
}

.employee-name {
  font-size: 14px;
  color: gray;
}

.badge-container {
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.hot {
  background-color: #f44336;
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.warm {
  background-color: #ffe082;
  color: #000;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.Low {
  background-color: #e0e0e0;
  color: #000;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.dashboard-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.d3-bar-container,
.newcard {
  flex: 1 1 48%;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}

.d3-pie-container{
    flex: 1 1 48%;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-left: 10px;
}