#doctor-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin: 16px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: right;
    background: #ffffff;
    width: 95%;
  }
  
  .card-header {
    display: flex;
    align-items: center;
    width: 100%;
  }
  
  .card-header img {
    border-radius: 50%;
    width: 85px;
    height: 85px;
    margin-left: 16px;
    border: 3px solid #3861fb;
    max-width: none;
}
  
  .card-header h2 {
    margin: 0;
    font-size: 1.25rem;
    flex-grow: 1;
  }
  
  .card-body p {
    margin: 8px 0 0;
    width: 100%;
  }
  
  .card-footer {
    margin-top: 16px;
    width: 100%;
  }
  
  .card-footer a {
    text-decoration: none;
    color: #fff;
    background-color: #3861fb;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    width: 100%;
  }

  .gold-star-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('/blog/wp-content/plugins/doctor-widget/star-logo.png'); /* Replace with the correct path to your gold star icon */
    background-size: cover;
    vertical-align: middle;
  }
  
  .price-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('/blog/wp-content/plugins/doctor-widget/price-logo.png'); /* Replace with the correct path to your price icon */
    background-size: cover;
    vertical-align: middle;
  }
  
  .rating-price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

  .doctor-rating, .doctor-price {
    margin: 0;
  }


  @media (min-width: 768px) {
    #doctor-card-container {
      flex-direction: row;
    }
  }
  
  @media (max-width: 767px) {
    #doctor-card-container {
      flex-direction: column;
    }
  }

  .price-text {
    text-align: center;
    color: #2b2f33;
    font-weight: 700;
    font-size: 15px;
}

.price-itself {
  text-align: center;
  color: #16a34a;
  font-size: 20px;
  line-height: 5px;
}

.guarantee-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin: 10px;
}

.guarantee-text {
  text-align: center;
  font-weight: 600;
  color: #1e293b;
  padding-top: 20px;
}

button.submit-button {
  font-size: 14px;
  font-weight: 500;
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
}

button.submit-button:hover {
  background-color: #0056b3;
}

button.submit-button.loading {
  background-color: grey;
  color: transparent;
  pointer-events: none;
}

button.submit-button.loading::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  height: 100%;
  width: 0;
  background-color: #16a34a;
  animation: loading 20s linear forwards;
}

@keyframes loading {
  0% {
    left: 100%;
    width: 0;
  }
  100% {
    left: 0;
    width: 100%;
  }
}

.form-group.half-width {
  margin: 1%;
}
.doctor-title {
  font-size: 16px;
  font-weight: 600;
  color: #2b2f33;
  margin-bottom: 5px;
}
.im-doctor {
  text-align: right;
  color: #2b2f33;
  font-weight: 600;
}

.loading-text {
  text-align: center;
  font-size: 14px;
  color: #007BFF;
  margin-top: 10px;
}

.modal .close {
  position: absolute;
  top: 5px;
  left: 15px;
  color: #aaa;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  display: inline;
}

.modal .close:hover,
.modal .close:focus {
  color: black;
  text-decoration: none;
}

.modal p {
  margin-bottom: 13px;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.online-indicator {
  width: 12px;
  height: 12px;
  background-color: #32CD32; /* Modern green color */
  border-radius: 50%;
  position: absolute;
  bottom: 15px;
  left: 25px;
}


  .modal { display: none; position: fixed; z-index: 999999999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.4); }
  .modal-content { background-color: #fefefe; margin: 15% auto; padding: 20px; border: 1px solid #888; width: 90%; max-width: 600px; position: relative; border-radius: 15px; }
  .close { color: #aaa; font-size: 28px; font-weight: bold; position: absolute; top: -20px; right: -20px; cursor: pointer; }
  .close:hover, .close:focus { color: black; text-decoration: none; }
  .form-group { margin-bottom: 15px; }
  .half-width { width: 48%; display: inline-block; }
  .full-width { width: 100%; }
  .form-group label { display: block; margin-bottom: 5px; }
  .form-group input, .form-group select { width: 100%; padding: 10px; box-sizing: border-box; }
  .submit-button { background-color: #007BFF; color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; }
  .submit-button:hover { background-color: #0056b3; }
  .spinner { border: 4px solid rgba(255, 255, 255, 0.3); border-radius: 50%; border-top: 4px solid #fff; width: 20px; height: 20px; animation: spin 1s linear infinite; display: inline-block; }
  @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
  .modal-header { display: flex; align-items: flex-start; }
  .modal-doctor-image { width: 50px; height: 50px; border-radius: 50%; margin-left: 10px; }
  .modal-text-wrapper { flex: 1; }
  .modal-text-wrapper p {text-align: right;}
  .toast { position: fixed; bottom: 20px; right: 20px; background-color: rgba(0,0,0,0.7); color: white; padding: 10px 20px; border-radius: 5px; z-index: 1000; }
  .toast.error { background-color: red; }
  .proceed-button { background-color: #007BFF; color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; margin-top: 20px; width: 100%;}
  .proceed-button:hover { background-color: #0056b3; }
  .guarantee-icon { width: 20px; height: 20px; vertical-align: middle; }