.tool-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 0 auto;
}

.input-section textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    resize: vertical;
    margin-bottom: 20px;
    font-family: inherit;
}

.input-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.options-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.option-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.option-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
}

.result-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.result-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.result-box {
    min-height: 100px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    white-space: pre-wrap;
    word-break: break-all;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.9rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-small:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

@media (max-width: 600px) {
    .options-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .option-group {
        justify-content: space-between;
    }
}
