.yellowbooks-lead-form .form-group {
  margin-bottom: 1em;
}

.yellowbooks-lead-form label {
    display: block;
    margin-bottom: 0px;
    font-weight: 600;
    font-size: 13px;
}
.yellowbooks-lead-form input,
.yellowbooks-lead-form textarea,
.yellowbooks-lead-form select {
  width: 100%;
  padding: 10px;
  border: 2px solid #eee;
}
.yellowbooks-lead-form button {
  padding: 10px 20px;
  border: none;
}
.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}


.field-error {
  margin-top: 0.25rem;
}
span.f-profile svg {
    width: 40px;
}
span.fw-semibold{
    padding: 0 0 0 6px;
}
.mb-3.reply-user {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: row;
}
span.reply-m input {
    border: 1px dotted #eee;
    background: #eee;
    height: 20px;
    padding: 0;
    font-size: 12px;
}
.user-detail {
    display: flex;
    gap: 2px;
    border: 1px dashed #eee;
    align-items: center;
    background: #eee;
    border-radius: 6px;
    padding: 1px 5px 1px 0px;
}
.bcc-main {
    display: flex;
    align-items: center;
    gap: 5px;
}
.lead-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.lead-card {
    background: #fff;
    padding: 0px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}
.lead-card:hover{
box-shadow: 0px 4.01px 3.61px #0000000d;
}
.lead-card-header {
    display: flex;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    border-bottom: 0px solid #eee;
    padding: 10px 20px;
    margin-bottom: 10px;
    flex-direction: column;
    background: linear-gradient(135deg, #4d7b62 0%, #2f6b5a 100%);
    border-radius: 10px 10px 0 0;
}
.lead-title {
    color: #fff;
  font-size: 13px;
}
.lead-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding:0px 20px;
}
.yellowbooks-lead-dashboard{
   margin-bottom: 40px;
}
.yellowbooks-lead-dashboard .pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    justify-content: center;
    gap: 4px;
}
.yellowbooks-lead-dashboard .pagination .button {
    border: 1px solid #eee;
    padding: 3px 10px;
    border-radius: 5px;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    background: #fff;
}


.yellowbooks-lead-dashboard .pagination .button.button-primary{
   background: #e7ef06 !important;
   color: #000;
} 
.lead-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}


.lead-field:last-child {
    border-bottom: none;
    padding-bottom: 0; /* Optional */
}

.lead-field-label {
    font-weight: 600;
    color: #444;
    width: 30%;
    margin-right: 20px;
}
.lead-field-value {
    flex: 1;
    color: #333;
    display: flex;
    gap: 10px;
    align-items: center;
}
.yellow-btn.replied {
background-color: #b6d7a8;
}
.yellow-btn {
    background-color: #ffff;
    border: 1px solid #eee;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}
.yellow-btn.delete {
    background-color: #ffe0e0;
    color: #333;
    border: 1px solid #f95738;
}
.lead-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    padding:10px 20px;
    border-top: 2px solid #eee;
}
.action-buttons{
 display: flex;
  gap: 10px;
}
.lead-cta {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: -10px;
}
.lead-date {
    font-size: 12px;
    font-style: italic;
}
.lead-cta-lable {
    width: auto;
    border: 2px solid #eee;
    border-radius: 999px;
    text-align: center;
    background-color: #febe10;
    margin-top: -13px;
    font-size: 12px;
    padding: 0px 8px;
}
.lable-and-date {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}
 .form-step { display: none; }
.form-step.active { display: block; }

#progressbar { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    margin: 20px 0; 
}

#progressbar .progress-step { 
    width: 25px; 
    height: 25px; 
    border-radius: 50%; 
    background: #ccc; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#progressbar .progress-step.active {
    background: #28a745;
    color: #fff;
}

#progressbar .progress-step.active::after {
    content: "✔"; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #fff;
}

/* Connector */
#progressbar .progress-connector {
    flex: 1;
    height: 4px;
    background: #ccc;
    margin: 0 5px;
}

/* Connector fills if previous step is active */
#progressbar .progress-step.active + .progress-connector,
#progressbar .progress-connector.active {
    background: #28a745;
}

button.prevBtn.lead-btn{
    margin-right: 10px;
    border-radius: 3px;
}
button.nextBtn.lead-btn {
    border-radius: 3px;
}


.form-navigation {
    display: flex;
    justify-content: space-between;
} 
.button-loading {
  position: relative !important;
  color: transparent !important; /* hide the text while spinner shows */
  pointer-events: none !important;
}

.button-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}


/* Mobile*/
@media (max-width: 700px) {

.lead-card-body {
    padding:0px 10px;
}
 .lead-card-header {
    padding: 10px 10px;

}
.lead-card-actions {
 padding: 10px 10px;

}
 .lead-title {
    color: #fff;
    font-size: 12px;
}
.mb-3.reply-user {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: column;
}
}