
.neobrutalism-shadow {
    box-shadow: 6px 6px 0px #000;
}
.neobrutalism-shadow-sm {
    box-shadow: 4px 4px 0px #000;
}
.neobrutalism-text-shadow {
    text-shadow: 3px 3px 0px #000;
}
.file-input::-webkit-file-upload-button {
    background: #39ff14;
    border: 3px solid #000;
    color: #000;
    font-weight: bold;
    padding: 8px 16px;
    margin-right: 16px;
    box-shadow: 3px 3px 0px #000;
}
.file-input::-webkit-file-upload-button:hover {
    background: #ff10f0;
}
.treatment-item {
    background: linear-gradient(135deg, #39ff14, #00ffff);
    margin-bottom: 8px;
    padding: 12px;
    border: 3px solid #000;
    box-shadow: 3px 3px 0px #000;
    transition: transform 0.2s;
}
.treatment-item:hover {
    transform: translateX(5px);
}
.prevention-item {
    background: linear-gradient(135deg, #ff10f0, #ffff00);
    margin-bottom: 6px;
    padding: 8px;
    border: 2px solid #000;
    box-shadow: 2px 2px 0px #000;
}
.distribution-bar {
    transition: width 0.5s ease-in-out;
}

/* Loading animations */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.bounce-animation {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Overlay for loading */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
}
.reset-btn {
background: linear-gradient(135deg, #ff4444, #ff6666);
transition: all 0.3s ease;
}
.reset-btn:hover {
background: linear-gradient(135deg, #ff6666, #ff8888);
transform: translateY(-2px);
}
.toast {
position: fixed;
top: 20px;
right: 20px;
z-index: 9999;
transform: translateX(400px);
transition: transform 0.3s ease-in-out;
}

.toast.show {
transform: translateX(0);
}

.toast.hide {
transform: translateX(400px);
}

.toast-content {
background: linear-gradient(135deg, #39ff14, #00ffff);
border: 4px solid #000;
box-shadow: 6px 6px 0px #000;
padding: 16px 20px;
border-radius: 0;
max-width: 350px;
position: relative;
}

.toast-icon {
font-size: 24px;
margin-right: 12px;
display: inline-block;
animation: bounce 2s infinite;
}

.toast-close {
position: absolute;
top: 8px;
right: 12px;
background: none;
border: none;
font-size: 18px;
font-weight: bold;
cursor: pointer;
color: #000;
transition: color 0.2s;
}

.toast-close:hover {
color: #ff0000;
}

@keyframes slideIn {
from { transform: translateX(400px); }
to { transform: translateX(0); }
}

@keyframes slideOut {
from { transform: translateX(0); }
to { transform: translateX(400px); }
}
/* Tambahkan CSS ini ke file index.css Anda untuk highlight effect */

/* Highlight animation untuk result section */
.highlight-result {
    animation: highlightPulse 2s ease-in-out;
    position: relative;
  }
  
  @keyframes highlightPulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7);
    }
    25% {
      transform: scale(1.02);
      box-shadow: 0 0 0 10px rgba(57, 255, 20, 0.4);
    }
    50% {
      transform: scale(1.01);
      box-shadow: 0 0 0 20px rgba(57, 255, 20, 0.2);
    }
    75% {
      transform: scale(1.01);
      box-shadow: 0 0 0 15px rgba(57, 255, 20, 0.1);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(57, 255, 20, 0);
    }
  }
  
  /* Smooth scroll behavior untuk seluruh halaman */
  html {
    scroll-behavior: smooth;
  }