 * {
            direction: LTR ;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            transition: background-color 0.3s, color 0.3s;
        }

        :root {
            
            --primary: #007aff;
            --primary-light: #5598ff;
            --primary-dark: #3a7be0;
            --secondary: #50c8ff;
            --success: #2fdf75;
            --warning: #ffd534;
            --danger: #ff4961;
            --light: #f4f5f8;
            --medium: #989aa2;
            --dark: #222428;
            
            --background: #ffffff;
            --card-bg: #f8f9fa;
            --text: #000000;
            --border: #e0e0e0;
            --header-bg: rgba(255, 255, 255, 0.9);
        }

        .dark-theme {
            --primary: #007aff;
            --primary-light: #5598ff;
            --primary-dark: #3a7be0;
            --secondary: #50c8ff;
            --success: #2fdf75;
            --warning: #ffd534;
            --danger: #ff4961;
            --light: #222428;
            --medium: #989aa2;
            --dark: #f4f5f8;
            
            --background: #121212;
            --card-bg: #1e1e1e;
            --text: #ffffff;
            --border: #333333;
            --header-bg: rgba(30, 30, 30, 0.9);
        }

        body {
            background-color: var(--background);
            color: var(--text);
            min-height: 100vh;
            padding-bottom: 70px;
            direction: rtl;
        }

        
        header {
            background-color: var(--header-bg);
            backdrop-filter: blur(10px);
            padding: 15px 20px;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border);
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo i {
            color: var(--primary);
        }

        .theme-toggle {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--medium);
            transition: .4s;
            border-radius: 24px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: var(--primary);
        }

        input:checked + .slider:before {
            transform: translateX(26px);
        }

        
        .page {
            display: none;
            padding: 20px;
            animation: fadeIn 0.5s;
        }

        .page.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .section {
            margin-bottom: 30px;
        }

        .section-title {
            font-size: 1.25rem;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary);
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        
        .card {
            background-color: var(--card-bg);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
            border: 1px solid var(--border);
        }

        
        .btn {
            display: inline-block;
            padding: 12px 24px;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s;
            font-weight: 600;
            width: 100%;
            text-align: center;
        }

        .btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background-color: var(--primary);
            color: white;
        }

        .btn-danger {
            background-color: var(--danger);
        }

        .btn-danger:hover {
            background-color: #e04055;
        }

        
        .action-sheet {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .action-btn {
            padding: 15px;
            border-radius: 10px;
            background-color: var(--card-bg);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s;
        }

        .action-btn:hover {
            background-color: rgba(0, 122, 255, 0.1);
            border-color: var(--primary);
            transform: translateX(-5px);
        }

        .action-btn i {
            width: 24px;
            text-align: center;
            color: var(--primary);
        }

        
        .search-bar {
            display: flex;
            margin-bottom: 20px;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--border);
        }

        .search-input {
            flex: 1;
            padding: 15px;
            border: none;
            background-color: var(--card-bg);
            color: var(--text);
            font-size: 1rem;
        }

        .search-btn {
            padding: 0 20px;
            background-color: var(--primary);
            color: white;
            border: none;
            cursor: pointer;
            font-size: 1.2rem;
        }

        
        .notification-card {
            background-color: var(--card-bg);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            border: 1px solid var(--border);
        }

        .notification-card h2 {
            margin-bottom: 20px;
            color: var(--primary);
            font-size: 1.8rem;
        }

        .notification-card p {
            margin-bottom: 15px;
            color: var(--text);
        }
        
        .search-result-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-results {
  display: grid;
  gap: 15px;
}


