/* Text Encryptor Tool Styles */
.tool-container { max-width: 600px; margin: 0 auto; }
#textInput, #resultText, #decryptedText {
  width: 100%;
  min-height: 220px;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #f9f9f9;
  resize: vertical;
  box-sizing: border-box;
}
.encryption-options { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
.encryption-options label { font-weight: 500; }
.encryption-options select, .encryption-options input[type="password"] { padding: 0.5rem; border-radius: 6px; border: 1px solid #e2e8f0; font-size: 1rem; }
.result-container { background: #f8fafc; border-radius: 10px; padding: 1.5rem; margin-top: 1rem; text-align: left; }
#resultText { background: #f1f5f9; resize: vertical; }
#copyBtn { margin-top: 0.75rem; width: 100%; }
#encryptBtn { width: 100%; margin-bottom: 1.5rem; }
#decryptedSection {
  margin-top: 2.5rem;
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(229,57,53,0.04);
}
#decryptedSection h2 {
  margin-bottom: 0.5em;
  color: #1a237e;
}
.tool-main-visible {
  margin-left: 340px;
  margin-bottom: 220px;
  margin-top: 2rem;
  min-width: 0;
}
@media (max-width: 1024px) {
  .tool-main-visible {
    margin-left: 0;
    margin-bottom: 220px;
    padding: 1rem 0.5rem 2rem 0.5rem;
  }
}
@media (max-width: 700px) {
  .tool-main-visible {
    margin-bottom: 220px;
    padding: 0.5rem 0.25rem 2rem 0.25rem;
  }
}
.tool-ui {
  max-width: 900px;
  width: 100%;
  margin: 2.5rem auto 2.5rem auto;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px 0 rgba(229,57,53,0.07);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .tool-ui {
    max-width: 98vw;
    padding: 1.5rem 0.5rem;
  }
}
@media (max-width: 600px) { .tool-container { padding: 0 0.5rem; } .encryption-options { flex-direction: column; align-items: stretch; gap: 0.5rem; } } 
.sidebar {
  height: calc(100vh - 120px - 220px) !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
} 