.section {
  max-width: auto;
  margin: 5rem;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem 3rem;
}

.contindiv {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.left-alg {
  flex: 1;
  min-width: 280px;
}

.left-alg h2 {
  font-size: 26px;
  color: #1e40af;
  margin-bottom: 1rem;
}

.left-alg p {
  font-size: 14px;
  color: #333;
  margin-bottom: 0.6rem;
}

.big-form {
  flex: 2;
  min-width: 320px;
}

.big-form h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #222;
  text-align: center;
}

/* Tabs */
.tab-buttons {
  display: flex;
  margin-bottom: 0;
  border: 1px solid #ccc;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.tab-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  background-color: #f1f1f1;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tab-buttons button.active {
  background-color: white;
  border-bottom: 2px solid #1e40af;
}

.tab-content {
  display: none;
  padding: 1.5rem;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 6px 6px;
  background: #fff;
}

.tab-content.active {
  display: block;
}

.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.input-group input[type="url"] {
  flex: 1;
  padding: 10px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.input-group input[type="url"]:focus {
  border-color: #1e40af;
  outline: none;
}

.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #2563eb;
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-danger {
  background-color: #ef4444;
  color: white;
}

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

.btn-success {
  background-color: #10b981;
  color: white;
  margin-top: 0.5rem;
}

.btn-success:hover {
  background-color: #059669;
}

@media (max-width: 768px) {
  .contindiv {
    flex-direction: column;
  }

  .tab-buttons button {
    font-size: 13px;
    padding: 8px;
  }

  .section {
    padding: 1.5rem;
  }
}