@media (max-width: 600px) {
  .search-input {
    font-size: 0.9rem;
    padding: 12px;
  }
  
  .search-btn {
    padding: 0 15px;
    font-size: 1rem;
  }
  
  .notification-card h2 {
    font-size: 1.4rem;
  }
  
  .notification-card p {
    font-size: 0.95rem;
  }
  
  .search-result-title {
    font-size: 1.2rem;
  }
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-btn {
  background-color: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.page-btn:hover {
  background-color: var(--primary-light);
  color: white;
}

.page-btn.active {
  background-color: var(--primary);
  color: white;
  font-weight: bold;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.card-actions {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

.btn-detail {
  background-color: var(--primary);
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}

.btn-detail:hover {
  background-color: var(--primary-dark);
}

        .toggle-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin: 25px 0;
        }

        .toggle-label {
            font-size: 1.1rem;
            font-weight: 500;
        }

        .small-text {
            font-size: 0.9rem;
            color: var(--medium);
            margin-top: 20px;
            line-height: 1.6;
        }

        
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: var(--card-bg);
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            z-index: 100;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 8px 15px;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s;
            color: var(--medium);
        }

        .nav-item.active {
            color: var(--primary);
            background-color: rgba(0, 122, 255, 0.1);
            transform: translateY(-5px);
        }

        .nav-item i {
            font-size: 1.4rem;
            margin-bottom: 5px;
        }

        .nav-item span {
            font-size: 0.9rem;
        }

        
        @media (max-width: 768px) {
            .section-title {
                font-size: 1.1rem;
            }
            
            .card {
                padding: 15px;
            }
            
            .notification-card {
                padding: 20px;
            }
        }
        .section {
    max-width: 600px;
    margin: auto;
}

.post-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.post-img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
}

.forwarded-code {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--background);
    border: 1px solid var(--primary);
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.forwarded-code:hover {
    background-color: var(--primary-light);
    color: white;
}

.code-box {
    background-color: #1e1e1e;
    color: #00ff88;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: monospace;
    margin-top: 10px;
}

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

.like-btn, .dislike-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    background-color: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
}
.like-btn:hover {
    background-color: var(--success);
    color: white;
}
.dislike-btn:hover {
    background-color: var(--danger);
    color: white;
}

.poll {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.poll-option {
    background-color: var(--background);
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    text-align: left;
}
.poll-option.correct {
    border: 2px solid var(--success);
}
.poll-option span {
    position: relative;
    z-index: 2;
    font-weight: bold;
}
.poll-option .votes {
    float: right;
    font-weight: normal;
    font-size: 0.85em;
    opacity: 0.7;
}
.poll-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--primary-light);
    z-index: 1;
    opacity: 0.3;
    border-radius: 10px;
}
        .post-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.post-img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
}

.code-box {
    background-color: #1e1e1e;
    color: #00ff88;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: monospace;
    margin-top: 10px;
}

.post-actions {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.like-btn, .dislike-btn, .vote-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
}

.like-btn {
    background-color: var(--success);
    color: white;
}

.dislike-btn {
    background-color: var(--danger);
    color: white;
}

.vote-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.vote-btn {
    background-color: var(--primary);
    color: white;
}

.hero-section {
  background: linear-gradient(to right, var(--primary-dark), var(--secondary));
  color: var(--text);
  text-align: center;
  padding: 80px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  animation: fadeIn 1.5s ease-in-out;
  margin: 20px;
}

.hero-section i {
  font-size: 60px;
  color: var(--light);
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.hero-section h1, .hero-section h2, .hero-section h3 {
    
  margin: 10px 0;
  opacity: 0;
  animation: slideUp 1s forwards;
}

.hero-section h1 {
    color: var(--light);
  font-size: 48px;
  animation-delay: 0.2s;
}

.hero-section h2 {
  font-size: 28px;
  color: var(--light);
  animation-delay: 0.4s;
}

.hero-section h3 {
  font-size: 18px;
  color: var(--light);
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 36px;
  }

  .hero-section h2 {
    font-size: 24px;
  }

  .hero-section h3 {
    font-size: 16px;
  }

  .hero-section i {
    font-size: 50px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 15px;
  }

  .hero-section h1 {
    font-size: 28px;
  }

  .hero-section h2 {
    font-size: 20px;
  }

  .hero-section h3 {
    font-size: 14px;
  }

  .hero-section i {
    font-size: 40px;
  }
}
 .cards-slider {
   display: flex;
   overflow-x: auto;
   gap: 25px;
   
   width: 100%;
   scrollbar-width: thin;
   scrollbar-color: #888 #f1f1f1;
 }
 
 
 .cards-slider::-webkit-scrollbar {
   height: 8px;
 }
 
 .cards-slider::-webkit-scrollbar-track {
   background: #f1f1f1;
   border-radius: 10px;
 }
 
 .cards-slider::-webkit-scrollbar-thumb {
   background: #888;
   border-radius: 10px;
 }
 
 .cards-slider::-webkit-scrollbar-thumb:hover {
   background: #555;
 }
 
 
 .card {
   align-content: center;
   position: relative;
   width: 240px;
   height: 180px;
   border-radius: 15px;
   background: var(--medium);
   box-shadow: 0 17px 35px -5px rgba(0, 0, 0, 0.5), inset 0 0 2px var(--medium);
   flex: 0 0 auto;
   
   
   img {
     color: var(--light);
   }
 }

