/* Шрифты и фон */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #0f0f1a;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  /* Контейнер */
  .container {
    background-color: #1a1a2e;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(123, 31, 162, 0.4);
    max-width: 600px;
    width: 100%;
    text-align: center;
  }
  
  /* Заголовок */
  h1 {
    font-size: 32px;
    color: #bb86fc;
    margin-bottom: 10px;
  }
  
  p {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 30px;
  }
  
  /* Форма */
  form#uploadForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  form#uploadForm input[type="text"],
  form#uploadForm input[type="password"],
  form#uploadForm input[type="file"] {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #2c2c3c;
    color: #fff;
    font-size: 15px;
  }
  
  form#uploadForm input::placeholder {
    color: #888;
  }
  
  form#uploadForm button {
    background: linear-gradient(135deg, #7d00ff, #bb86fc);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(123, 31, 162, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  form#uploadForm button:hover {
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(123, 31, 162, 0.9);
  }
  
  /* Прогресс-бар */
  #progressContainer {
    margin-top: 20px;
  }
  
  progress {
    width: 100%;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #2c2c3c;
    border: 1px solid #444;
  }
  
  progress::-webkit-progress-bar {
    background-color: #2c2c3c;
  }
  
  progress::-webkit-progress-value {
    background: linear-gradient(90deg, #7d00ff, #bb86fc);
  }
  
  #progressText {
    margin-top: 5px;
    font-size: 14px;
    color: #ccc;
  }
  
  /* Ответ */
  #response {
    margin-top: 30px;
    font-size: 16px;
    color: #bb86fc;
    white-space: pre-line;
  }
  



  form#downloadForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
  }
  
  form#downloadForm input[type="password"] {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #2c2c3c;
    color: #fff;
    font-size: 15px;
  }
  
  form#downloadForm button {
    background: linear-gradient(135deg, #7d00ff, #bb86fc);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(123, 31, 162, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  form#downloadForm button:hover {
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(123, 31, 162, 0.9);
  }
  
  .error {
    background-color: #400;
    color: #f88;
    padding: 10px;
    margin-top: 20px;
    border-radius: 6px;
    font-weight: bold;
  }
  

  .upload-success {
    margin-top: 30px;
    padding: 20px;
    background-color: #1d1d2b;
    border: 1px solid #444;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(123, 31, 162, 0.4);
    color: #bb86fc;
    text-align: center;
  }
  
  .upload-success input[type="text"] {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid #555;
    background-color: #2c2c3c;
    color: #fff;
    font-size: 15px;
  }
  
  .copy-button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #7d00ff, #bb86fc);
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(123, 31, 162, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .copy-button:hover {
    transform: scale(1.03);
    box-shadow: 0 0 16px rgba(123, 31, 162, 0.9);
  }
  
  #dropZone {
    border: 2px dashed #7d00ff;
    padding: 30px;
    text-align: center;
    color: #bb86fc;
    background-color: #1d1d2b;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
  }
  
  #dropZone.dragover {
    background-color: #2c2c3c;
  }
  
  .file-name-display {
    margin-top: 10px;
    font-size: 15px;
    color: #bb86fc;
    background-color: #1d1d2b;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #444;
    word-break: break-word;
  }