#tensaku-tool {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#tensaku-input {
    width: 100%;
    min-height: 100px;
}
#tensaku-submit {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
#tensaku-result {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
}
.tensaku-mode {
    margin-bottom: 15px;
}
.tensaku-mode label {
    margin-right: 20px;
    font-weight: bold;
    cursor: pointer;
}
#tensaku-input {
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
}
#tensaku-submit {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
}
#tensaku-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}
#tensaku-result {
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 15px;
    background: #f9f9f9;
}
.tensaku-output h4 {
    margin: 10px 0 5px;
    color: #333;
}
.corrected-text, .explanation, .seo-suggestions {
    margin: 5px 0;
    line-height: 1.6;
}
.seo-suggestions {
    color: #2e7d32;
    font-style: italic;
}
.error {
    color: #d32f2f;
    font-weight: bold;
}
.loading {
    display: flex;
    align-items: center;
    color: #0073aa;
}
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #0073aa;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.copy-result {
    margin-top: 10px;
    padding: 8px 15px;
    background: #4caf50;
    color: #fff;
    border: none;
    cursor: pointer;
}
.copy-result:hover {
    background: #388e3c;
}