.card #wrapper {  
  
  width: 100%;
  align-content: center;
height: 100%;
left: 0;
top: 0;
visibility: hidden;
position: absolute;
z-index: 0;
  
  h4,h3 {
    z-index: 1000;
    color: white;
  }
}  
  
.card #wrapper.show {  
  visibility: visible;  
}  
  
.card #wrapper.show .radial {  
  -webkit-animation-name: anima-box;  
  animation-name: anima-box;  
}  
  
.card #wrapper.show div {  
  opacity: 1;  
}  
  
.card #wrapper .radial {  
            position: absolute;
            top: 0;
            width: 100%;
            height: 100%;
            background-image: radial-gradient(circle at 0% 100%, var(--dark) var(--anima-box-radial1), rgba(0, 0, 0, 0) var(--anima-box-radial2));
            animation-timing-function: ease;
            animation-duration: 700ms;
            animation-iteration-count: 1;
            animation-fill-mode: forwards;
            animation-delay: 100ms;
            transition-duration: 0ms;
}  
  
.card #wrapper div {  
  opacity: 0;  
  -webkit-transition-property: opacity;  
  -o-transition-property: opacity;  
  transition-property: opacity;  
  -webkit-transition-duration: 100ms;  
  -o-transition-duration: 100ms;  
  transition-duration: 100ms;  
  -webkit-transition-delay: 200ms;  
  -o-transition-delay: 200ms;  
  transition-delay: 200ms;  
}  
  
.card #wrapper #image {  
  left: 1px;  
  top: 6px;  
  width: 72px;  
  height: 72px;  
  position: relative;  
  border-radius: 50%;  
  background-color: #464646;  
}  
  
.card #wrapper .items {  
  background-color: #464646;  
  height: 14px;  
  border-radius: 10px;  
  position: relative;  
  top: -51px;  
  left: 87px;  
  width: 239px;  
  margin-bottom: 16px;  
}  
  
.card #wrapper .items:nth-child(2) {  
  width: 115px;  
  top: -49px;  
}  
  
.card #wrapper .items:nth-child(3) {  
  width: 58px;  
  top: -50px;  
}  
  
.card #wrapper .items:nth-child(4) {  
  top: -30px;  
  left: 1px;  
}  
  
.card #wrapper .items:nth-child(5) {  
  top: -31.4px;  
  left: 1px;  
}  
  
.card #wrapper .items:nth-child(6) {  
  width: 210px;  
  top: -33px;  
  left: 2px;  
}  
  

  
.card .hint {  
  position: absolute;  
  top: -6px;
left: -6px;
  width: 38px;  
  height: 38px;  
  background: #000;  
  border-radius: 19px;  
  -webkit-transition: all 400ms cubic-bezier(0.19, 1, 0.22, 1);  
  -o-transition: all 400ms cubic-bezier(0.19, 1, 0.22, 1);  
  transition: all 400ms cubic-bezier(0.19, 1, 0.22, 1);  
}  
  
.card .hint.open {  
  border-radius: 15px;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
}  
  
.card .hint.open::after {  
  visibility: hidden;  
}  


