body {
    background-color: #f8f9fa;
  }
  
  .main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #212529;
  }
  
  .main-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
  }
  
  .dropzone {
    border: 2px dashed #aaa;
    border-radius: 10px;
    padding: 20px;
    height: 280px;
    text-align: center;
    cursor: pointer;
    background-color: white;
    transition: all 0.2s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .dropzone.filled {
    border-color: #28a745 !important;
  }
  
  .dropzone:hover {
    background-color: #f1f1f1;
  }
  
  .placeholder-text {
    font-size: 1.05rem;
    color: #999;
  }
  
  .dropzone.filled .placeholder-text {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    font-size: 0.8rem;
    color: #888;
  }
  
  .preview {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #333;
  }
  
  .preview img.thumb {
    max-width: 100%;
    max-height: 140px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  }
  
  .preview p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
  }
  
  .remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.9rem;
    color: #dc3545;
    background: none;
    border: none;
    font-weight: bold;
    cursor: pointer;
  }
  
  .loader {
    display: none;
    margin: 20px auto;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #dc3545;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .result {
    margin-top: 30px;
  }
  
  .file-label {
    font-weight: bold;
    margin-bottom: 10px;
  }
  

  .fade-in {
  animation: fadeIn ease 0.6s;
  -webkit-animation: fadeIn ease 0.6s;
  -moz-animation: fadeIn ease 0.6s;
  -o-animation: fadeIn ease 0.6s;
  -ms-animation: fadeIn ease 0.6s;
}

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