/* Text to PDF Tool Styles */
.textarea-input {
  width: 100%;
  min-height: 180px;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1rem;
  resize: vertical;
}
.font-select {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}
.tool-button, .download-button {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  margin-right: 1rem;
  transition: background-color 0.3s ease;
}
.tool-button:hover, .download-button:hover {
  background: #c62828;
}
.result-container {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-top: 2rem;
  padding: 1.5rem;
}
.result-info {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #e8f5e8;
  border-radius: 8px;
  border-left: 4px solid #27ae60;
}
.result-name {
  font-weight: 600;
  color: #27ae60;
  margin-bottom: 0.5rem;
}
.result-size, .result-details {
  color: #666;
  font-size: 0.9rem;
}
.desktop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.desktop-header .logo {
  flex: 0 0 auto;
}

.desktop-search-bar {
  flex: 0 0 400px;
  max-width: 400px;
  min-width: 220px;
  width: 100%;
}

.desktop-header .top-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Remove the hidden state for download button */
#downloadBtn {
  display: inline-block;
  background: #27ae60;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

#downloadBtn:hover {
  background: #229954;
}

#downloadBtn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .textarea-input {
    min-height: 120px;
  }
}
@media (max-width: 768px) {
  .desktop-header {
    display: none !important;
  }
  .mobile-header {
    display: block !important;
  }
}
@media (min-width: 769px) {
  .mobile-header {
    display: none !important;
  }
  .desktop-header {
    display: block !important;
  }
} 