
.notification { 
  display: none;
}
.notification.is-visible {
  display: block;
}

.muted-timestamp {
    font-size: 0.8rem;
    color: gray;
  }
  .hidden { display: none !important; }
  .flex   { display: flex !important; }
    

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}
/* About modal */
.about-modal-content {
    max-width: 900px;
    width: 90%;
  }
  
  .about-modal-body {
    max-height: 70vh;
    overflow: auto;
    line-height: 1.6;
  }
  
  .about-modal-body h4 {
    margin: 12px 0 6px;
  }
  
  .footer-links a { cursor: pointer; }

  /* روابط داخل نوافذ المودال (About / Contact) */
.modal .about-modal-body a {
    color: #3ae3ff;                /* اجعلها بيضاء بدل الأزرق */
    text-decoration: none;      /* أزل الخط السفلي */
  }
  
  .modal .about-modal-body a:visited {
    color: #fff;                /* لا تتحول إلى بنفسجي بعد الزيارة */
  }
  
  .modal .about-modal-body a:hover,
  .modal .about-modal-body a:focus {
    text-decoration: none;      /* إن رغبت بإظهار تفاعل: ضع underline هنا بدل none */
    opacity: 0.95;              /* لمسة خفيفة عند المرور */
    outline: none;              /* إزالة إطار التركيز الافتراضي */
  }
  
  .modal .about-modal-body a:focus-visible {
    outline: 2px solid rgba(255,255,255,0.6); /* إمكانية وصول: وميض تركيز واضح بدون تغيير اللون */
    outline-offset: 2px;
  }
  

body {
    
    background: linear-gradient(135deg, #67cada  0%, #1b263b 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: #fff;
    overflow-x: hidden;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(76, 161, 175, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b, #4ca1af, #2c3e50, #9d4edd);
}

.header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(76, 161, 175, 0.7);
}

.header h2 {
    margin-top: 30px;
    color: #4ca1af;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.header p {
    color: #a8dadc;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    position: relative;
    margin: 30px auto;
    max-width: 800px;
    width: 100%;
    height: 80vh;
    perspective: 1000px;
}

#concentric-map {
    width: 100%;
    height: 100%;
    position: relative;
}

.center-circle {

    position: absolute;
    top: 49.7%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 157px;
    height: 157px;
    /*
    background: radial-gradient(circle, #4ca1af, #2c3e50);*/
    background: #2e4456;
    border: 7px solid white !important;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    text-align: center;
    box-shadow: 
        0 0 30px rgba(76, 161, 175, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    z-index: 100;
    animation: pulse 3s infinite;
    transition: all 0.5s ease;
}

.center-circle h3 {
    font-size: 1rem;
    /*margin-bottom: 5px;*/
    color: #ffd166;
}

.center-circle p {
    font-size: 0.9rem;
    padding: 0 15px;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #4ca1af;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-btn:hover {
    background: rgba(76, 161, 175, 0.3);
    transform: translateY(-2px);
}

.control-btn i {
    font-size: 1.2rem;
}

.statistics {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    min-width: 150px;
    text-align: center;
    border: 1px solid rgba(76, 161, 175, 0.3);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #4ca1af;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #a8dadc;
}


#section-list {
    max-height: 300px; /* اجعلها قابلة للتمرير */
    overflow-y: auto;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
  }
  

.subsection-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.section-item.active {
    background-color: rgba(76, 161, 175, 0.2);
    border: 1px solid #4ca1af;
  }
.subsection-item:hover {
    opacity: 1 !important;
    filter: brightness(1.2);
}

.rotation-controls {
    display: flex;
    gap: 10px;
}

.rotation-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(76, 161, 175, 0.3);
    border: 1px solid #4ca1af;
    color: #ffffff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rotation-btn:hover {
    background: rgba(76, 161, 175, 0.5);
    transform: scale(1.1);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    max-height: 90vh;
    background: linear-gradient(135deg, #1b263b 0%, #0d1b2a 100%);
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(76, 161, 175, 0.5);
    position: relative;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    overflow-y: auto;/* اجعل المحتوى الداخلي هو من يقرر التمرير */
  display: flex;
  margin: 5% auto;
  flex-direction: column;
  z-index: 1001;
}
.modal.active .modal-content {
    transform: translateY(0);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(76, 161, 175, 0.3);
}
.modal-title {
    color: #ffd166;
    font-size: 1.8rem;
    font-weight: 700;
}
.close-btn {
    background: transparent;
    border: none;
    color: #a8dadc;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.close-btn:hover {
    color: #ff7e5f;
    transform: rotate(90deg);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #a8dadc;
    font-size: 1.1rem;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #4ca1af;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #ffd166;
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.3);
    outline: none;
}
.form-group textarea {
    height: 120px;
    resize: vertical;
}
.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}
.form-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.form-btn.primary {
    background: linear-gradient(135deg, #4ca1af, #2c3e50);
    color: white;
}
.form-btn.primary:hover {
    background: linear-gradient(135deg, #3d8c99, #1b263b);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.form-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #a8dadc;
    border: 1px solid #4ca1af;
}  
.form-btn.secondary:hover {
    background: rgba(76, 161, 175, 0.2);
    transform: translateY(-3px);
}

.database-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #4ca1af;
}

.db-icon {
    color: #ffd166;
}

.title-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px;
}

