/* Общие стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  font-family: 'Inter', Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #121212;
  color: #eee;
}

/* Контейнер формы */
.container {
  background: #1e1e1e;
  padding: 40px 50px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  max-width: 500px;
  width: 100%;
  text-align: center;
}

/* Сообщения */
.message {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #4fc3f7;
  word-break: break-word;
}

/* Поле текста */
input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #333;
  margin-bottom: 20px;
  font-size: 1rem;
  background: #2a2a2a;
  color: #eee;
  transition: border 0.2s ease, background 0.2s ease;
}

input[type="text"]:focus {
  outline: none;
  border-color: #4fc3f7;
  background: #2f2f2f;
}

/* Кнопка */
button {
  background: #4fc3f7;
  color: #121212;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

button:hover {
  background: #33b5f3;
}

/* Дроп зона */
.drop {
  border: 2px dashed #555;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
  background: #1b1b1b;
  position: relative;
}

.drop.dragover {
  border-color: #4fc3f7;
  background: #222;
}

/* Список файлов */
#fileList {
  font-size: 0.9rem;
  color: #aaa;
  min-height: 20px;
  word-break: break-word;
}

/* Скрытый стандартный input */
input[type="file"] {
  display: none;
}

/* Кастомная кнопка для input file */
.custom-file-upload {
  display: inline-block;
  padding: 12px 25px;
  cursor: pointer;
  border-radius: 8px;
  background-color: #4fc3f7;
  color: #121212;
  font-weight: 500;
  transition: background 0.2s ease;
  margin-bottom: 20px;
  text-align: center;
}

.custom-file-upload:hover {
  background-color: #33b5f3;
}

/* Альбом */
.album ul {
  list-style: none;
  padding: 0;
}

.album li {
  margin-bottom: 20px;
  text-align: center;
}

.album img,
.album video,
.album audio {
  max-width: 100%;
  max-height: 300px;
  border-radius: 12px;
  margin-bottom: 8px;
  background: #000;
}

.album button {
  margin: 5px 5px 0 5px;
  padding: 6px 12px;
  font-size: 0.85rem;
  background: #4fc3f7;
  color: #121212;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.album button:hover {
  background: #33b5f3;
}

.album-link {
    font-weight: 600;
    font-size: 15px;
    color: #3a7bd5;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.album-link:hover {
    color: #1a4a9c;
    text-decoration: underline;
}
