/*
 Theme Name: Astra Child
 Theme URI: https://wpastra.com/
 Description: Child Theme for Astra
 Author: Your Name
 Author URI: http://example.com
 Template: astra
 Version: 1.0.0
*/

/* هنا يمكنك إضافة أي CSS مخصص لاحقاً */

/* Force homepage layout to be vertical LTR */
body.home {
    direction: ltr !important;
    text-align: left !important;
}

/* Override Astra/Elementor flex layouts */
body.home .ast-container,
body.home .ast-row,
body.home .site-content,
body.home .entry-content,
body.home .elementor-section-wrap,
body.home .elementor-row,
body.home .elementor-container,
body.home .wp-block-columns {
    display: block !important;
    flex-direction: column !important;
}

/* Make each section full-width stacked */
body.home section,
body.home .elementor-section,
body.home .elementor-column,
body.home .wp-block-column {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
}

/* حل مشكلة التباعد في الفوتر بسبب الكود العام */
.site-footer section,
footer section {
  padding: 15px 0 !important; /* رجّع المسافة الطبيعية للفوتر */
}

/* تنسيق أيقونات السوشيال ميديا في الفوتر */
.footer-social {
  display: flex;
  flex-direction: column; /* يخليهم تحت بعض */
  gap: 10px; /* مسافة بين كل لينك والتاني */
}

.footer-social a {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #333; /* لون النص */
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social i {
  width: 24px;   /* مساحة ثابتة للأيقونة */
  text-align: center; /* يخلي الأيقونة في النص */
  margin-right: 10px; 
  font-size: 20px;
  color: #cca300;
}

.footer-social a:hover {
  color: #cca300; /* النص يتلون عند المرور */
}







/* تنسيق صفحة الداشبورد */
/* Subscription card styles for Astra child theme */
/* Subscription card modern design */
.acs-card {
    padding: 24px;
    margin: 20px 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.acs-title {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #222;
}

.acs-details > div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.acs-label {
    font-weight: 600;
    color: #555;
}

.acs-subtitle {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

#acs-devices {
    margin-top: 12px;
}

.acs-device {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
    transition: 0.2s ease;
}

.acs-device:hover {
    background: #f5f5f5;
}

.acs-remove-device {
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.acs-remove-device:hover {
    background: #c72b36;
}

.acs-empty {
    color: #666;
    font-style: italic;
}

























