/* Base Page Styling */
body {
    margin: 0;
    font-family: "Times New Roman", Times, serif;
    background: #ffffff;
    color: #3b2f2f; /* dark brown text */
}

/* Main Container */
.app {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* Header */
h1 {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.subtitle {
    text-align: center;
    color: #5a4a4a;
    margin-bottom: 25px;
}

/* About Card */
.about-card {
    font-size: 15px;
    line-height: 1.6;
    color: #4a3b3b;
}

/* Card Styling */
.card {
    background: #f9f7f5;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 20px;
    border: 1px solid #e5e0db;
}

/* Section Headings */
h2 {
    margin-top: 0;
    font-weight: 600;
}

/* Description under section headings */
.section-desc {
    font-size: 13px;
    color: #7a6b6b;
    margin-top: -5px;
    margin-bottom: 12px;
}

/* Textarea Input */
textarea {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    border: 1px solid #d6d0c9;
    padding: 12px;
    font-size: 15px;
    font-family: "Times New Roman", Times, serif;
    resize: vertical;
    background: #ffffff;
    color: #3b2f2f;
}

/* Helper hint text */
.hint {
    font-size: 12px;
    color: #7a6b6b;
    margin-top: 6px;
}

/* Button Column Layout */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

/* Buttons */
button {
    background: #6d4c41;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
    font-family: "Times New Roman", Times, serif;
}

button:hover {
    background: #8b5e52;
}

/* Output Box */
#outputBox {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    min-height: 130px;
    border: 1px solid #d6d0c9;
    font-family: "Courier New", monospace;
    white-space: pre-wrap;
    color: #3b2f2f;
}

/* Grid Layout: Left (Input + Output) | Right (Tools) */
.main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
}

/* Left Column (Input + Output stacked) */
.left-column {
    display: flex;
    flex-direction: column;
}

/* Right Column (All tool cards stacked) */
.right-column {
    display: flex;
    flex-direction: column;
}

/* Footer */
footer {
    text-align: center;
    font-size: 12px;
    color: #7a6b6b;
    margin-top: 30px;
}
.author {
    text-align: center;
    color: #7a6b6b;
    margin-top: 8px;
    margin-bottom: 25px;
    font-size: 15px;
}
