.karopan-container{
  font-family: "Poppins", sans-serif;
}

.karopan-container {
  max-width: 800px;
  margin: 50px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1s ease-in-out;
}

.main-title {
  margin-bottom: 40px;
  text-align: center;
}

.gradient-text {
  font-size: 32px;
  background: linear-gradient(90deg, #16163f, #0b498c, #ff870c, #e08506);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
  font-weight: 600;
  margin: 0;
  padding-top: 50px;
}

.main-title span {
  color: #6b7280;
  font-size: 15px;
  display: block;
}

#activeTabLabel {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  color: #333;
}

.tab-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.tab-btn {
  background: white;
  color: #6b7280;
  border: 1px solid #d1d5db;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

.tab-btn:hover {
  background: #e0e7ff;
  color: #1e3a8a;
}
div#karopan p,
div#clipin3030 p,
div#clipin6060 p,
div#karopan3060 p {
  text-align: center;
}
.tab-btn.active {
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.4);
  border: 1px solid transparent;
  border-image: linear-gradient(90deg, #16163f, #0b498c, #ff870c, #e085065) 1;
}

.karopan-container .input-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.karopan-container input[type="number"] {
  padding: 12px;
  font-size: 16px;
  width: 260px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  transition: all 0.2s ease;
}

input[type="number"]:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

button.hesapla-btn {
  background: #4e4e4e;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

button.hesapla-btn:hover {
  background: #c4c4c4;
}

.karopan-container .tab {
  display: none;
  width: 100%;
}

.karopan-container .tab.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

.karopan-container ul {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  width: 100%;
}

.karopan-container li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  padding: 14px 18px!important;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  font-weight: 500;
  color: #333;
  animation: fadeSlideIn 0.5s ease forwards;
  max-width: 600px;
  height:45px;
  margin: 0 auto!important;
  width: 100%;
}

.karopan-container li strong {
  color: #4e4e4e;
}

.karopan-container .loading {
  font-style: italic;
  color: #6b7280;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.karopan-container ul li:nth-child(1) {
  animation-delay: 0s;
}
.karopan-container ul li:nth-child(2) {
  animation-delay: 0.1s;
}
.karopan-container ul li:nth-child(3) {
  animation-delay: 0.2s;
}
.karopan-container ul li:nth-child(4) {
  animation-delay: 0.3s;
}
.karopan-container ul li:nth-child(5) {
  animation-delay: 0.4s;
}
.karopan-container ul li:nth-child(6) {
  animation-delay: 0.5s;
}
.karopan-container ul li:nth-child(7) {
  animation-delay: 0.6s;
}
.karopan-container ul li:nth-child(8) {
  animation-delay: 0.7s;
}
.karopan-container ul li:nth-child(9) {
  animation-delay: 0.8s;
}

@media (max-width: 600px) {
  .karopan-container .input-area {
    flex-direction: column;
  }

  .karopan-container .tab-btns {
    flex-direction: column;
  }

  .karopan-container input[type="number"] {
    width: 100%;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
  }
}

.highlight-shake {
  animation: shake 0.4s ease-in-out;
  border: 2px solid #ffa500;
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.6);
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}
