/* =========================================================
   DOCTOR DETAIL PAGE
   ========================================================= */

/* HERO SECTION */
.dd-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 3rem 0;
  color: white;
  margin-bottom: 2rem;
}

.dd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.dd-back:hover {
  opacity: 1;
}

.dd-hero-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

.dd-hero-image {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.dd-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dd-hero-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dd-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.dd-specialty {
  font-size: 1.125rem;
  opacity: 0.9;
  font-weight: 500;
}

.dd-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dd-rating-stars {
  color: #ffd700;
  font-size: 1.125rem;
}

.dd-rating-value {
  font-weight: 700;
  font-size: 1.125rem;
}

.dd-rating-count {
  opacity: 0.8;
  font-size: 0.875rem;
}

.dd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.dd-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  opacity: 0.9;
}

.dd-meta-item i {
  font-size: 0.875rem;
}

.dd-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.dd-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.dd-btn-primary {
  background: white;
  color: #667eea;
}

.dd-btn-primary:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dd-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.dd-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* MAIN CONTENT */
.dd-content {
  padding: 2rem 0 4rem;
}

.dd-content-inner {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

/* SECTIONS */
.dd-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dd-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark, #1f2937);
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dd-section-title i {
  color: var(--primary, #667eea);
  font-size: 1.25rem;
}

/* INFO ITEMS */
.dd-info-item {
  margin-bottom: 1.5rem;
}

.dd-info-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dd-info-value {
  font-size: 1.0625rem;
  color: var(--dark, #1f2937);
  font-weight: 500;
}

/* EDUCATION LIST */
.dd-education-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.dd-education-item {
  padding: 1rem;
  background: #f9fafb;
  border-radius: 10px;
  border-left: 4px solid var(--primary, #667eea);
}

.dd-education-degree {
  font-weight: 600;
  color: var(--dark, #1f2937);
  margin-bottom: 0.25rem;
}

.dd-education-institution {
  color: #6b7280;
  font-size: 0.9375rem;
}

.dd-education-year {
  color: var(--primary, #667eea);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* SPECIALTIES */
.dd-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dd-specialty-badge {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* EXPERIENCE LIST */
.dd-experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dd-experience-item {
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
  border-left: 4px solid var(--primary, #667eea);
}

.dd-experience-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dd-experience-position {
  font-weight: 700;
  color: var(--dark, #1f2937);
  font-size: 1.0625rem;
}

.dd-experience-period {
  color: var(--primary, #667eea);
  font-weight: 600;
  font-size: 0.875rem;
}

.dd-experience-institution {
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

.dd-experience-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.dd-experience-location i {
  font-size: 0.75rem;
}

.dd-experience-description {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* TREATMENTS GRID */
.dd-treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.dd-treatment-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark, #1f2937);
  transition: all 0.2s;
  border: 2px solid transparent;
}

.dd-treatment-card:hover {
  background: white;
  border-color: var(--primary, #667eea);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dd-treatment-card i {
  color: var(--primary, #667eea);
  font-size: 1.125rem;
}

.dd-treatment-card span {
  font-weight: 500;
}

/* TECHNOLOGIES GRID */
.dd-technologies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.dd-technology-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #f9fafb;
  border-radius: 10px;
}

.dd-technology-item i {
  color: var(--primary, #667eea);
  font-size: 1rem;
}

.dd-technology-item span {
  font-weight: 500;
  color: var(--dark, #1f2937);
}

/* SIDEBAR */
.dd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dd-sidebar-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dd-sidebar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark, #1f2937);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dd-sidebar-title i {
  color: var(--primary, #667eea);
  font-size: 1rem;
}

/* LANGUAGES */
.dd-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dd-language-badge {
  padding: 0.5rem 0.875rem;
  background: #f3f4f6;
  color: var(--dark, #1f2937);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* HOSPITALS LIST */
.dd-hospitals-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dd-hospital-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.dd-hospital-item:hover {
  background: #f3f4f6;
  transform: translateX(4px);
}

.dd-hospital-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.dd-hospital-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dd-hospital-info {
  flex: 1;
  min-width: 0;
}

.dd-hospital-name {
  font-weight: 600;
  color: var(--dark, #1f2937);
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.dd-hospital-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #6b7280;
  font-size: 0.8125rem;
}

.dd-hospital-location i {
  font-size: 0.75rem;
}

/* UNITS LIST */
.dd-units-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dd-unit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  background: #f9fafb;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark, #1f2937);
  transition: all 0.2s;
}

.dd-unit-item:hover {
  background: #f3f4f6;
  transform: translateX(4px);
}

.dd-unit-item i {
  color: var(--primary, #667eea);
  font-size: 1.125rem;
  width: 24px;
  text-align: center;
}

.dd-unit-item span {
  font-weight: 500;
  font-size: 0.9375rem;
}

/* CERTIFICATES LIST */
.dd-certificates-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dd-certificate-item {
  padding: 1rem;
  background: #f9fafb;
  border-radius: 10px;
  border-left: 4px solid var(--primary, #667eea);
}

.dd-certificate-name {
  font-weight: 600;
  color: var(--dark, #1f2937);
  margin-bottom: 0.25rem;
}

.dd-certificate-org {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.dd-certificate-year {
  color: var(--primary, #667eea);
  font-weight: 600;
  font-size: 0.8125rem;
}

/* MEMBERSHIPS LIST */
.dd-memberships-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dd-membership-item {
  padding: 0.875rem;
  background: #f9fafb;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: var(--dark, #1f2937);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .dd-content-inner {
    grid-template-columns: 1fr;
  }

  .dd-hero-content {
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
  }

  .dd-hero-image {
    width: 150px;
    height: 150px;
  }

  .dd-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .dd-hero {
    padding: 2rem 0;
  }

  .dd-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dd-hero-image {
    margin: 0 auto;
  }

  .dd-cta {
    justify-content: center;
  }

  .dd-treatments-grid,
  .dd-technologies-grid {
    grid-template-columns: 1fr;
  }
}
