/* Table Styles */
.taxforms-container {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
}

.taxforms-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.taxforms-table thead {
  background: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
}

.taxforms-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #495057;
  font-size: 14px;
}

.taxforms-table td {
  padding: 16px;
  border-bottom: 1px solid #e9ecef;
}

.taxforms-table tbody tr:hover {
  background: #f8f9fa;
}

.form-name {
  font-weight: 500;
  color: #212529;
  min-width: 200px;
}

.upload-cell {
  min-width: 400px;
}

/* File Upload Control */
.file-upload-control {
  width: 100%;
  position: relative;
}

/* Drop Zone Styles */
.drop-zone {
  border: 2px dashed #cbd5e0;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  background: #f7fafc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.drop-zone:hover {
  border-color: #4299e1;
  background: #ebf8ff;
}

.drop-zone.drag-over {
  border-color: #4299e1;
  background: #ebf8ff;
  border-style: solid;
}

.drop-zone-content {
  pointer-events: none;
}

.upload-icon {
  width: 48px;
  height: 48px;
  color: #4299e1;
  margin: 0 auto 12px;
}

.drop-zone-text {
  color: #4a5568;
  font-size: 14px;
  margin: 8px 0;
}

.click-text {
  color: #4299e1;
  font-weight: 600;
}

.file-types {
  color: #a0aec0;
  font-size: 12px;
  margin: 4px 0 0;
}

/* File Preview Styles */
.file-preview {
  border: 2px solid #48bb78;
  border-radius: 8px;
  padding: 16px;
  background: #f0fff4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.file-icon {
  width: 40px;
  height: 40px;
  color: #48bb78;
  flex-shrink: 0;
}

.file-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.file-name {
  font-weight: 600;
  color: #2d3748;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  color: #718096;
  font-size: 12px;
}

.remove-btn {
  background: #fc8181;
  border: none;
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.remove-btn:hover {
  background: #f56565;
}

.remove-btn svg {
  width: 20px;
  height: 20px;
  color: rgb(0, 0, 0);
  display: block;
}

/* Upload Progress Styles */
.upload-progress {
  text-align: center;
  padding: 20px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #adcbf3;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: #4299e1;
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  color: #4a5568;
  font-size: 14px;
  font-weight: 500;
}

/* Error State */
.drop-zone.error {
  border-color: #fc8181;
  background: #fff5f5;
}

.error-message {
  color: #c53030;
  font-size: 12px;
  margin-top: 8px;
  display: none;
}

.error-message.show {
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .taxforms-table {
    font-size: 14px;
  }
  
  .taxforms-table th,
  .taxforms-table td {
    padding: 12px;
  }
  
  .drop-zone {
    padding: 20px 15px;
  }
  
  .upload-icon {
    width: 36px;
    height: 36px;
  }
  
  .drop-zone-text {
    font-size: 13px;
  }
}