.card .hint.open .icon-info:before {  
  -webkit-transform: translate(15px, 10px) rotate(-45deg);  
  -ms-transform: translate(15px, 10px) rotate(-45deg);  
  transform: translate(15px, 10px) rotate(-45deg);  
}  
  
.card .hint.open .icon-info:after {  
  -webkit-transform: translate(15px, 10px) rotate(45deg);  
  -ms-transform: translate(15px, 10px) rotate(45deg);  
  transform: translate(15px, 10px) rotate(45deg);  
}  
  
.card .hint.open #image {  
  left: 20px;  
}  
  
.card .hint::after {  
  content: "";  
  position: absolute;  
  top: 19px;  
  right: 19px;  
  width: 37px;  
  height: 37px;  
  
}  
  
.card .hint .pulse.anima {  
  position: absolute;  
  top: 0px;  
  right: 0px;  
  width: 38px;  
  height: 38px;  
  background: var(--dark);  
  border-radius: 19px;  
  -webkit-animation-timing-function: ease;  
  animation-timing-function: ease;  
  -webkit-animation-duration: 700ms;  
  animation-duration: 700ms;  
  -webkit-animation-name: anima-pulse;  
  animation-name: anima-pulse;  
}  
  
.card .hint .icon-info {  
  position: absolute;  
  z-index: 1;  
  top: 3px;  
  right: -3px;  
  display: block;  
  width: 38px;  
  height: 38px;  
  border-radius: 50%;  
  cursor: pointer;  
  pointer-events: auto;  
  -webkit-tap-highlight-color: transparent;  
}  
  
.card .hint .icon-info:before {  
  -webkit-transform: translate(15px, 6px) rotate(0) scale(1, 0.2);  
  -ms-transform: translate(15px, 6px) rotate(0) scale(1, 0.2);  
  transform: translate(15px, 6px) rotate(0) scale(1, 0.2);  
}  
  
.card .hint .icon-info:after {  
  -webkit-transform: translate(15px, 12px) rotate(0) scale(1, 0.5);  
  -ms-transform: translate(15px, 12px) rotate(0) scale(1, 0.5);  
  transform: translate(15px, 12px) rotate(0) scale(1, 0.5);  
}  
  
.card .hint .icon-info:before,  
.card .hint .icon-info:after {  
  content: "";  
  position: absolute;  
  width: 2px;  
  height: 12px;  
  background: #fff;  
  border-radius: 2px;  
  -webkit-transform-origin: center center;  
  -ms-transform-origin: center center;  
  transform-origin: center center;  
  -webkit-transition: all 0.25s ease;  
  -o-transition: all 0.25s ease;  
  transition: all 0.25s ease;  
}  
  
  

  
@keyframes anima-pulse {  
  0% {  
    -webkit-box-shadow: 0 0 0 15px rgba(0, 0, 0, 0.3);  
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0.3);  
    background-color: transparent;  
    scale: 1;  
  }  
  
  20% {  
    -webkit-box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.3);  
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.3);  
    scale: 1;  
  }  
  
  100% {  
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);  
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);  
    scale: 3;  
    background-color: transparent;  
  }  
}  
  
@keyframes anima-box {  
  0% {  
    --anima-box-radial1: 41%;  
    --anima-box-radial2: 80%;  
  }  
  
  100% {  
    --anima-box-radial1: 0%;  
    --anima-box-radial2: 0%;  
    --visible: visible;  
  }  
}  
  
@-webkit-keyframes anima-pulse {  
  0% {  
    -webkit-box-shadow: 0 0 0 15px rgba(0, 0, 0, 0.3);  
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0.3);  
    background-color: transparent;  
    scale: 1;  
  }  
  
  20% {  
    -webkit-box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.3);  
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.3);  
    scale: 1;  
  }  
  
  100% {  
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);  
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);  
    scale: 3;  
    background-color: transparent;  
  }  
}  
  
@-webkit-keyframes anima-box {  
  0% {  
    --anima-box-radial1: 41%;  
    --anima-box-radial2: 80%;  
  }  
  
  100% {  
    --anima-box-radial1: 0%;  
    --anima-box-radial2: 0%;  
    --visible: visible;  
  }  
}  

