.editor-utilitys-container {
  max-width: 1200px;
  margin: -20px auto 0 auto;
  background: #f8fafc;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(25, 118, 210, 0.07), 0 1.5px 6px rgba(25, 118, 210, 0.04);
  padding: 20px;
  border: 1.5px solid #e3f0fd;
  overflow: visible !important;
}

/* ====== Botões principais acima da toolbar ====== */

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 8px;
}
.editor-toolbar > button,
.editor-toolbar > .file-upload,
.editor-toolbar > .toolbar-btn {
  background: #1976d2;
  color: #fff !important;
  border: none;
  border-radius: 5px;
  padding: 6px 14px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(25, 118, 210, 0.08);
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0;
}

.editor-toolbar > button:hover,
.editor-toolbar > .file-upload:hover,
.editor-toolbar > .toolbar-btn:hover {
  background: #1565c0;
}

.editor-toolbar > .file-upload {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.editor-toolbar > .file-upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.tool-header h1 {
  color: #1976d2;
  font-weight: 700;
}

#editor {
  border: 1.5px solid #1976d2 !important;
  border-radius: 10px;
  background: #fff;
  min-height: 420px;
  margin-top: 10px;
  overflow: visible !important;
}

@media (max-width: 600px) {
  #editor {
    min-height: 260px;
  }
}
.tool-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.tool-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tool-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #03396c;
  margin-bottom: 1rem;
}

.tool-description {
  font-size: 1.1rem;
  color: #495057;
  max-width: 700px;
  margin: 0 auto;
}

.card {
  background: #f0f9ff;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.1);
}

.card h2 {
  color: #03396c;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.tool-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #03396c;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}
