@import url("https://fonts.maateen.me/baloo-da-2/font.css");
@import url("https://fonts.maateen.me/adorsho-lipi/font.css");
@import url("https://fonts.maateen.me/bensen-handwriting/font.css");

:root {
  --primary: #e63946;
  --primary-green: #1e7e72;
  --secondary: #0f172a;
  --dark-footer: #1e293b;
  --text-light: #e2e8f0;
  --text-muted: #d1e0e2;
  --text-dark: #0f172a;
  --text-grey: #64748b;
}

:root {
  --btn-blue: #1c2b4b;
  --specialty-red: #d32f2f;
}
body {
  font-family: "Adorsho Lipi", sans-serif;
  /* font-family: 'BenSen Handwriting', cursive; */

  /* font-family: 'Baloo Da 2', sans-serif; */
  /* font-family: 'Hind Siliguri', sans-serif; */
  background: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "BenSen Handwriting", cursive;
}

/* ===========================
   Profile Section
   =========================== */
.profile-wrapper {
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  padding: 35px;
  margin-top: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 2px solid #e8f5e9;
  position: relative;
  transition: all 0.3s ease;
}

.profile-wrapper:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.profile-img-container {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 2px #1e7e72;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.profile-img-container:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 0 3px #1e7e72;
}

.profile-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dr-specialty {
  color: var(--specialty-red); /* Red color for specialty */
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
  display: block;
}

.dr-name {
  color: #198754; /* Green color for doctor names */
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.dr-degrees {
  font-size: 15px;
  color: #444;
  margin-bottom: 8px;
}

.dr-designation {
  font-weight: 700;
  color: #000;
  font-size: 16px;
}

.dr-hospital {
  font-weight: 600;
  font-size: 15px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.fees-container {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.fee-tag {
  background: #333; /* Dark Grey/Black */
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.fee-tag.old {
  background: #555;
}

.profile-footer-info {
  margin-top: 15px;
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #198754; /* Green color for location */
}

.profile-footer-info i {
  color: #198754; /* Green color for icons */
}

.rating-box {
  margin-top: 15px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
  border-radius: 20px;
  display: inline-block;
  font-weight: 700;
  color: #000;
  border: 2px solid #ffe082;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.rating-box i {
  color: #ffc107;
  margin-right: 4px;
}

/* ===========================
   Main Layout Sections
   =========================== */
.section-title-bar {
  background: linear-gradient(135deg, #1e7e72 0%, #26a69a 100%);
  color: white;
  padding: 14px 20px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
  border-radius: 10px 10px 0 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(30, 126, 114, 0.3);
  letter-spacing: 0.3px;
}

/* Chamber Cards (Right Side) */
.chamber-box {
  background: #fff;
  border: 2px solid #e0f2f1;
  border-radius: 12px;
  margin-bottom: 25px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.chamber-box:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
  border-color: #b2dfdb;
}

.chamber-content {
  padding: 30px;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
}

.chamber-hospital-name {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 5px;
}

.chamber-address {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.serial-btn {
  background: linear-gradient(135deg, #1c2b4b 0%, #2c3e5f 100%);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(28, 43, 75, 0.3);
}

.serial-btn:hover {
  background: linear-gradient(135deg, #0f1a30 0%, #1c2b4b 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(28, 43, 75, 0.4);
}

/* Features List (Diseases) */
.features-list {
  list-style: none;
  padding: 15px;
  margin: 0;
}

.features-list li {
  padding: 8px 0 8px 25px;
  position: relative;
  font-size: 15px;
  color: #333;
  border-bottom: 1px solid #f9f9f9;
}

.features-list li::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 5px;
  color: var(--primary-green);
}

/* Review Section */
.custom-review {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-top: 20px;
}

/* Star Rating Styles */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 5px;
  font-size: 20px;
}

.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  cursor: pointer;
  color: #ddd;
  transition: color 0.2s ease-in-out;
}

.star-rating label:before {
  content: "\f005";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* Hover effect - highlight all stars from hovered to the end */
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #ffc107;
}

/* Selected state - highlight all stars from selected to the end */
.star-rating input[type="radio"]:checked ~ label {
  color: #ffc107;
}

/* Active/Selected star and all following stars */
.star-rating input[type="radio"]:checked + label,
.star-rating input[type="radio"]:checked + label ~ label {
    color: #ffc107;
}

/* Review Form Styles */
.review-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
    width: 100%;
}

.review-input {
    flex: 1;
    height: 48px;
    padding: 12px 16px;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Adorsho Lipi', sans-serif;
}

.review-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(30, 126, 114, 0.1);
}

.review-input::placeholder {
    color: #999;
}

.review-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'BenSen Handwriting', cursive;
}

.review-submit-btn:hover {
    background: #176659;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 126, 114, 0.3);
}

.review-submit-btn:active {
    transform: translateY(0);
}

.review-submit-btn i {
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .review-input-wrapper {
        gap: 8px;
    }
    
    .review-input {
        height: 44px;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .review-submit-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .review-submit-btn .btn-text {
        display: none;
    }
    
    .review-submit-btn i {
        font-size: 16px;
    }
}
