/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f7f7f7;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  flex-direction: column;
}

/* Container */
.container {
  width: 100%;
  max-width: 900px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.container h1 {
  font-size: 2.5rem;
  color: #28a745;
  margin-bottom: 10px;
  font-weight: bold;
}

.container p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}

/* Toolbox */
.toolbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.toolbox label {
  background-color: #28a745;
  color: #fff;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toolbox label:hover {
  background-color: #218838;
}

.toolbox input[type="file"] {
  display: none;
}

.toolbox textarea {
  width: 100%;
  height: 200px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
}

.toolbox button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 200px;
}

.toolbox button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.toolbox button:hover:enabled {
  background-color: #0056b3;
}

/* Footer */
.footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #777;
  padding: 15px;
  width: 100%;
  background-color: #f9f9f9;
  border-radius: 5px;
}

/* Water Drop Animation */
.water-drop {
  width: 30px;
  height: 30px;
  background-color: #497cf7;
  border-radius: 50% 50% 60% 60% / 60% 60% 100% 100%;
  position: relative;
  animation: dropFall 2s infinite ease-in-out;
  margin: 20px auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@keyframes dropFall {
  0% {
    transform: translateY(0) scaleY(1);
    opacity: 1;
  }
  70% {
    transform: translateY(40px) scaleY(1.2);
    opacity: 0.8;
  }
  100% {
    transform: translateY(60px) scaleY(0.5);
    opacity: 0;
  }
}

/* Fade In Animation */
.animate__fadeIn {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  .toolbox {
    gap: 15px;
  }

  .toolbox textarea {
    width: 100%;
  }

  .toolbox button {
    width: 100%;
  }
}
