:root
{
  --primary-color: #4361ee;
  --primary-hover: #3a56d4;
  --text-color: #333;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

*
{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body
{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light-gray);
  color: var(--text-color);
  line-height: 1.6;
  padding: 20px;
  min-height: 100vh;
  padding-top: 100px;
}

.container
{
  max-width: 600px;
  margin: 0 auto;
}

.card
{
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card__title
{
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: center;
}

.form-group
{
  margin-bottom: 1.5rem;
}

.form-label
{
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control
{
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus
{
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

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

select.form-control
{
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}

.btn
{
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  width: 100%;
}

.btn:hover
{
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn:active
{
  transform: translateY(0);
}

.loading
{
  display: none;
  text-align: center;
  margin-top: 1rem;
}

.spinner
{
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 3px solid var(--primary-color);
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

@keyframes spin
{
  0%
  {
    transform: rotate(0deg);
  }

  100%
  {
    transform: rotate(360deg);
  }
}

.alert
{
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  display: none;
}

.alert-success
{
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error
{
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 768px)
{
  .card
  {
    padding: 1.5rem;
  }
}

.container2
{
  font-family: 'Tajawal', sans-serif;
  background-color: #F3F4F6;
  color: var(--dark);
  line-height: 1.6;
  padding: 1rem;
  max-width: 900px;
  margin: 0 auto;
  direction: rtl;
}

.task-card
{
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 2rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.5s forwards 0.1s;
}

@keyframes fadeInUp
{
  to
  {
    opacity: 1;
    transform: translateY(0);
  }
}

.task-header
{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E5E7EB;
}

.task-title
{
  color: var(--dark);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

.task-meta
{
  display: flex;
  gap: 0.75rem;
}

.task-badge
{
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
}

.badge-design
{
  background-color: #8B5CF6;
}

.badge-backend
{
  background-color: var(--primary);
}

.badge-database
{
  background-color: #10B981;
}

.badge-integration
{
  background-color: #3B82F6;
}

.badge-testing
{
  background-color: #F59E0B;
}

.badge-security
{
  background-color: #EF4444;
}

.badge-deployment
{
  background-color: #6366F1;
}

.badge-other
{
  background-color: #6B7280;
}

.badge-pending
{
  background-color: #6B7280;
}

.badge-in_progress
{
  background-color: var(--warning);
}

.badge-done
{
  background-color: var(--accent);
}

.task-description
{
  color: #4B5563;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.section
{
  margin-bottom: 2rem;
  animation: fadeIn 0.6s forwards;
  opacity: 0;
}

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

.section-title
{
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  padding-right: 1rem;
}

.section-title::after
{
  content: '';
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 3px;
}

.list
{
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-item
{
  padding: 0.6rem 0;
  display: flex;
  align-items: flex-start;
}

.list-item::before
{
  content: '•';
  color: var(--accent);
  font-size: 1.5rem;
  margin-left: 0.8rem;
  line-height: 0;
}

.steps-container
{
  display: grid;
  gap: 1rem;
}

.step
{
  background-color: #F9FAFB;
  border-radius: 10px;
  padding: 1.25rem;
  border-right: 3px solid var(--accent);
  transition: transform 0.2s;
}

.step:hover
{
  transform: translateX(-5px);
}

.step-title
{
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.step-description
{
  color: #4B5563;
  line-height: 1.7;
}

.code-container
{
  background: #1E1E1E;
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.code-header
{
  background: #252526;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
}

.code-filename
{
  color: #D4D4D4;
  font-size: 0.85rem;
}

.code-language
{
  background: rgba(79, 70, 229, 0.8);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.output-section
{
  background: #F9FAFB;
  border-radius: 10px;
  padding: 1.25rem;
}

.output-grid
{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.output-card
{
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-top: 2px solid var(--accent);
}

.endpoint-method
{
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
  color: white;
}

.method-get
{
  background-color: #10B981;
}

.method-post
{
  background-color: #3B82F6;
}

.method-put
{
  background-color: #F59E0B;
}

.method-delete
{
  background-color: #EF4444;
}

.output-card-title
{
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.output-list
{
  list-style: none;
  padding: 0;
  margin: 0;
}

.output-list-item
{
  padding: 0.4rem 0;
  color: #4B5563;
  display: flex;
  align-items: center;
}

.output-list-item::before
{
  content: '→';
  color: var(--accent);
  margin-left: 0.5rem;
  font-size: 1.1rem;
}

.notes
{
  background: #FEF3C7;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
  border-right: 3px solid var(--warning);
}

.notes-title
{
  font-weight: 600;
  color: #92400E;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.notes-title::before
{
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #F59E0B;
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.empty-state
{
  color: #9CA3AF;
  font-style: italic;
  text-align: center;
  padding: 1.5rem;
  background: #F9FAFB;
  border-radius: 8px;
}