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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at 20% 50%, #3d1b4d 0%, #2d1b3d 40%, #1a0b28 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* scroll uchun tepada joylashadi */
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden; /* faqat gorizontal yashirilsin */
  overflow-y: auto;   /* scroll bo‘lishi uchun */
}

body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
  animation: glow 3s ease-in-out infinite;
  z-index: 0; 
}

.container {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 550px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  margin-bottom: 60px; 
}


@keyframes moveParticle1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(100px, -150px) scale(1.2);
    }
    50% {
        transform: translate(-50px, -300px) scale(0.8);
    }
    75% {
        transform: translate(-150px, -150px) scale(1.1);
    }
}

@keyframes moveParticle2 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(-120px, 100px) scale(1.3) rotate(120deg);
    }
    66% {
        transform: translate(80px, 200px) scale(0.9) rotate(240deg);
    }
}

@keyframes moveParticle3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    20% {
        transform: translate(-80px, -80px) scale(1.4);
    }
    40% {
        transform: translate(120px, -40px) scale(0.7);
    }
    60% {
        transform: translate(50px, 100px) scale(1.2);
    }
    80% {
        transform: translate(-100px, 50px) scale(0.9);
    }
}

@keyframes moveParticle4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-200px, -100px) rotate(180deg);
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 20px #8b5cf6;
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 60px #8b5cf6, 0 0 100px #a78bfa;
    }
}

body {
    background: radial-gradient(circle at 20% 50%, #3d1b4d 0%, #2d1b3d 40%, #1a0b28 100%);
    position: relative;
    overflow-x: hidden;
}


body::before {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation: moveParticle1 20s ease-in-out infinite;
}

body::after {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    animation: moveParticle2 25s ease-in-out infinite;
}
     
.header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.icon {
  width: 32px;
  height: 32px;
  background: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transform: rotate(45deg);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  background: white;
}

.icon::before {
  width: 12px;
  height: 2px;
}

.icon::after {
  width: 2px;
  height: 12px;
}

h1 {
  font-size: 2.5rem;
  color: #1a1a1a;
  font-weight: 700;
}

.accordion-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 24px 0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}

.accordion-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  transition: color 0.3s;
}

.accordion-header:hover .accordion-title {
  color: #8b5cf6;
}

.accordion-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #8b5cf6;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}

.accordion-button::before,
.accordion-button::after {
  content: "";
  position: absolute;
  background: white;
  transition: transform 0.3s;
}

.accordion-button::before {
  width: 12px;
  height: 2px;
}

.accordion-button::after {
  width: 2px;
  height: 12px;
}

.accordion-item.active .accordion-button {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-button::after {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content-inner {
  padding-top: 16px;
  color: #6b6b6b;
  line-height: 1.6;
  font-size: 0.95rem;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}
.add-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.add-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.add-form button {
  background: #8b5cf6;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  font-weight: 600;
}

.add-form button:hover {
  background: #6d28d9;
}

.accordion-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.accordion-actions button {
  border: none;
  background: #f3f4f6;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.accordion-actions button:hover {
  background: #e5e7eb;
}