.title-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #a8dadc;
}

.subsection-label {
    position: absolute;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    z-index: 80;
    pointer-events: none;
    fill: #ffffff;
    text-shadow: 0 0 2px rgba(0,0,0,0.8);
}

.inner-label {
    position: absolute;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    z-index: 90;
    pointer-events: none;
    line-height: 1.3;
}

.license-control {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.license-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #4ca1af;
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    width: 200px;
    text-align: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.license-input:focus {
    border-color: #ffd166;
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.3);
    outline: none;
} 

.license-btn {
    background: linear-gradient(135deg, #4ca1af, #2c3e50);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.license-btn:hover {
    background: linear-gradient(135deg, #3d8c99, #1b263b);
    transform: translateY(-2px);
}       

.license-status {
    text-align: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(76, 161, 175, 0.2);
    display: inline-block;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.license-active {
    color: #06d6a0;
}

.license-inactive {
    color: #ff7e5f;
} 

.team-section {
    width: 70%;
    margin-top: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(76, 161, 175, 0.3);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-title {
    text-align: center;
    color: #ffd166;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(255, 209, 102, 0.7);
}

.team-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    gap: 25px;
    margin-top: 20px;
    justify-content: center;
}
@media (max-width: 400px) {

.team-title {
font-size: 1.3rem;
}
}
@media (max-width: 992px){
    .team-grid{
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  /* موبايل */
  @media (max-width: 576px){
    .team-grid{
      grid-template-columns: 1fr;
    }
  }
 /* .team-member:first-child {
    grid-column: 1 / -1; 
    justify-self: center; 
    max-width: 400px; 
  }*/
.team-member {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(76, 161, 175, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    width: 100%;
    transform: translateY(-5px);
   box-shadow: 0 10px 25px rgba(76, 161, 175, 0.3);
    border-color: rgba(76, 161, 175, 0.5);
}

.member-name {
    color: #3ae3ff;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.member-role {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 15px;
    font-style: italic;
}

.member-description {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(76, 161, 175, 0.2);
    border: 1px solid rgba(76, 161, 175, 0.3);
    border-radius: 50%;
    color: #3ae3ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: rgba(76, 161, 175, 0.4);
    color: #ffd166;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(76, 161, 175, 0.3);
}

.social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.3);
    border-color: #0077b5;
}

.social-link.github:hover {
    background: rgba(51, 51, 51, 0.3);
    border-color: #333;
}

.social-link.twitter:hover {
    background: rgba(29, 161, 242, 0.3);
    border-color: #1da1f2;
}

.social-link.email:hover {
    background: rgba(234, 67, 53, 0.3);
    border-color: #ea4335;
}
.suggestions-container {
    max-height: 60vh; /* ارتفاع مناسب لا يتجاوز 60% من الشاشة */
    overflow-y: auto; /* السماح بالتمرير العمودي */
    padding-right: 10px; /* تحسين التمرير عند الاتجاه من اليمين لليسار */
    direction: rtl; /* لأن النص عربي */
  }
  
/* أنماط إضافية للنافذة المنبثقة */
.suggestion-form .form-group {
    margin-bottom: 15px;
}

.suggestion-form label {
    display: block;
    margin-bottom: 8px;
    color: #a8dadc;
    font-weight: 500;
}

.suggestion-form input, 
.suggestion-form textarea, 
.suggestion-form select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #4ca1af;
    background: #2c3e50;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.suggestion-form input:focus, 
.suggestion-form textarea:focus, 
.suggestion-form select:focus {
    border-color: #ffd166;
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.3);
    outline: none;
}

.suggestion-form textarea {
    height: 120px;
    resize: vertical;
}

.suggestion-form .form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.suggestion-form .form-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-form .submit-btn {
    background: linear-gradient(135deg, #4ca1af, #2c3e50);
    color: white;
    border: none;
}

.suggestion-form .submit-btn:hover {
    background: linear-gradient(135deg, #3d8c99, #1b263b);
    transform: translateY(-3px);
}

.suggestion-form .cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #a8dadc;
    border: 1px solid #4ca1af;
}

.suggestion-form .cancel-btn:hover {
    background: rgba(76, 161, 175, 0.2);
    transform: translateY(-3px);
}

/* زر جديد في التحكمات */
.control-btn.suggest-btn {
    background: rgba(6, 214, 160, 0.2);
    border-color: #06d6a0;
}

.control-btn.suggest-btn:hover {
    background: rgba(6, 214, 160, 0.3);
}

.control-btn.suggest-btn i {
    color: #06d6a0;
}

/* تأثيرات للنص القابل للنقر */
.clickable-text {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-text:hover {
    fill: #ffd166 !important;
    font-size: 11px !important;
    text-shadow: 0 0 8px rgba(255, 209, 102, 0.7);
}

p {
display: block;
margin-block-start: 0.1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
unicode-bidi: isolate;
}
.highlight {
color: #4ca1af;
font-weight: 600;
text-shadow: 0 0 8px rgba(76, 161, 175, 0.7);
}

.footer {
text-align: center;
margin-top: 20px;
padding: 20px;
background: rgba(255, 255, 255, 0.05);
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
color: #a8dadc;
font-size: 1.1rem;
border: 1px solid rgba(76, 161, 175, 0.3);
max-width: 800px;
margin-left: auto;
margin-right: auto;
}



#concentric-map svg{
  /* pointer-events: none;*/

}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .header h2 {
        font-size: 1.5rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .map-container {
        height: 70vh;
    }
    
    .center-circle {
        width: 128px;
        height: 128px;
    }
    
    .center-circle h3 {
        font-size: 0.5rem;
    }
    
    .center-circle p {
        font-size: 6px;

    }
    
    .title-box {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .sector-label {
        font-size: 16px;
    }
    
    .inner-label {
        font-size: 11px;
    }
    
    .subsection-label {
        font-size: 8px;
    }
}


@media (max-width: 500px) {
    .map-container {
        height: 60vh;
    }
    
    .center-circle {
        width: 72px;
        height: 72px;
        top: 49.2%;
        left: 50%;
    }
    
    .center-circle h3 {
        font-size: 7px;
    }
    
    .inner-label {
        font-size: 10px;
    }
    
    .subsection-label {
        font-size: 6px;
    }


    .loading-suggestions {
    text-align: center;
    padding: 20px;
    color: #4ca1af;
    font-size: 1.2rem;
}


.suggestion-item {


    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    background-color: #f9f9f9;


    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(76, 161, 175, 0.3);
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(76, 161, 175, 0.5);
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(76, 161, 175, 0.2);
}

.suggestion-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffd166;
}

.suggestion-field {
    background: rgba(76, 161, 175, 0.2);
    color: #4ca1af;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.suggestion-detail {
    margin-bottom: 8px;
    display: flex;
}

.suggestion-label {
    font-weight: bold;
    min-width: 120px;
    color: #a8dadc;
}

.suggestion-value {
    flex: 1;
    color: #ffffff;
}

.suggestion-website {
    color: #4ca1af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.suggestion-website:hover {
    color: #ffd166;
    text-decoration: underline;
}

.suggestion-status {
    margin-top: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: bold;
}

.status-pending {
    background: rgba(255, 209, 102, 0.2);
    color: #ffd166;
}

.status-approved {
    background: rgba(6, 214, 160, 0.2);
    color: #06d6a0;
}

.status-rejected {
    background: rgba(239, 71, 111, 0.2);
    color: #ef476f;
}

.suggestion-date {
    color: #a8dadc;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: left;
}


.suggestion-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
  }
  
  .action-btn {
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
  }
  
  .action-btn.approve {
    background-color: #4CAF50;
    color: white;
  }
  
  .action-btn.reject {
    background-color: #f44336;
    color: white;
  }
  
  .action-btn.delete {
    background-color: #555;
    color: white;
  }


  



}



@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
    }
    
    .controls {
        gap: 6px;
        padding: 10px 5px;
    }
    
    .control-btn {
        padding: 8px 10px;
        font-size: 0.85rem;
        min-width: auto;
        flex: 1;
        justify-content: center;
    }
    
    .map-container {
        padding: 0;
    }}


@media (max-width: 650px) {
    .center-circle {
        width: 85px;
        height: 85px;
        top: 50%;
        left: 50%;
      }



  



  
}
@media (max-width: 500px) {
    .center-circle {
        width: 65px;
        height: 65px;
        top: 49.5%;
        left: 50%;
        border: 4px solid white !important;
    
      }



  



  
}
.footer { display: none; }
