body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: #000;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    color: #000;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left; /* Heading to the left */
    max-width: 800px; /* Matches tool width */
    margin-left: auto;
    margin-right: auto; /* Centers heading container */
}

.tool-wrapper {
    width: 100%;
    max-width: 800px; /* Limit width */
    margin: 0 auto; /* Center horizontally */
    text-align: center; /* Center content inside */
}

textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border-radius: 12px;
    background-color: #f5f5f5;
    border: 2px solid #000;
    color: #000;
    font-size: 1.1rem;
    box-sizing: border-box;
    margin-bottom: 10px;
    resize: none;
}

button {
    padding: 10px 25px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    display: inline-block;
}

button:hover {
    background-color: #333;
}

.output {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #000;
    font-size: 1rem;
    text-align: left;
    display: none;
}

.output div {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.output div strong {
    flex: 0 0 120px;
    color: #000;
}

.output div span {
    flex: 1;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    color: #000;
}

.output div span.none {
    color: #aaa;
    font-style: italic;
}