/**
 * File Upload Styles
 */

/* Upload Area */
.tt-upload-area {
  border: 2px dashed var(--tt-border-color);
  border-radius: 0.5rem;
  padding: 3rem 2rem;
  text-align: center;
  background-color: #fafafa;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.tt-upload-area:hover {
  border-color: var(--tt-primary-blue);
  background-color: #f5f5f5;
}

.tt-upload-area--dragover {
  border-color: var(--tt-primary-blue);
  background-color: rgba(2, 71, 114, 0.05);
  border-style: solid;
}

.tt-upload-prompt p {
  margin: 0;
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Upload Info */
.tt-upload-info {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

.tt-upload-info p {
  margin: 0.5rem 0;
}

.tt-upload-info a {
  color: var(--tt-primary-blue);
  text-decoration: none;
}

.tt-upload-info a:hover {
  text-decoration: underline;
}

/* File List */
.tt-file-list {
  margin-top: 1.5rem;
}

.tt-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--tt-border-color);
}

.tt-file-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.tt-file-name {
  font-weight: 500;
  color: var(--tt-text-color);
  word-break: break-word;
}

.tt-file-size {
  font-size: 0.875rem;
  color: #6c757d;
}

.tt-file-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background-color: #dc3545;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.tt-file-remove:hover {
  background-color: #c82333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .tt-upload-area {
    padding: 2rem 1rem;
  }
  
  .tt-upload-prompt p {
    font-size: 0.9375rem;
  }
  
  .tt-file-item {
    padding: 0.625rem 0.875rem;
  }
}