.team {
  direction: LTR;
  margin:30px;
  background-color: var(--light);
  width:80%;
  height: auto;
  padding:30px;
  border-radius: 8px;
  
  
}

.member .card {
  width: 100%;     
  height: 10%;    
  border-radius: 12px; 
  overflow: hidden; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

.member {
  display: flex;
  
  direction: ltr;
  align-items: center;
  margin: 20px;
  font-size: 10pt;
}

.member .card .hint .icon-info {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.member p {
  color: white;
}

.code-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 15px;
      margin-bottom: 20px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      text-align: center;
    }

    .code-line {
      font-size: 1rem;
      line-height: 1.8;
    }

    .show-btn {
      display: block;
      margin: 15px auto 0;
      background: var(--primary);
      color: white;
      border: none;
      padding: 10px 15px;
      border-radius: 6px;
      width: 100%;
      font-size: 1rem;
      cursor: pointer;
    }

    .modal-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal {
      background: var(--card-bg);
      border-radius: 10px;
      width: 90%;
      max-width: 650px;
      padding: 20px;
      position: relative;
    }

    .close-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      font-size: 20px;
      cursor: pointer;
      color: var(--danger);
    }

    .output {
      background: var(--background);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 10px;
      margin-top: 10px;
      min-height: 40px;
      font-family: monospace;
    }

    .controls {
      margin: 12px 0;
      display: flex;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .controls button {
      padding: 8px 14px;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.9rem;
    }
    
.editor-loader {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.loader-text {
  font-size: 28px;
  color: #fff;
  text-shadow: 0 0px 15px var(--primary);
  margin-bottom: 15px;
  display: flex;
  gap: 4px;
}

.loader-text span {
  animation: bounce 1s infinite alternate;
}
.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-text span:nth-child(4) { animation-delay: 0.3s; }
.loader-text span:nth-child(5) { animation-delay: 0.4s; }

@keyframes bounce {
  0% { transform: translateY(0); opacity: 0.6; }
  100% { transform: translateY(-10px); opacity: 1; }
}

.progress-bar {
  width: 60%;
  height: 8px;
  background: #444;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 0.1s ease;
}


.poll-container {
    margin: 15px 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
}

.poll-option {
    margin: 10px 0;
}

.poll-btn {
    width: 100%;
    padding: 10px;
    background: var(--light);
    border: none;
    border-radius: 4px;
    text-align: right;
    cursor: pointer;
}

.poll-result {
    display: none; 
    height: 25px;
    margin-top: 5px;
    background: #f0f0f0;
    border-radius: 4px;
    position: relative;
}

.poll-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.5s;
}

.poll-percent {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.poll-total {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}


.quiz-container {
    margin: 15px 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
}

.quiz-option {
    margin: 8px 0;
}

.quiz-btn {
    width: 100%;
    padding: 10px;
    background: var(--light);
    border: none;
    border-radius: 4px;
    text-align: right;
    cursor: pointer;
}

.quiz-result {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.quiz-result.correct {
    background: #d4edda;
    color: #155724;
    display: block;
}

.quiz-result.incorrect {
    background: #f8d7da;
    color: #721c24;
    display: block;
}


.option-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.option-row .form-control {
    flex: 1;
    margin-right: 10px;
}

.btn-remove {
    background: var(--danger);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.delete-btn {
    position: absolute;
    background: rgba(255, 59, 48, 0.9); 
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.delete-btn:hover {
    background: rgb(255, 59, 48); 
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.delete-btn i {
    font-size: 12px;
}


.code-card {
    position: relative; 
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.code-card .delete-btn {
    top: -10px;
    right: -10px;
}


.post-card {
    position: relative; 
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.post-card .delete-btn {
    top: -10px;
    right: -10px;
}
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.confirmation-box {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.confirmation-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.confirmation-buttons button {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.confirm-btn {
    background: #ff4444;
    color: white;
}

.cancel-btn {
    background: #ccc;
}

a {
  text-decoration: none; /* إزالة الخط السفلي */
  color: inherit; /* استخدام لون النص الأساسي بدون الأزرق */
}