body {
  background-color: #2B2A33;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.container {
  width: 90%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

form {
  width: 100%;
  margin-bottom: 20px;
}

input[type="file"] {
  margin-right: 10px;
}

button {
  background-color: #d2ace8;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 6px;
}

button:hover {
  background-color: #ab80d1;
}

.upload-item {
  margin: 15px 0;
  padding: 15px;
  background-color: #3f2f52;
  border-radius: 8px;
  animation: fadeIn 0.3s ease-in;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.drop-zone {
  width: 100%;
  height: 300px;
  border: 2px dashed #d2ace8;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: rgba(210, 172, 232, 0.05);
}

.drop-zone:hover {
  background-color: rgba(210, 172, 232, 0.1);
  border-color: #ab80d1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(210, 172, 232, 0.2);
}

.drop-zone.drag-over {
  background-color: rgba(210, 172, 232, 0.15);
  border-color: #ab80d1;
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(210, 172, 232, 0.3);
}

.drop-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #d2ace8;
  padding: 20px;
}

.drop-zone-content svg {
  margin-bottom: 20px;
  stroke: #d2ace8;
}

.drop-zone-content p {
  margin: 0;
  font-size: 1.2em;
}

.progress-container {
  background-color: #2B2A33;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
}

.progress-bar {
  position: absolute;
  width: 0;
  height: 100%;
  background-color: #d2ace8;
  transition: width 0.3s ease;
}

.progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  line-height: 20px;
  color: white;
  font-weight: bold;
}

.link-display {
  margin: 15px 0;
  padding: 15px;
  background-color: #3f2f52;
  border-radius: 8px;
  border: 1px solid rgba(210, 172, 232, 0.3);
  animation: fadeIn 0.3s ease-in;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.link-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.link-filename {
  font-weight: bold;
  color: #d2ace8;
  word-break: break-word;
  flex: 1;
  margin-right: 10px;
}

.link-size {
  color: #ccc;
  font-size: 0.9em;
  white-space: nowrap;
}

.link-container {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.link-input {
  flex: 1;
  padding: 10px;
  background-color: #2B2A33;
  border: 1px solid #d2ace8;
  border-radius: 6px;
  color: white;
  font-family: monospace;
  font-size: 0.9em;
}

.link-input:focus {
  outline: none;
  border-color: #ab80d1;
  box-shadow: 0 0 0 2px rgba(210, 172, 232, 0.2);
}

.copy-btn {
  padding: 10px 20px;
  background-color: #d2ace8;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  white-space: nowrap;
}

.copy-btn:hover {
  background-color: #ab80d1;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(210, 172, 232, 0.3);
}

.copy-btn.copied {
  background-color: #4CAF50;
}

.copy-btn svg {
  flex-shrink: 0;
}

.link-expiry {
  font-size: 0.85em;
  color: #ab80d1;
  text-align: center;
  padding: 8px;
  background-color: rgba(171, 128, 209, 0.1);
  border-radius: 4px;
}

#result {
  margin-top: 20px;
}

#uploadProgress {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.filename {
  font-weight: bold;
  margin-bottom: 8px;
  color: #d2ace8;
  font-size: 1.1em;
}

.upload-stats {
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 5px;
}

.upload-time {
  font-size: 0.85em;
  color: #888;
  margin-top: 10px;
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }
  
  .drop-zone {
    height: 200px;
  }
  
  .link-container {
    flex-direction: column;
  }
  
  .copy-btn {
    width: 100%;
    justify-content: center;
  }
}
