
/* Shared Module CSS */
.module-header {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--primary-color);
}

.module-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  border-left: 1px solid var(--border-color);
  padding-left: 20px;
}

.module-main {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.module-content {
  width: 100%;
  max-width: 800px;
}

.module-text {
  text-align: center;
  margin-bottom: 40px;
}

.module-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.module-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Drop Zone */
.drop-zone {
  background-color: var(--card-bg);
  border: 2px dashed #a0aec0;
  border-radius: 16px;
  padding: 60px 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--primary-color);
  background-color: #ebf0ff;
}

.upload-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.drop-zone h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.drop-zone p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #3b59df;
}

.btn-secondary {
  background-color: #edf2f7;
  color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: #e2e8f0;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.1rem;
}

/* Processing & Result Areas */
.hidden {
  display: none !important;
}

.processing-area, .result-area {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.file-list {
  text-align: left;
  margin-bottom: 30px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background-color: var(--bg-color);
  border-radius: 8px;
  margin-bottom: 10px;
}

.file-info {
  display: flex;
  flex-direction: column;
}

.file-name {
  font-weight: 500;
}

.file-size {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-area h2 {
  font-size: 2rem;
  margin: 20px 0 10px;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
