.text-case-converter-section {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    max-width: 480px;
    position: relative;
}
#caseForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#caseForm label {
    font-weight: 500;
}
#caseForm textarea, #caseForm select, #caseForm button {
    padding: 8px 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#caseForm textarea {
    resize: vertical;
}
#caseForm button {
    background: #1a237e;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
#caseForm button:hover {
    background: #3949ab;
}
.scroll-down-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
    animation: bounce 1.5s infinite;
}
.scroll-down-cue .arrow {
    font-size: 2.2em;
    color: #1a237e;
    margin-bottom: 2px;
}
.scroll-down-cue .cue-text {
    color: #1a237e;
    font-size: 1.05em;
    font-weight: 500;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}
.result-section {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    max-width: 480px;
    margin-top: 48px;
}
.result-section h2 {
    margin-bottom: 0.5em;
    color: #1a237e;
}
#outputText {
    width: 100%;
    min-height: 100px;
    font-size: 1em;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 8px;
    resize: vertical;
}
.result-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}
.result-actions button {
    background: #388e3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    padding: 8px 16px;
}
.result-actions button:hover {
    background: #2e7031;
}
section {
    margin-bottom: 32px;
}
section h2 {
    margin-bottom: 0.5em;
    color: #1a237e;
}
.faq dt {
    font-weight: bold;
    margin-top: 1em;
}
.faq dd {
    margin-left: 0;
    margin-bottom: 0.5em;
}
.footer {
    background: #f7f7f7;
    padding: 24px 0 12px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    font-size: 0.98em;
}
.footer-links, .footer-tools {
    margin-bottom: 8px;
}
.footer a {
    color: #1a237e;
    text-decoration: none;
    margin: 0 4px;
}
.footer a:hover {
    text-decoration: underline;
}
.footer-copy {
    color: #888;
    font-size: 0.95em;
}
.main-tool-outlined {
  border: 2px solid #e53935 !important; /* Red thin outline */
  box-shadow: 0 4px 24px 0 rgba(229,57,53,0.07);
  max-width: 900px;
  width: 100%;
  margin: 2.5rem auto 2.5rem auto;
  padding: 2.5rem 2rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .main-tool-outlined {
    max-width: 98vw;
    padding: 1.5rem 0.5rem;
  }
}
@media (max-width: 900px) {
    .text-case-converter-section, .result-section {
        max-width: 100%;
    }
}
@media (max-width: 700px) {
  .main-tool-outlined.text-case-converter-section,
  .result-section {
    max-width: calc(100vw - 2rem) !important;
    width: 100% !important;
    margin: 0 auto 1.5rem auto !important;
    box-sizing: border-box !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  #outputText {
    min-height: 220px !important;
    font-size: 1.08em;
  }
} 