/* Word to PDF Tool Styles */
.tool-container, .main-tool-bordered.word-to-pdf-tool {
  max-width: 500px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 2rem 1.5rem;
}

.file-upload-area {
  border: 2px dashed #3b82f6;
  border-radius: 12px;
  padding: 2.5rem 1rem;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s;
}
.file-upload-area:hover, .file-upload-area:focus {
  border-color: #2563eb;
  background: #f1f5f9;
}
.upload-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.upload-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1e293b;
}
.upload-hint {
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.file-info {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: left;
}
.file-details {
  display: flex;
  gap: 2rem;
  font-size: 1rem;
}
.file-detail span:first-child {
  color: #64748b;
  font-weight: 500;
  margin-right: 0.5rem;
}

.convert-button {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 1rem 0 0.5rem 0;
  transition: background 0.2s;
}
.convert-button:disabled {
  background: #a5b4fc;
  cursor: not-allowed;
}
.convert-button:hover:not(:disabled) {
  background: #1d4ed8;
}

.progress-container {
  display: none;
  margin: 1.5rem 0 0.5rem 0;
}
.progress-bar {
  width: 100%;
  height: 12px;
  background: #e0e7ef;
  border-radius: 6px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 6px;
  transition: width 0.3s;
}
.progress-text {
  font-size: 0.98rem;
  color: #2563eb;
  margin-top: 0.5rem;
  text-align: center;
}

.result-container {
  display: none;
  background: #f0fdf4;
  border: 1.5px solid #22c55e;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  margin-top: 1.5rem;
  text-align: center;
}
.success-icon {
  font-size: 2.2rem;
  color: #22c55e;
  margin-bottom: 0.5rem;
}
.success-title {
  color: #166534;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.success-message {
  color: #166534;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.download-section {
  margin-top: 1rem;
}
.download-button {
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.download-button:hover {
  background: #16a34a;
}

.error-container {
  display: none;
  background: #fef2f2;
  border: 1.5px solid #ef4444;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  margin-top: 1.5rem;
  text-align: center;
}
.error-icon {
  font-size: 2.2rem;
  color: #ef4444;
  margin-bottom: 0.5rem;
}
.error-title {
  color: #991b1b;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.error-message {
  color: #991b1b;
  font-size: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .tool-container, .main-tool-bordered.word-to-pdf-tool {
    padding: 1rem 0.5rem;
  }
  .file-details {
    flex-direction: column;
    gap: 0.5rem;
  }
  .result-container, .error-container {
    padding: 1rem 0.5rem;
  }
} 