/* Dr CTA (RTL Clean) - نسخة محسّنة */

.drcta{
  direction: rtl;
}

.drcta__inner{
  margin: 0 auto;
  padding: 32px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 14px 44px rgba(102,126,234,.28);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== Header - صف واحد مع صورة كبيرة ===== */
.drcta__header{
  display: flex;
  align-items: center;
  gap: 20px;
}

.drcta__id{ 
  line-height: 1.5;
  flex: 1;
}

.drcta__name{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .3px;
}

.drcta__title{
  font-size: 16px;
  opacity: .93;
  font-weight: 800;
  margin-top: 6px;
}

.drcta__subtitle{
  font-size: 14px;
  opacity: .87;
  margin-top: 6px;
  font-weight: 600;
}

/* Avatar - أكبر بكثير */
.drcta-avatar{
  width: 100px;
  height: 100px;
  border-radius: 20px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drcta-avatar img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 25%;
}

.drcta-avatar--fallback svg{
  opacity: .95;
  width: 50px;
  height: 50px;
}

/* ===== Body ===== */
.drcta__body{
  text-align: right;
  padding: 0 8px;
}

.drcta__headline{
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .3px;
  line-height: 1.3;
}

.drcta__text{
  margin: 0;
  opacity: .94;
  font-size: 17px;
  line-height: 1.75;
  max-width: 65ch;
}

/* ===== Actions - صف أفقي ===== */
.drcta__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.drcta__btn{
  flex: 1;
  min-width: 200px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 14px;
  text-decoration: none !important;
  color: inherit;
  font-weight: 800;
  transition: all .25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.drcta__btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.drcta__btnIcon{
  font-size: 20px;
  line-height: 1;
  opacity: .96;
}

.drcta__btnLabel{
  font-size: 15px;
  font-weight: 900;
  opacity: .97;
}

.drcta__btnValue{
  grid-column: 2 / 3;
  font-size: 15px;
  font-weight: 900;
  margin-top: 4px;
  direction: ltr;
  unicode-bidi: isolate;
  opacity: .97;
}

/* Call button */
.drcta__btn--call{
  background: #ffffff;
  color: #2c3e50 !important;
}

.drcta__btn--call:hover{
  background: #f8f9fa;
}

/* WhatsApp button */
.drcta__btn--wa{
  background: #25D366;
  color: #fff !important;
}

.drcta__btn--wa:hover{
  background: #22c55e;
}

/* ===== Footer ===== */
.drcta__footer{
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.drcta__metaLabel{
  font-size: 14px;
  opacity: .93;
  font-weight: 900;
}

.drcta__chips{
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.drcta__chip{
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 14px;
  font-weight: 800;
  opacity: .96;
}

/* ===== Minimal ===== */
.drcta--minimal .drcta__inner{
  padding: 20px 24px;
  border-radius: 16px;
  flex-direction: row;
  align-items: center;
}

.drcta--minimal .drcta__header{
  flex: 1;
}

.drcta--minimal .drcta__body{
  font-size: 15px;
  opacity: .95;
  padding: 0;
}

.drcta--minimal .drcta__actions{ 
  display: none; 
}

.drcta--minimal .drcta__footer{
  display: none;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .drcta__actions{
    flex-direction: column;
  }
  
  .drcta__btn{
    min-width: 100%;
  }
  
  .drcta__headline{ 
    font-size: 26px; 
  }
  
  .drcta__text{ 
    font-size: 16px; 
  }
}

@media (max-width: 600px){
  .drcta__inner{ 
    padding: 24px 20px; 
  }
  
  .drcta__header{
    gap: 16px;
  }
  
  .drcta-avatar{ 
    width: 80px; 
    height: 80px; 
    border-radius: 16px; 
  }
  
  .drcta-avatar--fallback svg{
    width: 40px;
    height: 40px;
  }
  
  .drcta__name{
    font-size: 19px;
  }
  
  .drcta__title{
    font-size: 15px;
  }
  
  .drcta__headline{ 
    font-size: 24px; 
  }
  
  .drcta__text{ 
    font-size: 15px; 
  }
  
  .drcta__btn{
    padding: 16px 18px;
  }
}